24 #ifndef _GEMA_PLUGIN_MECHANICAL_PHYSICS_H_ 25 #define _GEMA_PLUGIN_MECHANICAL_PHYSICS_H_ 28 #include <gmpFemPhysicsCommon.h> 43 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
48 virtual const char* pluginName()
const {
return "MechanicalFemPhysics"; }
51 virtual const char* pluginType()
const {
return _pluginType; }
53 virtual const QVariantMap* physicsMetaDataMap();
56 virtual bool supportsStateDumping() {
return true; }
62 virtual unsigned stress_state(
void);
64 virtual FemResultType fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors) = 0;
68 int border, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
69 virtual FemResultType fillElementDataForLoads(
const GmElement* e,
int loadId, GmpFemVectorSet& elemVectors);
79 GmMatrixDof& dofMap, GmpFemMatrixSet& matrixSet, GmpFemVectorSet& vecSet);
81 virtual bool calcDerivedResults(
bool nonLinearSolver);
83 virtual bool calcMaterialDerivedResults()
const;
248 virtual void fillMiddleCoordinates(
const GmElement* e,
GmMatrix Xnode,
GmMatrix& MX)
const { Q_UNUSED(e); Q_UNUSED(MX); }
Id for fixed concentrated node force boundary condition.
Definition: gmpMechanicalPhysics.h:178
The number of physics attribute ids above.
Definition: gmpMechanicalPhysics.h:101
Id for retrieving the plastic strain physics attribute.
Definition: gmpMechanicalPhysics.h:90
Friction coefficient of contact boundary surface.
Definition: gmpMechanicalPhysics.h:219
The number of property ids above.
Definition: gmpMechanicalPhysics.h:171
Id for retreiving the body force enabled attribute.
Definition: gmpMechanicalPhysics.h:91
PhysicsAttributeIds
IDs for physics attributes.
Definition: gmpMechanicalPhysics.h:85
GmMatrix & dep()
Returns a reference to the physics constitutive tangent matrix.
Definition: gmpMechanicalPhysics.h:266
Base Id for node attribute used to store the calculated Reaction Force.
Definition: gmpMechanicalPhysics.h:128
Id for retrieving the strain reset attribute.
Definition: gmpMechanicalPhysics.h:97
edge or
Definition: gmpMechanicalPhysics.h:196
Id for retrieving the strain reset attribute.
Definition: gmpMechanicalPhysics.h:98
Id for retrieving the dry density accessor.
Definition: gmpMechanicalPhysics.h:167
Id for retrieving the line search numbers of the return mapping at the previous state.
Definition: gmpMechanicalPhysics.h:155
NodeAttributeIds
IDs for physics node attributes.
Definition: gmpMechanicalPhysics.h:124
Id for fixed node displacement boundary condition.
Definition: gmpMechanicalPhysics.h:177
ElementPropertyIds
IDs for physics element properties.
Definition: gmpMechanicalPhysics.h:162
Base Id for node attribute used to store the calculated contact internal variables.
Definition: gmpMechanicalPhysics.h:131
The number of boundary conditions ids above.
Definition: gmpMechanicalPhysics.h:211
GmpMechanicPoint * mechanicPoint()
Returns the physics mechanical material point.
Definition: gmpMechanicalPhysics.h:263
Specific weight of fluid.
Definition: gmpMechanicalPhysics.h:198
Nodal displacement for fixed node displacement boundary condition.
Definition: gmpMechanicalPhysics.h:192
The number of boundary conditions ids above.
Definition: gmpMechanicalPhysics.h:184
Base Id for Gauss attribute(s) used to store the calculated strain at the current state.
Definition: gmpMechanicalPhysics.h:144
Nivel of reference level of water.
Definition: gmpMechanicalPhysics.h:197
Normal elastic stiffness of contact boundary.
Definition: gmpMechanicalPhysics.h:217
Base Id for node attribute used to store the calculated contact Displacement.
Definition: gmpMechanicalPhysics.h:130
Id for retrieving the return mapping info physics attribute.
Definition: gmpMechanicalPhysics.h:95
GmMatrix _Dep
Constitutive tangent matrix (2 x 2)
Definition: gmpMechanicalPhysics.h:274
Id for retrieving the stress physics attribute.
Definition: gmpMechanicalPhysics.h:88
The number of boundary conditions value ids above.
Definition: gmpMechanicalPhysics.h:222
ContactBCIds
IDs for accepted contact boundary conditions.
Definition: gmpMechanicalPhysics.h:205
Base Id for Gauss attribute(s) used to store the calculated stress at the current state.
Definition: gmpMechanicalPhysics.h:141
Id for retrieving the substep numbers of the return mapping at the previous state.
Definition: gmpMechanicalPhysics.h:153
GmpMechanicalContact _mecContact
Object with general contact methods.
Definition: gmpMechanicalPhysics.h:272
Id for retrieving the bulk density accessor.
Definition: gmpMechanicalPhysics.h:168
Definition: gmpMechanicPoint.h:32
Shear elastic stiffness of contact boundary.
Definition: gmpMechanicalPhysics.h:218
Id for retrieving the geometric attribute.
Definition: gmpMechanicalPhysics.h:93
BoundaryConditionIds
IDs for accepted boundary condition types.
Definition: gmpMechanicalPhysics.h:175
Id for retrieving the iteration numbers of the return mapping.
Definition: gmpMechanicalPhysics.h:150
Id for retrieving the line search numbers of the return mapping.
Definition: gmpMechanicalPhysics.h:154
Id for retrieving the material point state accessor at the previous state.
Definition: gmpMechanicalPhysics.h:149
ExternalLoadsIds
IDs for Mechanical physics state vars.
Definition: gmpMechanicalPhysics.h:114
Id for retrieving the contact internal variale accessor at the previous state (old contact displaceme...
Definition: gmpMechanicalPhysics.h:132
Id for hydraulic pressure load boundary condition.
Definition: gmpMechanicalPhysics.h:180
Id for pressure load boundary condition.
Definition: gmpMechanicalPhysics.h:179
BoundaryConditionValueIds
IDs for property values from accepted boundary condition types.
Definition: gmpMechanicalPhysics.h:188
Id for water pressure on the seabed or water sheet pressure boundary condition.
Definition: gmpMechanicalPhysics.h:181
ContactBCValueIds
IDs for property values from accepted Contact boundary condition (CBC)
Definition: gmpMechanicalPhysics.h:215
Nodal displacement for fixed node displacement boundary condition.
Definition: gmpMechanicalPhysics.h:191
The number of state var ids above.
Definition: gmpMechanicalPhysics.h:120
The number of boundary conditions value ids above.
Definition: gmpMechanicalPhysics.h:201
Id for retrieving the accessor to the temperature state var.
Definition: gmpMechanicalPhysics.h:117
Id for retrieving the material point state accessor at the current state.
Definition: gmpMechanicalPhysics.h:148
bool _setInitialCond
Sets the initial conditions required by the physics.
Definition: gmpMechanicalPhysics.h:275
Id for retrieving the plane width accessor.
Definition: gmpMechanicalPhysics.h:164
Declaration of the GmpMechanicPoint class.
Id for retrieving the stress accessor at the previous state (old stress)
Definition: gmpMechanicalPhysics.h:142
const char * _pluginType
The plugin type name.
Definition: gmpMechanicalPhysics.h:278
GaussAttributeIds
IDs for physics Gauss attributes.
Definition: gmpMechanicalPhysics.h:139
Declaration of usefull configuration definitions for the plugin library.
Id for retrieving the gravity attribute.
Definition: gmpMechanicalPhysics.h:92
StateVarIds
IDs for Mechanical physics state vars.
Definition: gmpMechanicalPhysics.h:105
Base Id for node attribute used to store the calculated contact Force.
Definition: gmpMechanicalPhysics.h:129
Id for retrieving the yield strength ratio at the previous state.
Definition: gmpMechanicalPhysics.h:147
Id for retrieving the yield strength ratio at the current state.
Definition: gmpMechanicalPhysics.h:146
Id for retrieving the stress accessor at the residual state.
Definition: gmpMechanicalPhysics.h:143
Id for retrieving the accessor to the displacement state var.
Definition: gmpMechanicalPhysics.h:107
Id for retrieving the gravity accessor.
Definition: gmpMechanicalPhysics.h:166
virtual double axisymmetricFactor(const GmElement *e, const GmMatrix &X, const GmVector &N)
Returns the factor that should be applied when using axis symetric elements. 1.0 for other etypes.
Definition: gmpMechanicalPhysics.h:254
Reference of hydraulic load boundary condition.
Definition: gmpMechanicalPhysics.h:195
The number of Gauss attribute ids above.
Definition: gmpMechanicalPhysics.h:158
Id for retrieving the reactionForceMode physics attribute.
Definition: gmpMechanicalPhysics.h:94
virtual bool isPlaneStress()
Returns the factor that should be applied when using axis symetric elements. 1.0 for other etypes.
Definition: gmpMechanicalPhysics.h:257
The number of state var ids above.
Definition: gmpMechanicalPhysics.h:110
GmpMechanicPoint * _mechanicPoint
Access to mechanical material point.
Definition: gmpMechanicalPhysics.h:273
Nodal force for fixed node force boundary condition.
Definition: gmpMechanicalPhysics.h:193
Base Id for node attribute(s) used to store the calculated stress.
Definition: gmpMechanicalPhysics.h:126
Id for retrieving the accessor to the pressure state var.
Definition: gmpMechanicalPhysics.h:116
Id for retrieving the K0 mode attribute.
Definition: gmpMechanicalPhysics.h:96
Id for retrieving the strain accessor at the previous state (old strain)
Definition: gmpMechanicalPhysics.h:145
virtual bool isAxisymmetric()
Returns TRUE only for axisymmetric models.
Definition: gmpMechanicalPhysics.h:260
Id for global contact boundary.
Definition: gmpMechanicalPhysics.h:208
edge or face pressure load boundary condition
Definition: gmpMechanicalPhysics.h:194
Base Id for node attribute(s) used to store the calculated strain.
Definition: gmpMechanicalPhysics.h:127
Id for retrieving the strain physics attribute.
Definition: gmpMechanicalPhysics.h:89
Id for retrieving the substep numbers of the return mapping.
Definition: gmpMechanicalPhysics.h:152
The number of node attribute ids above.
Definition: gmpMechanicalPhysics.h:135
Basic class for the mechanical physics plugin object.
Definition: gmpMechanicalPhysics.h:37
Id for retrieving the isoParametric physics attribute.
Definition: gmpMechanicalPhysics.h:87
Id for retrieving the iteration numbers of the return mapping at the previous state.
Definition: gmpMechanicalPhysics.h:151
Id for retrieving the self weight for body force.
Definition: gmpMechanicalPhysics.h:165
Nodal displacement for fixed node displacement boundary condition.
Definition: gmpMechanicalPhysics.h:190
Id for local contact boundary.
Definition: gmpMechanicalPhysics.h:207