13 #if !defined(KRATOS_FLUID_ELEMENT_DATA_H)
14 #define KRATOS_FLUID_ELEMENT_DATA_H
35 template<
size_t TDim,
size_t TNumNodes,
bool TElementIntegratesInTime >
55 constexpr
static unsigned int Dim = TDim;
58 constexpr
static unsigned int NumNodes = TNumNodes;
61 constexpr
static unsigned int StrainSize = (TDim-1)*3;
64 constexpr
static bool ElementManagesTimeIntegration = TElementIntegratesInTime;
90 virtual void UpdateGeometryValues(
91 unsigned int IntegrationPointIndex,
138 KRATOS_WARNING(
"FluidElementData") <<
"\'FillFromNodalData\' is deprecated. Use \'FillFromHistoricalNodalData\' instead." << std::endl;
139 FillFromHistoricalNodalData(rData, rVariable, rGeometry);
148 KRATOS_WARNING(
"FluidElementData") <<
"\'FillFromNodalData\' is deprecated. Use \'FillFromHistoricalNodalData\' instead." << std::endl;
149 FillFromHistoricalNodalData(rData, rVariable, rGeometry);
152 void FillFromHistoricalNodalData(
153 NodalScalarData &rData,
157 void FillFromHistoricalNodalData(
158 NodalVectorData &rData,
162 void FillFromHistoricalNodalData(
163 NodalTensorData& rData,
167 void FillFromHistoricalNodalData(NodalScalarData& rData,
const Variable<double>& rVariable,
const Geometry<Node>& rGeometry,
const unsigned int Step);
171 void FillFromNonHistoricalNodalData(
172 NodalScalarData& rData,
176 void FillFromNonHistoricalNodalData(
177 NodalVectorData& rData,
Base class for all Elements.
Definition: element.h:60
Base class for data containers used within FluidElement and derived types.
Definition: fluid_element_data.h:37
MatrixRow< Matrix > MatrixRowType
Definition: fluid_element_data.h:52
void FillFromNodalData(NodalVectorData &rData, const Variable< array_1d< double, 3 >> &rVariable, const Geometry< Node > &rGeometry)
Definition: fluid_element_data.h:143
unsigned int IntegrationPointIndex
Definition: fluid_element_data.h:100
double Weight
Definition: fluid_element_data.h:102
ShapeFunctionsType N
Definition: fluid_element_data.h:104
FluidElementData(FluidElementData const &rOther)=delete
(deleted) copy constructor.
Vector StrainRate
Strain rate (symmetric gradient of velocity) vector in Voigt notation.
Definition: fluid_element_data.h:110
ConstitutiveLaw::Parameters ConstitutiveLawValues
Constitutive law configuration (stored here to avoid re-initialization within the element).
Definition: fluid_element_data.h:121
std::array< BoundedMatrix< double, TDim, TDim >, TNumNodes > NodalTensorData
Definition: fluid_element_data.h:46
Vector ShearStress
Shear stress vector in Voigt notation.
Definition: fluid_element_data.h:114
FluidElementData & operator=(FluidElementData const &rOther)=delete
(deleted) assignment operator.
double EffectiveViscosity
Effective viscosity (in dynamic units) produced by the constitutive law.
Definition: fluid_element_data.h:124
ShapeDerivativesType DN_DX
Definition: fluid_element_data.h:106
void FillFromNodalData(NodalScalarData &rData, const Variable< double > &rVariable, const Geometry< Node > &rGeometry)
Definition: fluid_element_data.h:133
Matrix C
Constitutive tensor C (expressed as a Matrix).
Definition: fluid_element_data.h:118
Geometry base class.
Definition: geometry.h:71
Definition: amatrix_interface.h:41
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
#define KRATOS_WARNING(label)
Definition: logger.h:265
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
AMatrix::MatrixRow< TExpressionType > MatrixRow
Definition: amatrix_interface.h:492
Definition: constitutive_law.h:189