9 #ifndef KRATOS_MONOLITHIC_PFEM2_2D_ELEM_H_INCLUDED
10 #define KRATOS_MONOLITHIC_PFEM2_2D_ELEM_H_INCLUDED
16 #include "boost/smart_ptr.hpp"
81 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
const override;
100 double& Viscosity,
const double Area);
105 std::vector< Matrix >& gauss_gradients,
109 const unsigned int ndivisions);
114 std::vector< Matrix >& gauss_gradients,
118 const unsigned int ndivisions);
121 std::vector< Matrix > & gauss_gradients_discontinuous,
124 const int ndivisions);
134 virtual void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
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_2fluid_2d.h:31
void EquationIdVector(EquationIdVectorType &rResult, const ProcessInfo &rCurrentProcessInfo) const override
Definition: monolithic_2fluid_2d.cpp:754
MonolithicPFEM22D(IndexType NewId, const NodesArrayType &ThisNodes)
Definition: monolithic_2fluid_2d.h:67
void CalculatePressureProjection(const ProcessInfo &CurrentProcessInfo)
Definition: monolithic_2fluid_2d.cpp:857
std::vector< Dof< double >::Pointer > DofsVectorType
Definition: monolithic_2fluid_2d.h:58
void AddViscousTerm(BoundedMatrix< double, 12, 12 > &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)
MonolithicPFEM22D(IndexType NewId=0)
Default constructor.
Definition: monolithic_2fluid_2d.h:63
Vector VectorType
Definition: monolithic_2fluid_2d.h:53
std::size_t IndexType
Definition: monolithic_2fluid_2d.h:55
std::vector< std::size_t > EquationIdVectorType
Definition: monolithic_2fluid_2d.h:57
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: monolithic_2fluid_2d.cpp:34
void CalculateLocalSystem(MatrixType &rLeftHandSideMatrix, VectorType &rRightHandSideVector, const ProcessInfo &rCurrentProcessInfo) override
Definition: monolithic_2fluid_2d.cpp:75
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MonolithicPFEM22D)
Counted pointer of PFEM22D.
PointerVectorSet< Dof< double >, IndexedObject > DofsArrayType
Definition: monolithic_2fluid_2d.h:59
Properties PropertiesType
Definition: monolithic_2fluid_2d.h:48
virtual void AddViscousTerm(MatrixType &rDampMatrix, const BoundedMatrix< double, 3, 2 > &rShapeDeriv, double &Viscosity, const double Area)
Definition: monolithic_2fluid_2d.cpp:1126
PointerVector< PFEM_Particle_Fluid, PFEM_Particle_Fluid *, std::vector< PFEM_Particle_Fluid * > > ParticlePointerVector
Definition: monolithic_2fluid_2d.h:60
void AddViscousTerm(MatrixType &rDampMatrix, std::vector< Matrix > &gauss_gradients_discontinuous, array_1d< double, 3 > &volumes, array_1d< double, 3 > &viscosities, const int ndivisions)
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: monolithic_2fluid_2d.h:52
void AddExplicitContribution(const ProcessInfo &CurrentProcessInfo) override
Definition: monolithic_2fluid_2d.cpp:52
virtual ~ MonolithicPFEM22D() override
Destructor.
void GetDofList(DofsVectorType &ElementalDofList, const ProcessInfo &CurrentProcessInfo) const override
Definition: monolithic_2fluid_2d.cpp:804
std::size_t SizeType
Definition: monolithic_2fluid_2d.h:56
Geometry< NodeType > GeometryType
definition of the geometry type with given NodeType
Definition: monolithic_2fluid_2d.h:50
void InitializeSolutionStep(const ProcessInfo &CurrentProcessInfo) override
Definition: monolithic_2fluid_2d.cpp:744
bool InvertMatrix(const T &input, T &inverse)
Definition: monolithic_2fluid_2d.cpp:1173
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)
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
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
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
def load(f)
Definition: ode_solve.py:307