24#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_EQUIVALENTCONTINUUM_H_
25#define _GEMA_PLUGIN_MECHANICALMATERIAL_EQUIVALENTCONTINUUM_H_
28#include "gmpFemPhysics.h"
110 vectorPropertyValue(e, knAc, Kn, coord, ip);
121 vectorPropertyValue(e, ksAc, Ks, coord, ip);
132 vectorPropertyValue(e, sfAc, Sf, coord, ip);
143 vectorPropertyValue(e, dipAc, Dip, coord, ip);
153 if (!vectorPropertyValue(e, strikeAc, Strike, coord, ip)) {
155 return Strike.fill(0);
167 vectorPropertyValue(e, apertureAc, Aperture, coord, ip);
179 if (propertyAc(Closure_ID) == NULL)
184 int closureType = propertyAc(Closure_ID)->scalarValueAt(e, coord, ip);
186 if (closureType == 1)
190 else if (closureType == 2)
207 virtual void factureFlexibility(
GmMatrix& Cf,
double Kn,
double Ks,
double Sf,
int ns)
const;
Definition gmpMechanicPoint.h:33
Definition gmpMaterialElastic.h:35
virtual bool mechanicalConstitutiveModel(const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, unsigned nc, bool ips) const
Evaluates stress and tangent matrix according to the material behavior adopted.
Definition gmpMaterialElastic.cpp:83
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition gmpMaterialElastic.cpp:40
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialElastic.h:46
Definition gmpMaterialEquivalentContinuum.h:36
virtual GmVector shearElasticStiffnessFracture(const GmElement *e, const GmVector *coord, int ip) const
Returns the shear elastic stiffness.
Definition gmpMaterialEquivalentContinuum.h:115
virtual GmVector fractureSpacing(const GmElement *e, const GmVector *coord, int ip) const
Returns the fracture spacing.
Definition gmpMaterialEquivalentContinuum.h:126
virtual GmVector fractureAperture(const GmElement *e, const GmVector *coord, int ip) const
Returns the fracture aperture.
Definition gmpMaterialEquivalentContinuum.h:161
FracRockElementPropertyIds
IDs for material element properties.
Definition gmpMaterialEquivalentContinuum.h:40
@ STRIKE_ID
Id for retrieving the angle of strike accessor.
Definition gmpMaterialEquivalentContinuum.h:45
@ Bfr_ID
Id for retrieving the frature aperture accessor.
Definition gmpMaterialEquivalentContinuum.h:46
@ Ksf_ID
Id for retrieving the shear elastic stiffness accessor.
Definition gmpMaterialEquivalentContinuum.h:42
@ Closure_ID
Id for retrieving the closure model.
Definition gmpMaterialEquivalentContinuum.h:47
@ DIP_ID
Id for retrieving the angle of dip accessor.
Definition gmpMaterialEquivalentContinuum.h:44
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialEquivalentContinuum.h:50
@ Sfr_ID
Id for retrieving the fracture spacing accessor.
Definition gmpMaterialEquivalentContinuum.h:43
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 gmpMaterialEquivalentContinuum.h:75
virtual GmVector fracturedDip(const GmElement *e, const GmVector *coord, int ip) const
Returns the angle of dip.
Definition gmpMaterialEquivalentContinuum.h:137
virtual GmVector fractureStrike(const GmElement *e, const GmVector *coord, int ip) const
Returns the angle of strike.
Definition gmpMaterialEquivalentContinuum.h:148
virtual ~GmpMechanicalMaterialEquivalentContinuum()
Virtual destructor.
Definition gmpMaterialEquivalentContinuum.h:72
GmpMechanicalMaterialEquivalentContinuum(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialEquivalentContinuum.h:68
closureModel
Fracture closure models.
Definition gmpMaterialEquivalentContinuum.h:55
@ hardStiffness
Fracture closure considering Hard Stiffness.
Definition gmpMaterialEquivalentContinuum.h:57
@ bartonBandis
Fracture closure considering Barton-Bandis model.
Definition gmpMaterialEquivalentContinuum.h:58
@ normal
Normal closure without contact.
Definition gmpMaterialEquivalentContinuum.h:56
@ NUM_CLOSURE_IDS
The number of fracture closure models.
Definition gmpMaterialEquivalentContinuum.h:62
virtual GmVector normalElasticStiffnessFracture(const GmElement *e, const GmVector *coord, int ip) const
Returns the normal elastic stiffness.
Definition gmpMaterialEquivalentContinuum.h:104
virtual closureModel fractureClosureModel(const GmElement *e, const GmVector *coord, int ip) const
Returns the type of fracture closure model.
Definition gmpMaterialEquivalentContinuum.h:173
fracturedRockGaussAttrIds
IDs for Gauss attributes of fractured rock material.
Definition gmpMaterialEquivalentContinuum.h:83
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialEquivalentContinuum.h:88
@ VMFR_GA_ID
Base Id for Gauss attribute(s) used to store the maximum fracture apertures.
Definition gmpMaterialEquivalentContinuum.h:84
@ BFR_GA_ID
Base Id for Gauss attribute(s) used to store the fracture apertures.
Definition gmpMaterialEquivalentContinuum.h:85
virtual bool setInitialConditions(const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
Sets the initial conditions required by Solid materials.
Definition gmpMechanicalMaterial.h:69
virtual bool calcDerivedResults(const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const
Calculates the derived results required by materials.
Definition gmpMechanicalMaterial.h:87
Declaration of the GmpMechanicalMaterialElastic class.
Declaration of the GmpMechanicPoint class.
Declaration of useful configuration definitions for the plugin library.
Declaration of the GmpMechanicalMaterial class.