13 #if !defined(KRATOS_VMS_MONOLITHIC_K_BASED_WALL_CONDITION_WALL_H_INCLUDED)
14 #define KRATOS_VMS_MONOLITHIC_K_BASED_WALL_CONDITION_WALL_H_INCLUDED
39 template <
unsigned int TDim,
unsigned int TNumNodes = TDim>
91 GeometryType::Pointer pGeometry)
104 GeometryType::Pointer pGeometry,
105 PropertiesType::Pointer pProperties)
106 :
BaseType(NewId, pGeometry, pProperties)
145 PropertiesType::Pointer pProperties)
const override
147 return Kratos::make_intrusive<VMSMonolithicKBasedWallCondition>(
153 GeometryType::Pointer pGeom,
154 PropertiesType::Pointer pProperties)
const override
156 return Kratos::make_intrusive<VMSMonolithicKBasedWallCondition>(
157 NewId, pGeom, pProperties);
172 Condition::Pointer p_new_condition =
Create(
175 p_new_condition->SetData(this->
GetData());
176 p_new_condition->SetFlags(this->
GetFlags());
178 return p_new_condition;
190 std::string
Info()
const override;
193 void PrintInfo(std::ostream& rOStream)
const override;
196 void PrintData(std::ostream& rOStream)
const override;
238 void save(
Serializer& rSerializer)
const override;
251 template <
unsigned int TDim,
unsigned int TNumNodes>
253 std::istream& rIStream,
260 template <
unsigned int TDim,
unsigned int TNumNodes>
262 std::ostream& rOStream,
266 rOStream << std::endl;
Condition & operator=(Condition const &rOther)
Assignment operator.
Definition: condition.h:181
PropertiesType::Pointer pGetProperties()
returns the pointer to the property of the condition. Does not throw an error, to allow copying of co...
Definition: condition.h:964
std::size_t IndexType
Definition: flags.h:74
This defines the geometrical object, base definition of the element and condition entities.
Definition: geometrical_object.h:58
Flags & GetFlags()
Returns the flags of the object.
Definition: geometrical_object.h:176
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
DataValueContainer & GetData()
Definition: geometrical_object.h:212
Geometry base class.
Definition: geometry.h:71
Implements a wall condition for the monolithic formulation.
Definition: monolithic_wall_condition.h:70
This class defines the node.
Definition: node.h:65
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: vms_monolithic_k_based_wall_condition.h:41
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: vms_monolithic_k_based_wall_condition.cpp:96
~VMSMonolithicKBasedWallCondition() override=default
Destructor.
VMSMonolithicKBasedWallCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: vms_monolithic_k_based_wall_condition.h:102
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties) const override
It creates a new condition pointer.
Definition: vms_monolithic_k_based_wall_condition.h:151
std::string Info() const override
Turn back information as a string.
Definition: vms_monolithic_k_based_wall_condition.cpp:82
VMSMonolithicKBasedWallCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: vms_monolithic_k_based_wall_condition.h:89
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(VMSMonolithicKBasedWallCondition)
Pointer definition of VMSMonolithicKBasedWallCondition.
Matrix MatrixType
Definition: vms_monolithic_k_based_wall_condition.h:55
void Initialize(const ProcessInfo &rCurrentProcessInfo) override
Definition: vms_monolithic_k_based_wall_condition.cpp:61
VMSMonolithicKBasedWallCondition(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: vms_monolithic_k_based_wall_condition.h:77
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create a new VMSMonolithicKBasedWallCondition object.
Definition: vms_monolithic_k_based_wall_condition.h:142
Condition::Pointer Clone(IndexType NewId, NodesArrayType const &rThisNodes) const override
Definition: vms_monolithic_k_based_wall_condition.h:168
VMSMonolithicKBasedWallCondition & operator=(VMSMonolithicKBasedWallCondition const &rOther)
Assignment operator.
Definition: vms_monolithic_k_based_wall_condition.h:125
VMSMonolithicKBasedWallCondition(IndexType NewId=0)
Default constructor.
Definition: vms_monolithic_k_based_wall_condition.h:66
VMSMonolithicKBasedWallCondition(VMSMonolithicKBasedWallCondition const &rOther)
Copy constructor.
Definition: vms_monolithic_k_based_wall_condition.h:111
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: vms_monolithic_k_based_wall_condition.cpp:38
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: vms_monolithic_k_based_wall_condition.cpp:90
void ApplyWallLaw(MatrixType &rLocalMatrix, VectorType &rLocalVector, const ProcessInfo &rCurrentProcessInfo) override
Applies rans based wall law.
Definition: vms_monolithic_k_based_wall_condition.cpp:101
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic > Matrix
Definition: amatrix_interface.h:470
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
def load(f)
Definition: ode_solve.py:307