40 #ifndef KRATOS_MONOLITHIC_AUTOSLIP_INLET_CONDITION_H
41 #define KRATOS_MONOLITHIC_AUTOSLIP_INLET_CONDITION_H
88 class MonolithicAutoSlipInlet3D :
public Condition
225 const ProcessInfo& rCurrentProcessInfo)
const override;
234 const ProcessInfo& CurrentProcessInfo)
const override;
252 virtual std::string
Info()
const override
254 std::stringstream buffer;
255 buffer <<
"MonolithicAutoSlipInlet3D";
260 virtual void PrintInfo(std::ostream& rOStream)
const override
262 rOStream <<
"MonolithicAutoSlipInlet3D";
266 virtual void PrintData(std::ostream& rOStream)
const override {}
338 virtual void save(
Serializer& rSerializer)
const override
390 inline std::istream&
operator >> (std::istream& rIStream,
391 MonolithicAutoSlipInlet3D& rThis)
400 rThis.PrintInfo(rOStream);
401 rOStream << std::endl;
402 rThis.PrintData(rOStream);
Base class for all Conditions.
Definition: condition.h:59
std::vector< std::size_t > EquationIdVectorType
Definition: condition.h:98
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
Condition & operator=(Condition const &rOther)
Assignment operator.
Definition: condition.h:181
std::size_t IndexType
Definition: flags.h:74
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
Implements a wall condition for the PFEM2 formulation.
Definition: autoslip_inlet.h:87
std::vector< std::size_t > EquationIdVectorType
Definition: autoslip_inlet_3d.h:113
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: autoslip_inlet_3d.h:266
std::size_t IndexType
Definition: autoslip_inlet_3d.h:109
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: autoslip_inlet_3d.h:117
MonolithicAutoSlipInlet3D(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: autoslip_inlet_3d.h:137
Geometry< NodeType > GeometryType
Definition: autoslip_inlet_3d.h:101
MonolithicAutoSlipInlet3D(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: autoslip_inlet_3d.h:158
virtual void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Provides the global indices for each one of this element's local rows.
Properties PropertiesType
Definition: autoslip_inlet_3d.h:99
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: autoslip_inlet_3d.h:115
Vector VectorType
Definition: autoslip_inlet_3d.h:105
std::size_t SizeType
Definition: autoslip_inlet_3d.h:111
MonolithicAutoSlipInlet3D & operator=(MonolithicAutoSlipInlet3D const &rOther)
Assignment operator.
Definition: autoslip_inlet_3d.h:178
virtual void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Return local contributions of the correct size, filled with zeros (for compatibility with time scheme...
void CalculateNormal(array_1d< double, 3 > &An)
Commpute the wall stress and add corresponding terms to the system contributions.
Matrix MatrixType
Definition: autoslip_inlet_3d.h:107
MonolithicAutoSlipInlet3D(MonolithicAutoSlipInlet3D const &rOther)
Copy constructor.
Definition: autoslip_inlet_3d.h:164
KRATOS_CLASS_POINTER_DEFINITION(MonolithicAutoSlipInlet3D)
Pointer definition of MonolithicAutoSlipInlet3D.
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: autoslip_inlet_3d.h:260
virtual ~MonolithicAutoSlipInlet3D() override
Destructor.
Definition: autoslip_inlet_3d.h:170
Node NodeType
Definition: autoslip_inlet_3d.h:97
MonolithicAutoSlipInlet3D(IndexType NewId=0)
Default constructor.
Definition: autoslip_inlet_3d.h:127
virtual void GetDofList(DofsVectorType &ConditionDofList, const ProcessInfo &CurrentProcessInfo) const override
Returns a list of the element's Dofs.
MonolithicAutoSlipInlet3D(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: autoslip_inlet_3d.h:147
virtual void CalculateRightHandSide(VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Return local right hand side of the correct size, filled with zeros (for compatibility with time sche...
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition: autoslip_inlet_3d.h:103
virtual Condition::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
Create a new MonolithicAutoSlipInlet3D object.
Definition: autoslip_inlet_3d.h:195
virtual std::string Info() const override
Turn back information as a string.
Definition: autoslip_inlet_3d.h:252
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
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
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