diff --git a/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp b/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp index 6b80d734f3c66340c5773b6f1a493cc0768884cc..899d1bd95fc92f97f738f433dbbe2a8d038d3189 100644 --- a/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp +++ b/ProcessLib/LIE/SmallDeformation/CreateSmallDeformationProcess.cpp @@ -181,10 +181,13 @@ std::unique_ptr<Process> createSmallDeformationProcess( config.getConfigParameter<double>( "reference_temperature", std::numeric_limits<double>::quiet_NaN()); + //! \ogs_file_param{prj__processes__process__SMALL_DEFORMATION_WITH_LIE__use_b_bar} + auto const use_b_bar = config.getConfigParameter<bool>("use_b_bar", false); + SmallDeformationProcessData<DisplacementDim> process_data{ - materialIDs(mesh), std::move(solid_constitutive_relations), + materialIDs(mesh), std::move(solid_constitutive_relations), std::move(fracture_model), std::move(fracture_properties), - reference_temperature}; + reference_temperature, use_b_bar}; SecondaryVariableCollection secondary_variables; diff --git a/ProcessLib/LIE/SmallDeformation/SmallDeformationProcessData.h b/ProcessLib/LIE/SmallDeformation/SmallDeformationProcessData.h index aee0519a68707b540ac6feabfc7c1dde9da6b409..34a2cd3f2c84502a8536f6c65e0cf78448d8fb15 100644 --- a/ProcessLib/LIE/SmallDeformation/SmallDeformationProcessData.h +++ b/ProcessLib/LIE/SmallDeformation/SmallDeformationProcessData.h @@ -46,6 +46,10 @@ struct SmallDeformationProcessData double const reference_temperature; + /// An indicator to use the B bar method \cite hughes1980generalization to + /// tackle the volumetric locking. + const bool use_b_bar; + std::vector<JunctionProperty> junction_properties = {}; MeshLib::PropertyVector<int> const* mesh_prop_materialIDs = nullptr;