ChemicalFemPhysics
The GeMA Standard Chemical FEM Physics Plugin
Loading...
Searching...
No Matches
GmpChemicalFixedEmbeddedFracture Class Reference

Basic class for the hydraulic physics plugin object. More...

#include <gmpChemicalEmbeddedFracture.h>

Inheritance diagram for GmpChemicalFixedEmbeddedFracture:
Collaboration diagram for GmpChemicalFixedEmbeddedFracture:

Public Types

enum  EmbeddedPhysicsAttributeIds { FRACPROPSET_ID = GmpFixedReaction::NUM_ATTRIBUTE_IDS , NUM_ATTRIBUTE_IDS }
 IDs for physics attributes. More...
 
enum  EmbeddedElemPropertyIds { Uf_ID = GmpFixedReaction::NUM_PROPERTY_IDS , NUM_PROPERTY_IDS }
 

Public Member Functions

 GmpChemicalFixedEmbeddedFracture (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~GmpChemicalFixedEmbeddedFracture ()
 Destructor.
 
virtual const char * pluginType () const
 
virtual const QVariantMap * physicsMetaDataMap ()
 Returns a reference for the single Hydraulics attribute map, built when the function is called for the first time.
 
virtual FemResultType fillElementData (const GmElement *e, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
 Fills the element matrices and vectors for a generic element.
 
virtual bool fillFractureElementData (const GmElement *e, GmMatrix &K, GmVector &Fi, bool needsK, bool needsFi)
 
virtual bool fillFractureFlowMatrix (const GmElement *e, GmMatrix &K, const GmMatrix &fracCoord, double An, double uf) const
 
virtual bool fillFractureCoordinates (GmMatrix &fracCoord, const GmVector &fracData) const
 
virtual bool assemblyFractureFlowMatrix (GmMatrix &Kf, const GmMatrix &Ke, const GmVector &iPe) const
 
- Public Member Functions inherited from GmpFixedReaction
 GmpFixedReaction (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 Basic constructor. Will be called by the physics factory.
 
virtual ~GmpFixedReaction ()
 Destructor.
 
virtual bool checkLoadedData ()
 Checks that the dimension of the reactionRate property is correct.
 
- Public Member Functions inherited from GmpChemicalFemPhysics
 GmpChemicalFemPhysics (GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
 Constructor. Will be called by the plugin loading code.
 
virtual ~GmpChemicalFemPhysics ()
 Destructor.
 
virtual const char * pluginName () const
 
virtual FemResultType fillElementDataForBc (const GmElement *e, const GmBoundaryCondition *bc, int bcIndex, int bcListIndex, int border, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
 Fills the element force vector elemF for element 'e', taking into account fixed flux boundary conditions.
 
virtual bool fixedNodalDofsBc (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values, bool *constantValues) const
 See comments on base class. Fills vectors with prescribed node concentrations

 
virtual bool fillFixedNodalDofsBCAlkalinity (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values, bool *constantValues) const
 See comments on base class. Fills vectors with prescribed node concentrations.
 
virtual bool fillFixedNodalDofsBCbasalt (QVector< int > &nodes, QVector< int > &dof, QVector< double > &values, bool *constantValues) const
 
virtual bool calcDerivedResults (bool nonLinearSolver)
 Calc velocity and flow on nodes and/or Gauss points.
 

Protected Member Functions

virtual bool checkAndLoadPrivateData (LuaTable &table)
 
- Protected Member Functions inherited from GmpFixedReaction
virtual bool reactionRate (const GmElement *e, const GmVector *ip, int ipIndex, const GmVector &N, const GmVector &C, double wtJ, GmVector &elemFe, GmMatrix &elemK, bool needsFe, bool needsK)
 Reaction rate term based on a fixed element property. See the parameters description on the base class.
 
- Protected Member Functions inherited from GmpChemicalFemPhysics

Private Attributes

const char * _pluginType
 The plugin type name.
 
GmpFemPhysicsData _fractureData
 fracture data
 
GmValueAccessor_anAcc
 fracture aperture accessor
 

Additional Inherited Members

- Protected Types inherited from GmpFixedReaction
enum  FixedReactionPhysicsAttributeIds { MULTI_REACTION_ID = GmpChemicalFemPhysics::NUM_ATTRIBUTE_IDS , NUM_ATTRIBUTE_IDS }
 Additional IDs for physics attributes. More...
 
enum  FixedReactionElementPropertyIds { R_ID = GmpChemicalFemPhysics::NUM_PROPERTY_IDS }
 Additional IDs for physics element properties. More...
 
- Protected Types inherited from GmpChemicalFemPhysics
enum  PhysicsAttributeIds {
  ISOPARAMETRIC_ID , MULTI_DISPERSION_ID , MULTI_RETARDATION_ID , ALKALINITY_ID ,
  BASALTRXN_ID , NUM_ATTRIBUTE_IDS
}
 IDs for physics attributes. More...
 
enum  StateVarIds { C_ID }
 IDs fo physics state vars. More...
 
enum  NodeAttributeIds { NUM_NA_IDS }
 IDs for physics node attributes. More...
 
enum  GaussAttributeIds { V_GA_ID , NUM_GA_IDS }
 IDs for physics Gauss attributes. More...
 
enum  ElementPropertyIds {
  D_ID , K_ID , V_ID , PHI_ID ,
  THICKNESS_ID , NUM_PROPERTY_IDS
}
 IDs for physics element properties. More...
 
enum  BoundaryConditionIds {
  PRESCRIBED_C_BC_ID , PRESCRIBED_FLUX_BC_ID , PRESCRIBED_MIXED_BC_ID , PRESCRIBED_CN_BC_ID ,
  NUM_BC_IDS
}
 IDs for accepted boundary condition types. More...
 
enum  BoundaryConditionValueIds {
  BC_C_ID , BC_CN_ID , BC_Q_ID , BC_QDIR_ID ,
  BC_MX_ID , NUM_BCV_IDS
}
 IDs for property values from accepted boundary condition types. More...
 
- Protected Attributes inherited from GmpChemicalFemPhysics
GmVector _data
 Save alkalinity data for boundary condition.
 
GmVector _Cglobal
 

Detailed Description

Basic class for the hydraulic physics plugin object.

Member Enumeration Documentation

◆ EmbeddedElemPropertyIds

Enumerator
Uf_ID 

Id for retrieving the initial fracture aperture.

NUM_PROPERTY_IDS 

The number of property ids above.

◆ EmbeddedPhysicsAttributeIds

IDs for physics attributes.

Enumerator
FRACPROPSET_ID 

Id for retrieving the fracture property attribute.

NUM_ATTRIBUTE_IDS 

The number of physics attribute ids above.

Member Function Documentation

◆ fillElementData()

GmpFemPhysics::FemResultType GmpChemicalFixedEmbeddedFracture::fillElementData ( const GmElement * e,
GmpFemMatrixSet & elemMatrices,
GmpFemVectorSet & elemVectors )
virtual

Fills the element matrices and vectors for a generic element.

Reimplemented from GmpChemicalFemPhysics.

◆ physicsMetaDataMap()

const QVariantMap * GmpChemicalFixedEmbeddedFracture::physicsMetaDataMap ( )
virtual

Returns a reference for the single Hydraulics attribute map, built when the function is called for the first time.

Reimplemented from GmpFixedReaction.

◆ pluginType()

virtual const char * GmpChemicalFixedEmbeddedFracture::pluginType ( ) const
inlinevirtual

Reimplemented from GmpFixedReaction.


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