OGS
|
Common convenitions for naming: x_D - deviatoric part of tensor x x_V - volumetric part of tensor x x_p - a variable related to plastic potential x_prev - value of x in previous time step
Variables used in the code: eps_D - deviatoric strain eps_p_D_dot - deviatoric increment of plastic strain eps_p_eff_dot - increment of effective plastic strain eps_p_V_dot - volumetric increment of plastic strain sigma_D_inverse_D - deviatoric part of sigma_D_inverse
derivation of the flow rule theta - J3 / J2^(3 / 2) from yield function dtheta_dsigma - derivative of theta sqrtPhi - square root of Phi from plastic potential flow_D - deviatoric part of flow flow_V - volumetric part of flow lambda_flow_D - deviatoric increment of plastic strain
Namespaces | |
namespace | Fluid |
namespace | Fracture |
namespace | PhysicalConstant |
namespace | PorousMedium |
namespace | Solids |
Functions | |
std::vector< int > | splitMaterialIdString (std::string const &material_id_string) |
std::vector< int > | parseMaterialIdString (std::string const &material_id_string, MeshLib::PropertyVector< int > const *const material_ids) |
template<typename T , typename CreateMedium > requires std::convertible_to< decltype(std::declval<CreateMedium>()(std::declval<int>())), std::shared_ptr<T>> | |
void | createMediumForId (int const id, std::map< int, std::shared_ptr< T > > &media, std::vector< int > const &material_ids_of_this_medium, CreateMedium &&create_medium) |
void MaterialLib::createMediumForId | ( | int const | id, |
std::map< int, std::shared_ptr< T > > & | media, | ||
std::vector< int > const & | material_ids_of_this_medium, | ||
CreateMedium && | create_medium ) |
Creates a new entry for the material id in the media map by either calling the create_medium function and creating a new shared pointer, or by reusing the existing shared pointer.
Definition at line 46 of file MediaCreation.h.
References OGS_FATAL.
Referenced by MaterialLib::Solids::createConstitutiveRelationsGeneric(), and ProjectData::parseMedia().
std::vector< int > MaterialLib::parseMaterialIdString | ( | std::string const & | material_id_string, |
MeshLib::PropertyVector< int > const *const | material_ids ) |
Parses a comma separated list of integers or "*" string. Such lists occur in the medium definition in the OGS prj file. For the "*" input a vector of all (unique) material ids is returned. Error messages in this function refer to this specific purpose.
Definition at line 71 of file MediaCreation.cpp.
References DBUG(), BaseLib::makeVectorUnique(), OGS_FATAL, and splitMaterialIdString().
Referenced by MaterialLib::Solids::createConstitutiveRelationsGeneric(), and ProjectData::parseMedia().
std::vector< int > MaterialLib::splitMaterialIdString | ( | std::string const & | material_id_string | ) |
Parses a comma separated list of integers. Such lists occur in the medium definition in the OGS prj file. Error messages in this function refer to this specific purpose.
Definition at line 21 of file MediaCreation.cpp.
References OGS_FATAL, and BaseLib::splitString().
Referenced by ProcessLib::HeatTransportBHE::createHeatTransportBHEProcess(), parseMaterialIdString(), and parseOutputMeshConfig().