24#ifndef _GEMA_PLUGIN_THERMOMECHANICAL_H_
25#define _GEMA_PLUGIN_THERMOMECHANICAL_H_
29#include <gmpFemPhysicsCoupled.h>
40 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
58 virtual FemResultType
fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
64 virtual bool beforeElementStiffnessLoop(
const GmpFemMatrixSet& elemMatrices,
const GmpFemVectorSet& elemVectors);
67 virtual bool addStateItemsToGroup(
GmStateDump* state,
bool fixedHint,
int groupId);
Basic class for the coupled hydro-mechanical physics plugin object.
Definition gmpFullyCoupledTMFemPhysics.h:37
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpFullyCoupledTMFemPhysics.h:103
Thermo mechanical 2D & 3D : Quad, Tri, Hex and Tet.
Definition gmpThermoMechanical.h:36
GaussAttributeIds
IDs for physics Gauss attributes.
Definition gmpThermoMechanical.h:47
@ TOLD_GA_ID
Id for retrieving the stress accessor at the previous temperature (old temperature)
Definition gmpThermoMechanical.h:49
@ T_GA_ID
Base Id for Gauss attribute(s) used to store the calculated temperature at the current state.
Definition gmpThermoMechanical.h:48
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpThermoMechanical.h:53
virtual bool calcDerivedResults(bool nonLinearSolver)
Calc velocity and flow on nodes and/or Gauss points.
Definition gmpThermoMechanical.cpp:775
virtual bool setInitialConditions()
Sets the initial conditionrequired by interface elements.
Definition gmpThermoMechanical.cpp:795
bool _setInitialCond
Sets the initial conditions required by the physics.
Definition gmpThermoMechanical.h:73
virtual FemResultType fillElementData(const GmElement *e, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
Fills the element matrices and vectors for a generic element. Applying the Galerking method (Zienkiew...
Definition gmpThermoMechanical.cpp:324
virtual const QVariantMap * physicsMetaDataMap()
Returns a reference for the Hydraulics dual flow attribute map, built when the function is called for...
Definition gmpThermoMechanical.cpp:104
bool _hasElementGeneration
Should we enable heat sources on elements (does not affect point generation sources)?
Definition gmpThermoMechanical.h:90
virtual void FillDofIndexPosition(const GmElement *e, QVector< int > &iUe, QVector< int > &iTe)
Fills the position index with the degreee of freedom, both the mechanical and thermal physics....
Definition gmpThermoMechanical.cpp:212
virtual ~GmpThermoMechanical()
Destructor.
Definition gmpThermoMechanical.cpp:97
virtual bool checkAndLoadAttributeAccessors(LuaTable &nodeTable, LuaTable &cellTable, LuaTable &gaussTable)
Reimplementation of the common function to init the _mechanicPoint structure.
Definition gmpThermoMechanical.cpp:290
Declaration of the GmpFullyCoupledTMFemPhysics class.