14 #if !defined(KRATOS_TWO_FLUID_NAVIER_STOKES_ALPHA_METHOD)
15 #define KRATOS_TWO_FLUID_NAVIER_STOKES_ALPHA_METHOD
27 #include "utilities/geometry_utilities.h"
65 template<
class TElementData >
150 Properties::Pointer pProperties)
const override;
161 GeometryType::Pointer pGeom,
162 Properties::Pointer pProperties)
const override;
166 std::vector<double> &rOutput,
224 const TElementData &rData,
225 const Vector &rInterfaceWeights,
226 const Matrix &rEnrInterfaceShapeFunctionPos,
227 const Matrix &rEnrInterfaceShapeFunctionNeg,
348 template<
class TElementData >
356 template<
class TElementData >
361 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::size_t IndexType
Definition: flags.h:74
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: fluid_element.hpp:584
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
This object defines an indexed object.
Definition: indexed_object.h:54
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
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: two_fluid_navier_stokes_alpha_method.h:67
Node NodeType
Definition: two_fluid_navier_stokes_alpha_method.h:78
virtual ~TwoFluidNavierStokesAlphaMethod()
Destructor.
Definition: two_fluid_navier_stokes_alpha_method.cpp:43
std::size_t SizeType
Definition: two_fluid_navier_stokes_alpha_method.h:84
TwoFluidNavierStokesAlphaMethod(IndexType NewId=0)
Default constuctor.
Definition: two_fluid_navier_stokes_alpha_method.cpp:24
void Calculate(const Variable< double > &rVariable, double &rOutput, const ProcessInfo &rCurrentProcessInfo) override
Definition: two_fluid_navier_stokes_alpha_method.cpp:100
Geometry< NodeType > GeometryType
Definition: two_fluid_navier_stokes_alpha_method.h:79
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TwoFluidNavierStokesAlphaMethod)
Counted pointer of.
void ComputeGaussPointEnrichmentContributions(TElementData &rData, MatrixType &rV, MatrixType &rH, MatrixType &rKee, VectorType &rRHS_ee) override
Computes the pressure enrichment contributions This method computes the pressure enrichment contribut...
Matrix MatrixType
Definition: two_fluid_navier_stokes_alpha_method.h:82
constexpr static unsigned int StrainSize
Definition: two_fluid_navier_stokes_alpha_method.h:95
void CalculateStrainRate(TElementData &rData) const override
Calculate the strain rate In this function we calculate the strain rate at the mid step.
TwoFluidNavierStokes< TElementData >::ShapeFunctionDerivativesType ShapeFunctionDerivativesType
Definition: two_fluid_navier_stokes_alpha_method.h:89
constexpr static unsigned int BlockSize
Definition: two_fluid_navier_stokes_alpha_method.h:93
TwoFluidNavierStokes< TElementData >::ShapeFunctionDerivativesArrayType ShapeFunctionDerivativesArrayType
Definition: two_fluid_navier_stokes_alpha_method.h:90
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, Properties::Pointer pProperties) const override
Create a new element of this type.
Definition: two_fluid_navier_stokes_alpha_method.cpp:49
void ComputeGaussPointRHSContribution(TElementData &rData, VectorType &rRHS) override
Computes the RHS Gaus pt. contribution This method computes the contribution to the RHS of a Gauss pt...
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: two_fluid_navier_stokes_alpha_method.h:87
double CalculateArtificialDynamicViscositySpecialization(TElementData &rData) const
Calculate the artificial dynamic viscosity. In this function we calculate the artificial dynamic visc...
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: two_fluid_navier_stokes_alpha_method.h:86
void CalculateOnIntegrationPoints(const Variable< double > &rVariable, std::vector< double > &rOutput, const ProcessInfo &rCurrentProcessInfo) override
Function to visualize the divergence field.
Definition: two_fluid_navier_stokes_alpha_method.cpp:67
void load(Serializer &rSerializer) override
Definition: two_fluid_navier_stokes_alpha_method.cpp:2024
void PressureGradientStabilization(const TElementData &rData, const Vector &rInterfaceWeights, const Matrix &rEnrInterfaceShapeFunctionPos, const Matrix &rEnrInterfaceShapeFunctionNeg, const GeometryType::ShapeFunctionsGradientsType &rInterfaceShapeDerivatives, MatrixType &rKeeTot, VectorType &rRHSeeTot) override
Computes the enriched LHS/RHS terms associated with the pressure stabilizations at the interface.
Definition: two_fluid_navier_stokes_alpha_method.cpp:1889
TwoFluidNavierStokes< TElementData >::ShapeFunctionsType ShapeFunctionsType
Definition: two_fluid_navier_stokes_alpha_method.h:88
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition: two_fluid_navier_stokes_alpha_method.h:80
constexpr static unsigned int Dim
Definition: two_fluid_navier_stokes_alpha_method.h:91
constexpr static unsigned int NumNodes
Definition: two_fluid_navier_stokes_alpha_method.h:92
constexpr static unsigned int LocalSize
Definition: two_fluid_navier_stokes_alpha_method.h:94
std::vector< std::size_t > EquationIdVectorType
Definition: two_fluid_navier_stokes_alpha_method.h:85
void save(Serializer &rSerializer) const override
Definition: two_fluid_navier_stokes_alpha_method.cpp:2017
void ComputeGaussPointLHSContribution(TElementData &rData, MatrixType &rLHS) override
Computes the LHS Gauss pt. contribution This method computes the contribution to the LHS of a Gauss p...
std::size_t IndexType
Definition: two_fluid_navier_stokes_alpha_method.h:83
Vector VectorType
Definition: two_fluid_navier_stokes_alpha_method.h:81
Definition: two_fluid_navier_stokes.h:67
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
FluidElement< TElementData >::ShapeFunctionsType ShapeFunctionsType
Definition: two_fluid_navier_stokes.h:86
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