9 #if !defined(KRATOS_ADD_WALL_PROCESS_INCLUDED )
10 #define KRATOS_ADD_WALL_PROCESS_INCLUDED
111 double av_mesh_size=0.0;
112 for(ModelPart::NodesContainerType::iterator in =
fluid_model_part.NodesBegin() ;
115 av_mesh_size+=in->FastGetSolutionStepValue(NODAL_H);
119 av_mesh_size/=n_fluid_nodes;
121 unsigned wall_node_id=n_fluid_nodes+1;
126 for(ModelPart::NodesContainerType::iterator in =
wall_model_part.NodesBegin() ;
130 in->FastGetSolutionStepValue(NODAL_H)=av_mesh_size;
131 in->SetId(wall_node_id);
142 for(ModelPart::NodesContainerType::iterator in =
fluid_model_part.NodesBegin() ;
170 std::string
Info()
const override
172 return "AddWallProcess";
178 rOStream <<
"AddWallProcess";
298 rOStream << std::endl;
Short class definition.
Definition: add_wall_process.h:66
std::string Info() const override
Turn back information as a string.
Definition: add_wall_process.h:170
KRATOS_CLASS_POINTER_DEFINITION(AddWallProcess)
Pointer definition of PushStructureProcess.
~AddWallProcess() override
Destructor.
Definition: add_wall_process.h:87
AddWallProcess()
Default constructor.
Definition: add_wall_process.h:79
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: add_wall_process.h:182
void AddWall(ModelPart &fluid_model_part, ModelPart &wall_model_part)
Definition: add_wall_process.h:106
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: add_wall_process.h:176
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
#define KRATOS_THROW_ERROR(ExceptionType, ErrorMessage, MoreInfo)
Definition: define.h:77
#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
fluid_model_part
Definition: edgebased_PureConvection.py:18
wall_model_part
Definition: script_THERMAL_CORRECT.py:30