14 #if !defined(KRATOS_FLUID_ELEMENT_UTILITIES_H )
15 #define KRATOS_FLUID_ELEMENT_UTILITIES_H
51 template< std::
size_t TNumNodes >
119 const double DynamicViscosity,
129 const double DynamicViscosity,
Base class for data containers used within FluidElement and derived types.
Definition: fluid_element_data.h:37
Auxiliary and specialized functions for elements derived from FluidElement.
Definition: fluid_element_utilities.h:52
typename FluidElementData< 2, TNumNodes, false >::ShapeDerivativesType ShapeDerivatives2DType
Definition: fluid_element_utilities.h:60
~FluidElementUtilities()
Destructor.
Definition: fluid_element_utilities.cpp:19
static void VoigtTransformForProduct(const array_1d< double, 3 > &rVector, BoundedMatrix< double, 2, VoigtVector2DSize > &rVoigtMatrix)
Definition: fluid_element_utilities.cpp:105
static void GetStrainMatrix(const ShapeDerivatives2DType &rDNDX, BoundedMatrix< double, VoigtVector2DSize, 3 *TNumNodes > &rStrainMatrix)
Definition: fluid_element_utilities.cpp:23
static void DenseSystemSolve(const BoundedMatrix< double, 2, 2 > &rA, const array_1d< double, 2 > &rB, array_1d< double, 2 > &rX)
Definition: fluid_element_utilities.cpp:177
FluidElementUtilities()=delete
FluidElementUtilities(FluidElementUtilities const &rOther)=delete
Deleted copy constructor.
typename FluidElementData< 3, TNumNodes, false >::ShapeDerivativesType ShapeDerivatives3DType
Definition: fluid_element_utilities.h:61
static void GetNewtonianConstitutiveMatrix(const double DynamicViscosity, BoundedMatrix< double, VoigtVector2DSize, VoigtVector2DSize > &rConstitutiveMatrix)
Definition: fluid_element_utilities.cpp:58
constexpr static std::size_t VoigtVector2DSize
Definition: fluid_element_utilities.h:63
KRATOS_CLASS_POINTER_DEFINITION(FluidElementUtilities)
Pointer definition of FluidElementUtilities.
constexpr static std::size_t VoigtVector3DSize
Definition: fluid_element_utilities.h:64
static void SetTangentialProjectionMatrix(const array_1d< double, 3 > &rUnitNormal, BoundedMatrix< double, 2, 2 > &rTangProjMatrix)
Definition: fluid_element_utilities.cpp:156
FluidElementUtilities & operator=(FluidElementUtilities const &rOther)=delete
Deleted assignment operator.
static void SetNormalProjectionMatrix(const array_1d< double, 3 > &rUnitNormal, BoundedMatrix< double, 2, 2 > &rNormalProjMatrix)
Definition: fluid_element_utilities.cpp:136
Definition: amatrix_interface.h:41
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21