10 #if !defined(KRATOS_SET_EULERIAN_INLET_PROCESS_H_INCLUDED)
11 #define KRATOS_SET_EULERIAN_INLET_PROCESS_H_INCLUDED
66 : mrModelPart(rModelPart)
68 KRATOS_INFO(
"SetEulerianInletProcess") <<
" activated " << std::endl;
96 std::cout <<
" SET EULERIAN INLET PROCESS ]; " << std::endl;
98 for (ModelPart::NodesContainerType::iterator i_node = mrModelPart.
NodesBegin(); i_node != mrModelPart.
NodesEnd(); i_node++)
102 i_node->Reset(FREE_SURFACE);
103 i_node->Set(PFEMFlags::EULERIAN_INLET);
122 std::string
Info()
const override
124 return "SetEulerianInletProcess";
130 rOStream <<
"SetEulerianInletProcess";
202 rOStream << std::endl;
Base class for all Conditions.
Definition: condition.h:59
Geometry base class.
Definition: geometry.h:71
Short class definition.
Definition: mesher_utilities.hpp:49
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodeIterator NodesBegin(IndexType ThisIndex=0)
Definition: model_part.h:487
NodeIterator NodesEnd(IndexType ThisIndex=0)
Definition: model_part.h:497
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: process.h:210
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
Refine Mesh Elements Process 2D and 3D.
Definition: set_eulerian_inlet_process.hpp:46
std::string Info() const override
Turn back information as a string.
Definition: set_eulerian_inlet_process.hpp:122
ModelPart::PropertiesType PropertiesType
Definition: set_eulerian_inlet_process.hpp:56
ModelPart::NodeType NodeType
Definition: set_eulerian_inlet_process.hpp:54
SetEulerianInletProcess(ModelPart &rModelPart, int EchoLevel)
Default constructor.
Definition: set_eulerian_inlet_process.hpp:64
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: set_eulerian_inlet_process.hpp:128
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: set_eulerian_inlet_process.hpp:81
ModelPart::ConditionType ConditionType
Definition: set_eulerian_inlet_process.hpp:55
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: set_eulerian_inlet_process.hpp:91
virtual ~SetEulerianInletProcess()
Destructor.
Definition: set_eulerian_inlet_process.hpp:74
KRATOS_CLASS_POINTER_DEFINITION(SetEulerianInletProcess)
Pointer definition of Process.
ConditionType::GeometryType GeometryType
Definition: set_eulerian_inlet_process.hpp:57
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_INFO(label)
Definition: logger.h:250
static int EchoLevel
Definition: co_sim_EMPIRE_API.h:42
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