24#ifndef _GEMA_PLUGIN_THERMOHYDRAULIC_H_
25#define _GEMA_PLUGIN_THERMOHYDRAULIC_H_
29#include <gmpFemPhysicsCoupled.h>
40 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
57 virtual FemResultType fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
59 virtual bool calcDerivedResults(
bool nonLinearSolver);
63 virtual bool beforeElementStiffnessLoop(
const GmpFemMatrixSet& elemMatrices,
const GmpFemVectorSet& elemVectors);
78 virtual void fillThermalHydraulicCouplingMatrix(
const GmElement* e,
const GmVector* coord,
int ip,
GmMatrix& Ze,
const GmVector& Np,
double a,
double af,
double c)
const;
91 virtual bool setInitialConditions();
Basic class for the coupled thermo-hydraulic physics plugin object.
Definition gmpCoupledTHFemPhysics.h:37
virtual const QVariantMap * physicsMetaDataMap()
Returns a reference for the single thermo-hydraulic physics attribute map, built when the function is...
Definition gmpCoupledTHFemPhysics.cpp:78
Thermo mechanical 2D & 3D : Quad, Tri, Hex and Tet.
Definition gmpCoupledThermoHydraulic.h:36
bool _setInitialCond
Sets the initial conditions required by the physics.
Definition gmpCoupledThermoHydraulic.h:69
GaussAttributeIds
IDs for physics Gauss attributes.
Definition gmpCoupledThermoHydraulic.h:47
@ TOLD_GA_ID
Id for retrieving the stress accessor at the previous temperature (old temperature)
Definition gmpCoupledThermoHydraulic.h:49
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpCoupledThermoHydraulic.h:52
bool _hasElementGeneration
Should we enable heat sources on elements (does not affect point generation sources)?
Definition gmpCoupledThermoHydraulic.h:94
Declaration of the GmpCoupledTHFemPhysics class.