9 #if !defined(KRATOS_MONOLITHIC_3FLUID_PFEM2_2D_ELEM_H_INCLUDED)
10 #define KRATOS_MONOLITHIC_3FLUID_PFEM2_2D_ELEM_H_INCLUDED
16 #include "boost/smart_ptr.hpp"
97 std::vector< Matrix >& gauss_gradients,
101 const unsigned int ndivisions
107 const double xc,
const double yc,
const double zc,
112 const double x1,
const double y1,
113 const double x2,
const double y2
Base class for all Elements.
Definition: element.h:60
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
std::size_t IndexType
Definition: flags.h:74
Geometry base class.
Definition: geometry.h:71
This object defines an indexed object.
Definition: indexed_object.h:54
Definition: monolithic_3fluid_2d.h:29
void CalculatePosition(const bounded_matrix< double, 3, 3 > &coordinates, const double xc, const double yc, const double zc, array_1d< double, 3 > &N)
Definition: monolithic_3fluid_2d.cpp:1250
void AddViscousTerm(MatrixType &rDampMatrix, const BoundedMatrix< double, 3, 2 > &rShapeDeriv, const double Weight)
Definition: monolithic_3fluid_2d.cpp:1098
bool InvertMatrix(const T &input, T &inverse)
Definition: monolithic_3fluid_2d.cpp:1154
std::size_t IndexType
Definition: monolithic_3fluid_2d.h:53
void CalculateViscousRHS(ProcessInfo &CurrentProcessInfo)
void InitializeSolutionStep(const ProcessInfo &CurrentProcessInfo) override
Definition: monolithic_3fluid_2d.cpp:836
Geometry< NodeType > GeometryType
definition of the geometry type with given NodeType
Definition: monolithic_3fluid_2d.h:48
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: monolithic_3fluid_2d.h:56
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: monolithic_3fluid_2d.cpp:90
Properties PropertiesType
Definition: monolithic_3fluid_2d.h:46
std::size_t SizeType
Definition: monolithic_3fluid_2d.h:54
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: monolithic_3fluid_2d.cpp:846
std::vector< std::size_t > EquationIdVectorType
Definition: monolithic_3fluid_2d.h:55
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: monolithic_3fluid_2d.h:50
void CalculatePressureProjection(ProcessInfo &CurrentProcessInfo)
Definition: monolithic_3fluid_2d.cpp:897
double CalculateVol(const double x0, const double y0, const double x1, const double y1, const double x2, const double y2)
Definition: monolithic_3fluid_2d.cpp:1286
void CalculateInterfaceNormal(BoundedMatrix< double, 3, 2 > &rPoints, array_1d< double, 3 > &rDistances, array_1d< double, 2 > &normal, double &interface_area, array_1d< double, 3 > &Ninterface)
Definition: monolithic_3fluid_2d.cpp:1178
void GetDofList(DofsVectorType &ElementalDofList, const ProcessInfo &CurrentProcessInfo) const override
Definition: monolithic_3fluid_2d.cpp:871
Vector VectorType
Definition: monolithic_3fluid_2d.h:51
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: monolithic_3fluid_2d.h:57
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: monolithic_3fluid_2d.cpp:45
void AddViscousTerm(BoundedMatrix< double, 13, 13 > &output, BoundedMatrix< double,(2+1), 2 > &rShapeDeriv, array_1d< double, 3 > &distances, std::vector< Matrix > &gauss_gradients, array_1d< double, 3 > &viscosities, array_1d< double, 3 > &signs, array_1d< double, 3 > &volumes, const unsigned int ndivisions)
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(Monolithic3FluidPFEM22D)
Counted pointer of PFEM22D.
virtual ~ Monolithic3FluidPFEM22D() override
Destructor.
void AddExplicitContribution(const ProcessInfo &CurrentProcessInfo) override
Definition: monolithic_3fluid_2d.cpp:58
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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
output
Definition: generate_frictional_mortar_condition.py:444
input
Definition: generate_frictional_mortar_condition.py:435
x2
Definition: generate_frictional_mortar_condition.py:122
x1
Definition: generate_frictional_mortar_condition.py:121
float xc
Definition: rotating_cone.py:77
float yc
Definition: rotating_cone.py:78
N
Definition: sensitivityMatrix.py:29