14 #if !defined(KRATOS_DAM_NODAL_YOUNG_MODULUS_PROCESS)
15 #define KRATOS_DAM_NODAL_YOUNG_MODULUS_PROCESS
47 "model_part_name":"PLEASE_CHOOSE_MODEL_PART_NAME",
48 "variable_name": "PLEASE_PRESCRIBE_VARIABLE_NAME",
50 "Young_Modulus_1" : 10.0,
51 "Young_Modulus_2" : 60.0,
52 "Young_Modulus_3" : 50.0,
53 "Young_Modulus_4" : 70.0,
62 rParameters[
"Young_Modulus_1"];
63 rParameters[
"variable_name"];
64 rParameters[
"model_part_name"];
104 #pragma omp parallel for
107 ModelPart::NodesContainerType::iterator it = it_begin +
i;
118 it->FastGetSolutionStepValue(var) = 0.0;
121 it->FastGetSolutionStepValue(var) =
Young;
142 #pragma omp parallel for
145 ModelPart::NodesContainerType::iterator it = it_begin +
i;
156 it->FastGetSolutionStepValue(var) = 0.0;
159 it->FastGetSolutionStepValue(var) =
Young;
167 std::string
Info()
const override
169 return "DamNodalYoungModulusProcess";
175 rOStream <<
"DamNodalYoungModulusProcess";
213 rOStream << std::endl;
Definition: dam_nodal_young_modulus_process.hpp:31
bool mIsFixed
Definition: dam_nodal_young_modulus_process.hpp:190
DamNodalYoungModulusProcess(ModelPart &rModelPart, Parameters &rParameters)
Constructor.
Definition: dam_nodal_young_modulus_process.hpp:39
double mYoung2
Definition: dam_nodal_young_modulus_process.hpp:192
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: dam_nodal_young_modulus_process.hpp:86
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: dam_nodal_young_modulus_process.hpp:179
double mYoung3
Definition: dam_nodal_young_modulus_process.hpp:193
std::string Info() const override
Turn back information as a string.
Definition: dam_nodal_young_modulus_process.hpp:167
void ExecuteInitializeSolutionStep() override
This function will be executed at every time step BEFORE performing the solve phase.
Definition: dam_nodal_young_modulus_process.hpp:130
virtual ~DamNodalYoungModulusProcess()
Destructor.
Definition: dam_nodal_young_modulus_process.hpp:82
std::string mVariableName
Definition: dam_nodal_young_modulus_process.hpp:189
KRATOS_CLASS_POINTER_DEFINITION(DamNodalYoungModulusProcess)
void ExecuteInitialize() override
This function is designed for being called at the beginning of the computations right after reading t...
Definition: dam_nodal_young_modulus_process.hpp:92
ModelPart & mrModelPart
Member Variables.
Definition: dam_nodal_young_modulus_process.hpp:188
double mYoung4
Definition: dam_nodal_young_modulus_process.hpp:194
double mYoung1
Definition: dam_nodal_young_modulus_process.hpp:191
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: dam_nodal_young_modulus_process.hpp:173
KratosComponents class encapsulates a lookup table for a family of classes in a generic way.
Definition: kratos_components.h:49
NodesContainerType & Nodes()
Definition: mesh.h:346
NodeIterator NodesBegin()
Definition: mesh.h:326
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType & GetMesh(IndexType ThisIndex=0)
Definition: model_part.h:1791
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
double GetDouble() const
This method returns the double contained in the current Parameter.
Definition: kratos_parameters.cpp:657
void ValidateAndAssignDefaults(const Parameters &rDefaultParameters)
This function is designed to verify that the parameters under testing match the form prescribed by th...
Definition: kratos_parameters.cpp:1306
std::string GetString() const
This method returns the string contained in the current Parameter.
Definition: kratos_parameters.cpp:684
bool GetBool() const
This method returns the boolean contained in the current Parameter.
Definition: kratos_parameters.cpp:675
size_type size() const
Returns the number of elements in the container.
Definition: pointer_vector_set.h:502
The base class for all processes in Kratos.
Definition: process.h:49
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
Young
Definition: isotropic_damage_automatic_differentiation.py:135
int nnodes
Definition: sensitivityMatrix.py:24
integer i
Definition: TensorModule.f:17