36 template<
size_t TDim,
size_t TNumNodes >
44 static_assert(TDim == 2,
"AxisymmetricNavierStokesData can only be instantiated with TDim equal to 2.");
102 const auto& r_BDF_vector = rProcessInfo[BDF_COEFFICIENTS];
103 bdf0 = r_BDF_vector[0];
104 bdf1 = r_BDF_vector[1];
105 bdf2 = r_BDF_vector[2];
126 for (
unsigned int i = 0;
i < TNumNodes;
i++)
Definition: axisymmetric_navier_stokes_data.h:38
NodalVectorData MeshVelocity
Definition: axisymmetric_navier_stokes_data.h:58
void Initialize(const Element &rElement, const ProcessInfo &rProcessInfo) override
Definition: axisymmetric_navier_stokes_data.h:82
BoundedMatrix< double, TNumNodes *(TDim+1), TNumNodes *(TDim+1)> lhs
Definition: axisymmetric_navier_stokes_data.h:73
double bdf0
Definition: axisymmetric_navier_stokes_data.h:68
static int Check(const Element &rElement, const ProcessInfo &rProcessInfo)
Definition: axisymmetric_navier_stokes_data.h:123
NodalVectorData BodyForce
Definition: axisymmetric_navier_stokes_data.h:59
NodalScalarData Pressure
Definition: axisymmetric_navier_stokes_data.h:61
typename FluidElementData< TDim, TNumNodes, true >::NodalScalarData NodalScalarData
Definition: axisymmetric_navier_stokes_data.h:46
void UpdateGeometryValues(const unsigned int IntegrationPointIndex, double NewWeight, const MatrixRowType &rN, const BoundedMatrix< double, TNumNodes, TDim > &rDN_DX) override
Definition: axisymmetric_navier_stokes_data.h:113
double bdf1
Definition: axisymmetric_navier_stokes_data.h:69
double Density
Definition: axisymmetric_navier_stokes_data.h:63
array_1d< double, TNumNodes *(TDim+1)> rhs
Definition: axisymmetric_navier_stokes_data.h:74
double ElementSize
Definition: axisymmetric_navier_stokes_data.h:76
double DeltaTime
Definition: axisymmetric_navier_stokes_data.h:65
typename FluidElementData< TDim, TNumNodes, true >::MatrixRowType MatrixRowType
Definition: axisymmetric_navier_stokes_data.h:49
NodalVectorData Velocity
Definition: axisymmetric_navier_stokes_data.h:55
typename FluidElementData< TDim, TNumNodes, true >::ShapeFunctionsType ShapeFunctionsType
Definition: axisymmetric_navier_stokes_data.h:48
double DynamicViscosity
Definition: axisymmetric_navier_stokes_data.h:64
NodalVectorData Velocity_OldStep2
Definition: axisymmetric_navier_stokes_data.h:57
NodalVectorData Velocity_OldStep1
Definition: axisymmetric_navier_stokes_data.h:56
typename FluidElementData< TDim, TNumNodes, true >::NodalVectorData NodalVectorData
Definition: axisymmetric_navier_stokes_data.h:47
double DynamicTau
Definition: axisymmetric_navier_stokes_data.h:66
double bdf2
Definition: axisymmetric_navier_stokes_data.h:70
Base class for all Elements.
Definition: element.h:60
PropertiesType & GetProperties()
Definition: element.h:1024
static double MinimumElementSize(const Geometry< Node > &rGeometry)
Minimum element size based on the geometry.
Base class for data containers used within FluidElement and derived types.
Definition: fluid_element_data.h:37
void FillFromProperties(double &rData, const Variable< double > &rVariable, const Properties &rProperties)
Definition: fluid_element_data.cpp:192
void FillFromHistoricalNodalData(NodalScalarData &rData, const Variable< double > &rVariable, const Geometry< Node > &rGeometry)
Definition: fluid_element_data.cpp:65
virtual void Initialize(const Element &rElement, const ProcessInfo &rProcessInfo)
Definition: fluid_element_data.cpp:18
unsigned int IntegrationPointIndex
Definition: fluid_element_data.h:100
virtual void UpdateGeometryValues(unsigned int IntegrationPointIndex, double NewWeight, const MatrixRowType &rN, const ShapeDerivativesType &rDN_DX)
Definition: fluid_element_data.cpp:52
void FillFromProcessInfo(double &rData, const Variable< double > &rVariable, const ProcessInfo &rProcessInfo)
Definition: fluid_element_data.cpp:153
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
Definition: amatrix_interface.h:41
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Short class definition.
Definition: array_1d.h:61
#define KRATOS_CHECK_VARIABLE_IN_NODAL_DATA(TheVariable, TheNode)
Definition: checks.h:171
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
KratosZeroMatrix< double > ZeroMatrix
Definition: amatrix_interface.h:559
T & noalias(T &TheMatrix)
Definition: amatrix_interface.h:484
TABLE_NUMBER_ANGULAR_VELOCITY TABLE_NUMBER_MOMENT I33 BEAM_INERTIA_ROT_UNIT_LENGHT_Y KRATOS_DEFINE_APPLICATION_VARIABLE(DEM_APPLICATION, double, BEAM_INERTIA_ROT_UNIT_LENGHT_Z) typedef std double
Definition: DEM_application_variables.h:182
integer i
Definition: TensorModule.f:17