13 #if !defined(KRATOS_APPLY_FAR_FIELD_PROCESS_H_INCLUDED )
14 #define KRATOS_APPLY_FAR_FIELD_PROCESS_H_INCLUDED
46 const double ReferencePotential,
47 const bool InitializeFlowField,
48 const bool PerturbationField);
68 void Execute()
override;
69 void InitializeFlowField();
70 void FindFarthestUpstreamBoundaryNode();
71 void AssignFarFieldBoundaryConditions();
73 void AssignNeumannFarFieldBoundaryCondition(
Condition& rCondition);
80 std::string
Info()
const override
82 return "ApplyFarFieldProcess";
86 void PrintInfo(std::ostream& rOStream)
const override
88 rOStream <<
"ApplyFarFieldProcess";
92 void PrintData(std::ostream& rOStream)
const override
101 NodeType::Pointer mpReferenceNode;
102 const double mReferencePotential = 1.0;
103 const bool mInitializeFlowField;
104 const bool mPerturbationField;
127 rOStream << std::endl;
Auxiliary process to define the wake in 2 dimensional problems.
Definition: apply_far_field_process.h:30
ApplyFarFieldProcess & operator=(ApplyFarFieldProcess const &rOther)=delete
Assignment operator.
ApplyFarFieldProcess(ApplyFarFieldProcess const &rOther)=delete
Copy constructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: apply_far_field_process.h:92
~ApplyFarFieldProcess() override=default
Destructor.
Node NodeType
Definition: apply_far_field_process.h:38
std::string Info() const override
Turn back information as a string.
Definition: apply_far_field_process.h:80
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: apply_far_field_process.h:86
KRATOS_CLASS_POINTER_DEFINITION(ApplyFarFieldProcess)
Pointer definition of ApplyFarFieldProcess.
Base class for all Conditions.
Definition: condition.h:59
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
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::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