12 #if !defined(KRATOS_EULERIAN_CONVECTION_DIFFUSION_ELEMENT_INCLUDED )
13 #define KRATOS_EULERIAN_CONVECTION_DIFFUSION_ELEMENT_INCLUDED
30 #include "utilities/geometry_utilities.h"
38 template<
unsigned int TDim,
unsigned int TNumNodes>
59 :
Element(NewId, pGeometry, pProperties)
70 PropertiesType::Pointer pProperties
73 return Kratos::make_intrusive<EulerianConvectionDiffusionElement>(NewId, GetGeometry().
Create(ThisNodes), pProperties);
78 GeometryType::Pointer pGeom,
79 PropertiesType::Pointer pProperties
82 return Kratos::make_intrusive<EulerianConvectionDiffusionElement>(NewId, pGeom, pProperties);
85 void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
87 void GetDofList(DofsVectorType& ElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
91 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo)
override;
95 std::string
Info()
const override
97 return "EulerianConvectionDiffusionElement #";
104 rOStream <<
Info() << Id();
138 double CalculateTau(
const ElementVariables& rVariables,
double norm_vel,
double h);
151 void save(
Serializer& rSerializer)
const override
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Base class for all Elements.
Definition: element.h:60
formulation described in https://docs.google.com/document/d/13a_zGLj6xORDuLgoOG5LwHI6BwShvfO166opZ815...
Definition: eulerian_conv_diff.h:41
EulerianConvectionDiffusionElement()
Default constructor.
Definition: eulerian_conv_diff.h:50
virtual ~EulerianConvectionDiffusionElement()
Destructor.
Definition: eulerian_conv_diff.h:63
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(EulerianConvectionDiffusionElement)
Counted pointer of.
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: eulerian_conv_diff.h:67
Element::Pointer Create(IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: eulerian_conv_diff.h:76
EulerianConvectionDiffusionElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: eulerian_conv_diff.h:58
EulerianConvectionDiffusionElement(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: eulerian_conv_diff.h:54
std::string Info() const override
Turn back information as a string.
Definition: eulerian_conv_diff.h:95
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: eulerian_conv_diff.h:102
std::size_t IndexType
Definition: flags.h:74
Definition: amatrix_interface.h:41
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
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
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
h
Definition: generate_droplet_dynamics.py:91
def load(f)
Definition: ode_solve.py:307
Definition: eulerian_conv_diff.h:112
double div_v
Definition: eulerian_conv_diff.h:121
double lumping_factor
Definition: eulerian_conv_diff.h:116
double conductivity
Definition: eulerian_conv_diff.h:117
double specific_heat
Definition: eulerian_conv_diff.h:118
double theta
Definition: eulerian_conv_diff.h:113
double dyn_st_beta
Definition: eulerian_conv_diff.h:114
array_1d< double, TNumNodes > volumetric_source
Definition: eulerian_conv_diff.h:125
array_1d< array_1d< double, 3 >, TNumNodes > v
Definition: eulerian_conv_diff.h:126
array_1d< double, TNumNodes > phi
Definition: eulerian_conv_diff.h:123
double dt_inv
Definition: eulerian_conv_diff.h:115
double beta
Definition: eulerian_conv_diff.h:120
array_1d< array_1d< double, 3 >, TNumNodes > vold
Definition: eulerian_conv_diff.h:127
array_1d< double, TNumNodes > phi_old
Definition: eulerian_conv_diff.h:124
double density
Definition: eulerian_conv_diff.h:119