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)
154 int closureType = propertyAc(Closure_ID)->scalarValueAt(e, coord, ip);
156 if (closureType == 1)
160 else if (closureType == 2)
Definition gmpMaterialElasticInterface.h:35
InterfaceElementPropertyIds
IDs for elastic interface material properties.
Definition gmpMaterialElasticInterface.h:39
@ Ksi_ID
Id for retrieving the shear elastic stiffness accessor.
Definition gmpMaterialElasticInterface.h:41
@ GAP_ID
Id for retrieving the initial fracture aperture.
Definition gmpMaterialElasticInterface.h:43
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialElasticInterface.h:47
@ Kni_ID
Id for retrieving the normal elastic stiffness accessor.
Definition gmpMaterialElasticInterface.h:40
@ Closure_ID
Id for retrieving the closure model.
Definition gmpMaterialElasticInterface.h:44
@ Kti_ID
Id for retrieving the shear elastic stiffness accessor at 2nd-direction (3D)
Definition gmpMaterialElasticInterface.h:42
virtual double fractureOpening(const GmElement *e, const GmVector *coord, int ip) const
Returns the initial fracture opening.
Definition gmpMaterialElasticInterface.h:130
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
GmpElasticInterface(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialElasticInterface.h:64
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
virtual ~GmpElasticInterface()
Virtual destructor.
Definition gmpMaterialElasticInterface.h:68
elasticInterfaceGaussAttrIds
IDs for Gauss attributes of elastic interface material.
Definition gmpMaterialElasticInterface.h:82
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialElasticInterface.h:86
@ VM_GA_ID
Base Id for Gauss attribute(s) used to store the maximum.
Definition gmpMaterialElasticInterface.h:83
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
closureModel
Fracture closure models.
Definition gmpMaterialElasticInterface.h:52
@ hardStiffness
Fracture closure considering Hard Stiffness.
Definition gmpMaterialElasticInterface.h:54
@ NUM_CLOSURE_IDS
The number of fracture closure models.
Definition gmpMaterialElasticInterface.h:59
@ bartonBandis
Fracture closure considering Barton-Bandis model.
Definition gmpMaterialElasticInterface.h:55
@ normal
Normal closure without contact.
Definition gmpMaterialElasticInterface.h:53
virtual closureModel fractureClosureModel(const GmElement *e, const GmVector *coord, int ip) const
Returns the type of fracture closure model.
Definition gmpMaterialElasticInterface.h:143
Definition gmpInterfaceMaterial.h:35
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:111
Definition gmpMechanicPoint.h:33
Declaration of the GmpInterfaceMaterial classes.
Declaration of the GmpMechanicPoint class.