14 #ifndef KRATOS_WEAKLY_COMPRESSIBLE_NAVIER_STOKES_H
15 #define KRATOS_WEAKLY_COMPRESSIBLE_NAVIER_STOKES_H
60 template<
class TElementData >
139 GeometryType::Pointer pGeometry);
149 GeometryType::Pointer pGeometry,
150 Properties::Pointer pProperties);
180 Properties::Pointer pProperties)
const override;
192 GeometryType::Pointer pGeom,
193 Properties::Pointer pProperties)
const override;
208 std::string
Info()
const override;
212 void PrintInfo(std::ostream& rOStream)
const override;
244 const Vector& rUnitNormal,
286 void save(
Serializer& rSerializer)
const override;
329 template<
class TElementData >
331 std::istream& rIStream,
338 template<
class TElementData >
340 std::ostream& rOStream,
344 rOStream << std::endl;
std::size_t IndexType
Definition: flags.h:74
Large Displacement Lagrangian Element for 3D and 2D geometries. (base class)
Definition: fluid_element.h:61
MatrixRow< Matrix > ShapeFunctionsType
Type for shape function values container.
Definition: fluid_element.h:95
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: fluid_element.hpp:584
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
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
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: weakly_compressible_navier_stokes.h:62
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: weakly_compressible_navier_stokes.h:91
std::vector< std::size_t > EquationIdVectorType
Definition: weakly_compressible_navier_stokes.h:89
Node NodeType
Node type (default is: Node)
Definition: weakly_compressible_navier_stokes.h:71
WeaklyCompressibleNavierStokes(IndexType NewId=0)
Default constuctor.
Definition: weakly_compressible_navier_stokes.cpp:33
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: weakly_compressible_navier_stokes.cpp:149
std::size_t IndexType
Definition: weakly_compressible_navier_stokes.h:85
std::string Info() const override
Turn back information as a string.
Definition: weakly_compressible_navier_stokes.cpp:141
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, Properties::Pointer pProperties) const override
Create a new element of this type.
Definition: weakly_compressible_navier_stokes.cpp:62
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition of nodes container type, redefined from GeometryType.
Definition: weakly_compressible_navier_stokes.h:77
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(WeaklyCompressibleNavierStokes)
Pointer definition of WeaklyCompressibleNavierStokes.
constexpr static unsigned int LocalSize
Definition: weakly_compressible_navier_stokes.h:107
WeaklyCompressibleNavierStokes & operator=(WeaklyCompressibleNavierStokes const &rOther)=delete
Assignment operator.
void ComputeGaussPointLHSContribution(TElementData &rData, MatrixType &rLHS)
Matrix MatrixType
Matrix type for local contributions to the linear system.
Definition: weakly_compressible_navier_stokes.h:83
void AddTimeIntegratedLHS(TElementData &rData, MatrixType &rLHS) override
Definition: weakly_compressible_navier_stokes.cpp:173
WeaklyCompressibleNavierStokes(WeaklyCompressibleNavierStokes const &rOther)=delete
Copy constructor.
constexpr static unsigned int Dim
Definition: weakly_compressible_navier_stokes.h:104
Vector VectorType
Vector type for local contributions to the linear system.
Definition: weakly_compressible_navier_stokes.h:80
constexpr static unsigned int StrainSize
Definition: weakly_compressible_navier_stokes.h:109
const Parameters GetSpecifications() const override
This method provides the specifications/requirements of the element.
Definition: weakly_compressible_navier_stokes.cpp:101
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: weakly_compressible_navier_stokes.cpp:84
constexpr static unsigned int NumNodes
Definition: weakly_compressible_navier_stokes.h:105
FluidElement< TElementData >::ShapeFunctionDerivativesType ShapeFunctionDerivativesType
Type for a matrix containing the shape function gradients.
Definition: weakly_compressible_navier_stokes.h:99
std::size_t SizeType
Definition: weakly_compressible_navier_stokes.h:87
Geometry< NodeType > GeometryType
Geometry type (using with given NodeType)
Definition: weakly_compressible_navier_stokes.h:74
void AddTimeIntegratedSystem(TElementData &rData, MatrixType &rLHS, VectorType &rRHS) override
Definition: weakly_compressible_navier_stokes.cpp:163
void ComputeGaussPointRHSContribution(TElementData &rData, VectorType &rRHS)
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: weakly_compressible_navier_stokes.h:93
constexpr static unsigned int BlockSize
Definition: weakly_compressible_navier_stokes.h:106
FluidElement< TElementData >::ShapeFunctionsType ShapeFunctionsType
Type for shape function values container.
Definition: weakly_compressible_navier_stokes.h:96
FluidElement< TElementData >::ShapeFunctionDerivativesArrayType ShapeFunctionDerivativesArrayType
Type for an array of shape function gradient matrices.
Definition: weakly_compressible_navier_stokes.h:102
void AddTimeIntegratedRHS(TElementData &rData, VectorType &rRHS) override
Definition: weakly_compressible_navier_stokes.cpp:181
virtual ~WeaklyCompressibleNavierStokes()
Destructor.
Definition: weakly_compressible_navier_stokes.cpp:56
void AddBoundaryTraction(TElementData &rData, const Vector &rUnitNormal, MatrixType &rLHS, VectorType &rRHS) override
Adds the boundary traction component along a cut plane for embedded formulations. This method adds th...
Definition: weakly_compressible_navier_stokes.cpp:189
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