64 template<
unsigned int TDim,
unsigned int TNumNodes,
class... TWallModel>
76 using BaseType::LocalSize;
132 GeometryType::Pointer pGeometry)
145 GeometryType::Pointer pGeometry,
146 PropertiesType::Pointer pProperties)
185 PropertiesType::Pointer pProperties)
const override
187 return Kratos::make_intrusive<TwoFluidNavierStokesWallCondition>(NewId, BaseType::GetGeometry().
Create(ThisNodes), pProperties);
198 GeometryType::Pointer pGeom,
199 PropertiesType::Pointer pProperties)
const override
201 return Kratos::make_intrusive< TwoFluidNavierStokesWallCondition >(NewId, pGeom, pProperties);
214 Condition::Pointer pNewCondition =
Create(NewId, BaseType::GetGeometry().
Create( rThisNodes ), BaseType::pGetProperties() );
216 pNewCondition->SetData(this->GetData());
217 pNewCondition->SetFlags(this->GetFlags());
219 return pNewCondition;
228 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
245 std::string
Info()
const override
247 std::stringstream buffer;
248 buffer <<
"TwoFluidNavierStokesWallCondition" << TDim <<
"D";
255 rOStream <<
"TwoFluidNavierStokesWallCondition";
259 void PrintData(std::ostream& rOStream)
const override {}
344 void save(
Serializer& rSerializer)
const override
392 template<
unsigned int TDim,
unsigned int TNumNodes,
class TWallModel >
399 template<
unsigned int TDim,
unsigned int TNumNodes,
class TWallModel >
403 rOStream << std::endl;
Condition & operator=(Condition const &rOther)
Assignment operator.
Definition: condition.h:181
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
Geometry base class.
Definition: geometry.h:71
Implements a wall condition for the Navier-Stokes (and Stokes) monolithic formulations This condition...
Definition: navier_stokes_wall_condition.h:72
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
Implements a wall condition for the Navier-Stokes monolithic formulation.
Definition: two_fluid_navier_stokes_wall_condition.h:66
Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create a new TwoFluidNavierStokesWallCondition object.
Definition: two_fluid_navier_stokes_wall_condition.h:182
Vector VectorType
Definition: two_fluid_navier_stokes_wall_condition.h:88
TwoFluidNavierStokesWallCondition(IndexType NewId=0)
Default constructor.
Definition: two_fluid_navier_stokes_wall_condition.h:108
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties) const override
Create a new TwoFluidNavierStokesWallCondition object.
Definition: two_fluid_navier_stokes_wall_condition.h:196
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TwoFluidNavierStokesWallCondition)
Pointer definition of TwoFluidNavierStokesWallCondition.
std::vector< std::size_t > EquationIdVectorType
Definition: two_fluid_navier_stokes_wall_condition.h:94
std::string Info() const override
Turn back information as a string.
Definition: two_fluid_navier_stokes_wall_condition.h:245
TwoFluidNavierStokesWallCondition(TwoFluidNavierStokesWallCondition const &rOther)
Copy constructor.
Definition: two_fluid_navier_stokes_wall_condition.h:152
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition: two_fluid_navier_stokes_wall_condition.h:86
NavierStokesWallCondition< TDim, TNumNodes, TWallModel... > BaseType
Definition: two_fluid_navier_stokes_wall_condition.h:74
TwoFluidNavierStokesWallCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: two_fluid_navier_stokes_wall_condition.h:143
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: two_fluid_navier_stokes_wall_condition.h:96
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: two_fluid_navier_stokes_wall_condition.h:259
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: two_fluid_navier_stokes_wall_condition.h:253
std::size_t IndexType
Definition: two_fluid_navier_stokes_wall_condition.h:92
~TwoFluidNavierStokesWallCondition() override
Destructor.
Definition: two_fluid_navier_stokes_wall_condition.h:158
Condition::Pointer Clone(IndexType NewId, NodesArrayType const &rThisNodes) const override
Definition: two_fluid_navier_stokes_wall_condition.h:210
TwoFluidNavierStokesWallCondition & operator=(TwoFluidNavierStokesWallCondition const &rOther)
Assignment operator.
Definition: two_fluid_navier_stokes_wall_condition.h:166
Node NodeType
Definition: two_fluid_navier_stokes_wall_condition.h:80
Geometry< NodeType > GeometryType
Definition: two_fluid_navier_stokes_wall_condition.h:84
TwoFluidNavierStokesWallCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: two_fluid_navier_stokes_wall_condition.h:130
Matrix MatrixType
Definition: two_fluid_navier_stokes_wall_condition.h:90
BaseType::ConditionDataStruct ConditionDataStruct
Definition: two_fluid_navier_stokes_wall_condition.h:78
TwoFluidNavierStokesWallCondition(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: two_fluid_navier_stokes_wall_condition.h:118
Properties PropertiesType
Definition: two_fluid_navier_stokes_wall_condition.h:82
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
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
def load(f)
Definition: ode_solve.py:307