24 #ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_ELASTICINTERFACE_H_ 25 #define _GEMA_PLUGIN_MECHANICALMATERIAL_ELASTICINTERFACE_H_ 30 #include <gmpFemPhysics.h> 78 virtual const QVariantMap* materialMetaDataMap();
94 virtual bool fillElasticStiffnessMatrix(
const GmElement* e,
GmMatrix& Dep,
const GmVector* coord,
int ip,
double penalty = 1.0)
const;
114 return propertyAc(Kni_ID)->scalarValueAt(e, coord, ip);
120 return propertyAc(Ksi_ID)->scalarValueAt(e, coord, ip);
126 return propertyAc(Kti_ID)->scalarValueAt(e, coord, ip);
134 if (propertyAc(GAP_ID) == NULL)
139 return propertyAc(GAP_ID)->scalarValueAt(e, coord, ip);
149 if (propertyAc(Closure_ID) == NULL)
151 return GmpElasticInterface::closureModel::normal;
154 int closureType = propertyAc(Closure_ID)->scalarValueAt(e, coord, ip);
156 if (closureType == 1)
158 type = GmpElasticInterface::closureModel::hardStiffness;
160 else if (closureType == 2)
162 type = GmpElasticInterface::closureModel::bartonBandis;
166 type = GmpElasticInterface::closureModel::normal;
Id for retrieving the shear elastic stiffness accessor.
Definition: gmpMaterialElasticInterface.h:41
The number of property ids above.
Definition: gmpMaterialElasticInterface.h:47
The number of gauss attributes.
Definition: gmpMaterialElasticInterface.h:86
virtual double shearElasticStiffness(const GmElement *e, const GmVector *coord, int ip) const
Returns the shear elastic stiffness of the interface element.
Definition: gmpMaterialElasticInterface.h:118
virtual double shearElasticStiffnessTwo(const GmElement *e, const GmVector *coord, int ip) const
Returns the shear elastic stiffness 2 of the interface element (required in 3D)
Definition: gmpMaterialElasticInterface.h:124
elasticInterfaceGaussAttrIds
IDs for Gauss attributes of elastic interface material.
Definition: gmpMaterialElasticInterface.h:81
Declaration of the GmpInterfaceMaterial classes.
virtual double fractureOpening(const GmElement *e, const GmVector *coord, int ip) const
Returns the initial fracture opening.
Definition: gmpMaterialElasticInterface.h:130
Fracture closure considering Hard Stiffness.
Definition: gmpMaterialElasticInterface.h:54
Definition: gmpMechanicPoint.h:32
Definition: gmpMaterialElasticInterface.h:34
Id for retrieving the normal elastic stiffness accessor.
Definition: gmpMaterialElasticInterface.h:40
The number of fracture closure models.
Definition: gmpMaterialElasticInterface.h:59
virtual double normalElasticStiffness(const GmElement *e, const GmVector *coord, int ip) const
Returns the normal elastic stiffness of the interface element.
Definition: gmpMaterialElasticInterface.h:112
Base Id for Gauss attribute(s) used to store the maximum.
Definition: gmpMaterialElasticInterface.h:83
Declaration of the GmpMechanicPoint class.
Definition: gmpInterfaceMaterial.h:34
virtual bool setInitialConditions(const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned nc) const
Set the initial conditions required by the material.
Definition: gmpInterfaceMaterial.cpp:117
GmpElasticInterface(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition: gmpMaterialElasticInterface.h:64
static GmpFemPhysicsCommonMaterial * instance(GmSimulationData *simulation, int typeIndex, QString typeName, const GmLogCategory &logger)
A "factory" function used to register the material with the physics material factory.
Definition: gmpMaterialElasticInterface.h:71
Id for retrieving the initial fracture aperture.
Definition: gmpMaterialElasticInterface.h:43
Normal closure without contact.
Definition: gmpMaterialElasticInterface.h:53
Id for retrieving the shear elastic stiffness accessor at 2nd-direction (3D)
Definition: gmpMaterialElasticInterface.h:42
InterfaceElementPropertyIds
IDs for elastic interface material properties.
Definition: gmpMaterialElasticInterface.h:38
Fracture closure considering Barton-Bandis model.
Definition: gmpMaterialElasticInterface.h:55
virtual ~GmpElasticInterface()
Virtual destructor.
Definition: gmpMaterialElasticInterface.h:68
Id for retrieving the closure model.
Definition: gmpMaterialElasticInterface.h:44
virtual closureModel fractureClosureModel(const GmElement *e, const GmVector *coord, int ip) const
Returns the type of fracture closure model.
Definition: gmpMaterialElasticInterface.h:143
closureModel
Fracture closure models.
Definition: gmpMaterialElasticInterface.h:51