OGS
MaterialLib::Fracture::CohesiveZoneModeI Namespace Reference

Namespaces

 anonymous_namespace{CohesiveZoneModeI.cpp}
 

Classes

struct  MaterialPropertiesParameters
 Variables specific to the material model. More...
 
struct  MaterialProperties
 
struct  StateVariables
 
class  CohesiveZoneModeI
 

Functions

template<int DisplacementDim>
std::unique_ptr< FractureModelBase< DisplacementDim > > createCohesiveZoneModeI (std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const &parameters, BaseLib::ConfigTree const &config)
 

Function Documentation

◆ createCohesiveZoneModeI()

template<int DisplacementDim>
std::unique_ptr< FractureModelBase< DisplacementDim > > MaterialLib::Fracture::CohesiveZoneModeI::createCohesiveZoneModeI ( std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const &  parameters,
BaseLib::ConfigTree const &  config 
)
Input File Parameter:
material__fracture_model__type
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__normal_stiffness
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__shear_stiffness
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__fracture_toughness
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__peak_normal_traction
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__penalty_aperture_cutoff
Input File Parameter:
material__fracture_model__CohesiveZoneModeI__tension_cutoff

Definition at line 22 of file CreateCohesiveZoneModeI.cpp.

25 {
27  config.checkConfigParameter("type", "CohesiveZoneModeI");
28  DBUG("Create CohesiveZoneModeI material");
29 
30  auto const& Kn = ParameterLib::findParameter<double>(
32  config, "normal_stiffness", parameters, 1);
33 
34  auto const& Ks = ParameterLib::findParameter<double>(
36  config, "shear_stiffness", parameters, 1);
37 
38  auto const& Gc = ParameterLib::findParameter<double>(
40  config, "fracture_toughness", parameters, 1);
41 
42  auto const& t_np = ParameterLib::findParameter<double>(
44  config, "peak_normal_traction", parameters, 1);
45 
46  auto const penalty_aperture_cutoff =
48  config.getConfigParameter<double>("penalty_aperture_cutoff");
49 
50  auto const tension_cutoff =
52  config.getConfigParameter<bool>("tension_cutoff");
53 
54  MaterialPropertiesParameters mp{Kn, Ks, Gc, t_np};
55 
56  return std::make_unique<CohesiveZoneModeI<DisplacementDim>>(
57  penalty_aperture_cutoff, tension_cutoff, mp);
58 }
void DBUG(char const *fmt, Args const &... args)
Definition: Logging.h:27

References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::getConfigParameter().

Referenced by ProcessLib::LIE::SmallDeformation::createSmallDeformationProcess().