CoupledTMFemPhysics
The GeMA Coupled Thermo-Mechanical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpFullyCoupledTMFemPhysics Class Reference

Basic class for the coupled hydro-mechanical physics plugin object. More...

#include <gmpFullyCoupledTMFemPhysics.h>

Inheritance diagram for GmpFullyCoupledTMFemPhysics:
Collaboration diagram for GmpFullyCoupledTMFemPhysics:

Public Member Functions

 GmpFullyCoupledTMFemPhysics (const char *pluginType, GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~GmpFullyCoupledTMFemPhysics ()
 Destructor.
 
virtual const char * pluginName () const
 
virtual const char * pluginType () const
 
virtual bool supportsStateDumping ()
 
virtual const QVariantMap * physicsMetaDataMap ()
 Returns a reference for the single hydro-mechanical physics attribute map, built when the function is called for the first time.
 
virtual bool fixedNodalForcesBc (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values) const
 
virtual bool fixedNodalDofsBc (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values, bool *constantValues) const
 
virtual FemResultType fillElementDataForBc (const GmElement *e, const GmBoundaryCondition *bc, int bcIndex, int bcListIndex, int border, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
 

Protected Types

enum  PhysicsAttributeIds { ISOPARAMETRIC_ID , REFERENCE_T_ID , STRAIN_T_ID , NUM_ATTRI_IDS }
 IDs for physics attributes. More...
 
enum  StateVarIds { U_ID , T_ID , NUM_STATEVAR_IDS }
 IDs for Mechanical and Hydro physics state vars. More...
 
enum  NodeAttributeIds { TREF_NA_ID , NUM_NA_IDS }
 IDs for thermo-mechanical node attributes. More...
 
enum  GaussAttributeIds { ET_GA_ID , NUM_GA_IDS }
 IDs for physics Gauss attributes. More...
 
enum  ElementPropertyIds { ALPHA_ID }
 IDs for physics element properties. More...
 

Protected Member Functions

virtual bool checkAndLoadPrivateData (LuaTable &table)
 Overloads default checkAndLoadPrivateData() to be able to setup materials.
 

Protected Attributes

const char * _pluginType
 The plugin type name.
 
GmpMechanicalPhysics * _mechPhys
 The mechanical physics providing parameters and matrices to the coupling equation.
 
GmpThermoFemPhysics * _thermoPhys
 The thermo physics providing parameters and matrices to the coupling equation.
 

Detailed Description

Basic class for the coupled hydro-mechanical physics plugin object.

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for physics element properties.

Enumerator
ALPHA_ID 

Id for retrieving the expansion factor accessor.

◆ GaussAttributeIds

IDs for physics Gauss attributes.

Enumerator
ET_GA_ID 

Base Id for Gauss attribute(s) used to store the thermal strain at the current state.

NUM_GA_IDS 

The number of Gauss attribute ids above.

◆ NodeAttributeIds

IDs for thermo-mechanical node attributes.

Enumerator
TREF_NA_ID 

Base Id for node attribute(s) used to store the reference temperature.

NUM_NA_IDS 

The number of node attribute ids above.

◆ PhysicsAttributeIds

IDs for physics attributes.

Enumerator
ISOPARAMETRIC_ID 

Id for retrieving the isoParametric physics attribute.

REFERENCE_T_ID 

Id for retrieving the referenceT physics attribute.

STRAIN_T_ID 

Id for retrieving the Thermal strain attribute.

NUM_ATTRI_IDS 

The number of physics attribute ids above.

◆ StateVarIds

IDs for Mechanical and Hydro physics state vars.

Enumerator
U_ID 

Id for retrieving the accessor to the displacement state var.

T_ID 

Id for retrieving the accessor to the temperature state var.

NUM_STATEVAR_IDS 

The number of state var ids above.

Member Function Documentation

◆ physicsMetaDataMap()

const QVariantMap * GmpFullyCoupledTMFemPhysics::physicsMetaDataMap ( )
virtual

Returns a reference for the single hydro-mechanical physics attribute map, built when the function is called for the first time.

Reimplemented in GmpThermoMechanical.


The documentation for this class was generated from the following files: