13 #if !defined(KRATOS_DEFINE_2D_WAKE_PROCESS_H_INCLUDED )
14 #define KRATOS_DEFINE_2D_WAKE_PROCESS_H_INCLUDED
72 std::string
Info()
const override
74 return "Define2DWakeProcess";
78 void PrintInfo(std::ostream& rOStream)
const override
80 rOStream <<
"Define2DWakeProcess";
84 void PrintData(std::ostream& rOStream)
const override
96 const double mTolerance;
101 std::vector<std::size_t> mTrailingEdgeElementsOrderedIds;
105 void InitializeTrailingEdgeSubModelpart()
const;
107 void InitializeWakeSubModelpart()
const;
109 void SetWakeDirectionAndNormal();
111 void SaveTrailingEdgeNode();
113 void MarkWakeElements();
115 void CheckIfTrailingEdgeElement(
Element& rElement);
117 bool CheckIfPotentiallyWakeElement(
const Element& rElement)
const;
121 void AddTrailingEdgeAndWakeElements(std::vector<std::size_t>& rWakeElementsOrderedIds);
123 void MarkKuttaElements()
const;
125 void MarkWakeTrailingEdgeElement()
const;
127 bool CheckIfTrailingEdgeElementIsCutByWake(
const Element& rElement)
const;
147 rOStream << std::endl;
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
Auxiliary process to define the wake in 2 dimensional problems.
Definition: define_2d_wake_process.h:30
std::string Info() const override
Turn back information as a string.
Definition: define_2d_wake_process.h:72
Define2DWakeProcess & operator=(Define2DWakeProcess const &rOther)=delete
Assignment operator.
KRATOS_CLASS_POINTER_DEFINITION(Define2DWakeProcess)
Pointer definition of Define2DWakeProcess.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: define_2d_wake_process.h:84
Define2DWakeProcess(Define2DWakeProcess const &rOther)=delete
Copy constructor.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: define_2d_wake_process.h:78
Node NodeType
Definition: define_2d_wake_process.h:38
~Define2DWakeProcess() override=default
Destructor.
Base class for all Elements.
Definition: element.h:60
Definition: amatrix_interface.h:41
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
Point class.
Definition: point.h:59
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