14 #if !defined(KRATOS_EXTEND_PRESSURE_PROCESS)
15 #define KRATOS_EXTEND_PRESSURE_PROCESS
36 template <SizeType TDim = 2>
55 void Execute()
override;
60 void RemovePreviousLineLoads();
74 void GenerateLineLoads2Nodes(
75 const int NonWetLocalIdNode,
77 int& rMaximumConditionId,
78 ModelPart::ElementsContainerType::ptr_iterator itElem);
86 void GenerateLineLoads3Nodes(
88 int& rMaximumConditionId,
89 ModelPart::ElementsContainerType::ptr_iterator itElem);
97 void GeneratePressureLoads3WetNodes(
98 const int NonWetLocalIdNode,
100 int& rMaximumConditionId,
101 ModelPart::ElementsContainerType::ptr_iterator itElem);
114 void CreatePressureLoads(
118 ModelPart::ElementsContainerType::ptr_iterator itElem,
120 ModelPart::PropertiesType::Pointer pProperties,
121 int& rMaximumConditionId);
133 void CreateLineLoads(
136 ModelPart::ElementsContainerType::ptr_iterator itElem,
138 ModelPart::PropertiesType::Pointer pProperties,
139 int& rMaximumConditionId);
147 void GeneratePressureLoads4WetNodes(
148 const int PressureId,
149 int& rMaximumConditionId,
150 ModelPart::ElementsContainerType::ptr_iterator itElem);
158 ModelPart::ElementsContainerType::ptr_iterator itElem,
165 void GetMaximumConditionIdOnSubmodelPart(
166 int& MaximumConditionId);
171 void CalculateNumberOfElementsOnNodes();
176 void ResetFlagOnElements();
181 void SavePreviousProperties();
186 int GetPressureIdSubModel(
const std::string &rSubModelName);
Creates the new presure line loads after removing some elements.
Definition: extend_pressure_condition_process.h:38
ModelPart & mrModelPart
Definition: extend_pressure_condition_process.h:190
KRATOS_CLASS_POINTER_DEFINITION(ExtendPressureConditionProcess)
Pointer definition of ExtendPressureConditionProcess.
~ExtendPressureConditionProcess() override=default
std::string mPressureName
Definition: extend_pressure_condition_process.h:191
void CreateNewConditions()
This generates the new line/surface loads.
ModelPart::PropertiesType::Pointer mpProperty
Definition: extend_pressure_condition_process.h:192
void operator()()
Definition: extend_pressure_condition_process.h:50
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
The base class for all processes in Kratos.
Definition: process.h:49
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43