14 #if !defined(KRATOS_STEADY_CONVECTION_DIFFUSION_FIC_ELEMENT_H_INCLUDED )
15 #define KRATOS_STEADY_CONVECTION_DIFFUSION_FIC_ELEMENT_H_INCLUDED
26 #include "custom_utilities/element_utilities.hpp"
35 template<
unsigned int TDim,
unsigned int TNumNodes >
73 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
75 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
79 void InitializeNonLinearIteration(
const ProcessInfo& rCurrentProcessInfo)
override;
81 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
91 void GetDofList( DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo )
const override;
97 void CalculateLeftHandSide(
MatrixType& rLeftHandSideMatrix,
const ProcessInfo& rCurrentProcessInfo )
override;
99 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo )
override;
101 void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
253 void CalculateIntegrationCoefficient(
double& rIntegrationCoefficient,
const double& detJ,
const double& weight);
256 virtual void CalculateRHS(
VectorType& rRightHandSideVector,
const ProcessInfo& CurrentProcessInfo );
271 void save(
Serializer& rSerializer)
const override
282 SteadyConvectionDiffusionFICElement &
operator=(SteadyConvectionDiffusionFICElement
const& rOther);
285 SteadyConvectionDiffusionFICElement(SteadyConvectionDiffusionFICElement
const& rOther);
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Base class for all Elements.
Definition: element.h:60
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
This class defines the node.
Definition: node.h:65
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
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
Definition: steady_convection_diffusion_FIC_element.hpp:37
void ExtrapolateGPValues(const Matrix &GradPhiContainer)
Geometry< NodeType >::PointsArrayType NodesArrayType
Definition: steady_convection_diffusion_FIC_element.hpp:47
void CalculateNormalsAngle(ElementVariables &rVariables)
Geometry< NodeType > GeometryType
Definition: steady_convection_diffusion_FIC_element.hpp:46
void CalculateBoundaryLv(ElementVariables &rVariables)
SteadyConvectionDiffusionFICElement(IndexType NewId=0)
Default Constructor.
Definition: steady_convection_diffusion_FIC_element.hpp:55
Vector VectorType
Definition: steady_convection_diffusion_FIC_element.hpp:48
void CalculateDifTerm(ElementVariables &rVariables)
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(SteadyConvectionDiffusionFICElement)
virtual ~SteadyConvectionDiffusionFICElement()
Destructor.
Definition: steady_convection_diffusion_FIC_element.hpp:67
SteadyConvectionDiffusionFICElement(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: steady_convection_diffusion_FIC_element.hpp:61
std::size_t IndexType
Definition: steady_convection_diffusion_FIC_element.hpp:43
Matrix MatrixType
Definition: steady_convection_diffusion_FIC_element.hpp:49
Node NodeType
Definition: steady_convection_diffusion_FIC_element.hpp:45
SteadyConvectionDiffusionFICElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: steady_convection_diffusion_FIC_element.hpp:64
SteadyConvectionDiffusionFICElement(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: steady_convection_diffusion_FIC_element.hpp:58
Properties PropertiesType
Definition: steady_convection_diffusion_FIC_element.hpp:44
#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
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307
Definition: steady_convection_diffusion_FIC_element.hpp:112
double AuxDiffusion
Definition: steady_convection_diffusion_FIC_element.hpp:135
BoundedMatrix< double, TNumNodes, TNumNodes > FICMatrixAuxTwo
Definition: steady_convection_diffusion_FIC_element.hpp:195
array_1d< double, TDim > GradPhi
Definition: steady_convection_diffusion_FIC_element.hpp:152
double SigmaV
Definition: steady_convection_diffusion_FIC_element.hpp:124
double NormAux2
Definition: steady_convection_diffusion_FIC_element.hpp:130
array_1d< double, TDim > FICVectorAuxOne
Definition: steady_convection_diffusion_FIC_element.hpp:153
array_1d< double, TDim > HvVector
Definition: steady_convection_diffusion_FIC_element.hpp:149
BoundedMatrix< double, TDim, TNumNodes > FICMatrixAuxOne
Definition: steady_convection_diffusion_FIC_element.hpp:192
double XiV
Definition: steady_convection_diffusion_FIC_element.hpp:128
array_1d< double, TNumNodes > N
Definition: steady_convection_diffusion_FIC_element.hpp:181
int IterationNumber
Definition: steady_convection_diffusion_FIC_element.hpp:146
double LambdaV
Definition: steady_convection_diffusion_FIC_element.hpp:127
array_1d< double, TDim > HrVector
Definition: steady_convection_diffusion_FIC_element.hpp:150
double AlphaVBar
Definition: steady_convection_diffusion_FIC_element.hpp:116
double TransientResidual
Definition: steady_convection_diffusion_FIC_element.hpp:144
BoundedMatrix< double, TDim, TDim > DifMatrixK
Definition: steady_convection_diffusion_FIC_element.hpp:156
double Peclet
Definition: steady_convection_diffusion_FIC_element.hpp:115
BoundedMatrix< double, TDim, TDim > DifMatrix
Definition: steady_convection_diffusion_FIC_element.hpp:155
double IntegrationCoefficient
Variables computed at each GP.
Definition: steady_convection_diffusion_FIC_element.hpp:179
double OmegaVBarra
Definition: steady_convection_diffusion_FIC_element.hpp:123
BoundedMatrix< double, TDim, TDim > DifMatrixR
Definition: steady_convection_diffusion_FIC_element.hpp:159
array_1d< array_1d< double, TNumNodes >, TDim > NodalPhiGradient
Definition: steady_convection_diffusion_FIC_element.hpp:169
double Courant
Definition: steady_convection_diffusion_FIC_element.hpp:140
BoundedMatrix< double, TNumNodes, TNumNodes > MatrixAux
Definition: steady_convection_diffusion_FIC_element.hpp:191
BoundedMatrix< double, TDim, TDim > DifMatrixS
Definition: steady_convection_diffusion_FIC_element.hpp:158
BoundedMatrix< double, TNumNodes, TDim > DifMatrixAux
Definition: steady_convection_diffusion_FIC_element.hpp:190
array_1d< double, TNumNodes > NodalPhi
ProcessInfo variables.
Definition: steady_convection_diffusion_FIC_element.hpp:167
double CosinusGradPhi
Definition: steady_convection_diffusion_FIC_element.hpp:137
double OmegaV
Definition: steady_convection_diffusion_FIC_element.hpp:121
array_1d< array_1d< double, TDim >, TDim > SecondGradPhi
Definition: steady_convection_diffusion_FIC_element.hpp:170
double AlphaR
Definition: steady_convection_diffusion_FIC_element.hpp:118
double Beta
Definition: steady_convection_diffusion_FIC_element.hpp:131
BoundedMatrix< double, TNumNodes, TNumNodes > AbpMatrixAux
Definition: steady_convection_diffusion_FIC_element.hpp:189
BoundedMatrix< double, TDim, TDim > IdentityMatrix
Definition: steady_convection_diffusion_FIC_element.hpp:162
double DifSC
Definition: steady_convection_diffusion_FIC_element.hpp:134
BoundedMatrix< double, TDim, TDim > DifMatrixSC
Definition: steady_convection_diffusion_FIC_element.hpp:160
array_1d< double, TDim > HscVector
Definition: steady_convection_diffusion_FIC_element.hpp:151
double LowTolerance
Definition: steady_convection_diffusion_FIC_element.hpp:138
array_1d< double, TDim > VelInter
Definition: steady_convection_diffusion_FIC_element.hpp:182
double SigmaVt
Definition: steady_convection_diffusion_FIC_element.hpp:125
BoundedMatrix< double, TDim, TDim > DifMatrixV
Definition: steady_convection_diffusion_FIC_element.hpp:157
array_1d< double, TDim > HVector
Definition: steady_convection_diffusion_FIC_element.hpp:148
double HighTolerance
Definition: steady_convection_diffusion_FIC_element.hpp:139
array_1d< double, TDim > VelInterHat
Definition: steady_convection_diffusion_FIC_element.hpp:183
double lv
Definition: steady_convection_diffusion_FIC_element.hpp:119
double rho_dot_c
Properties variables.
Definition: steady_convection_diffusion_FIC_element.hpp:114
double AlphaV
Definition: steady_convection_diffusion_FIC_element.hpp:117
BoundedMatrix< double, TNumNodes, TNumNodes > DifMatrixAuxTwo
Definition: steady_convection_diffusion_FIC_element.hpp:194
double lsc
Definition: steady_convection_diffusion_FIC_element.hpp:120
double NormGradPhi
Definition: steady_convection_diffusion_FIC_element.hpp:132
double QSource
Definition: steady_convection_diffusion_FIC_element.hpp:180
double OmegaVt
Definition: steady_convection_diffusion_FIC_element.hpp:122
double CosinusNormals
Definition: steady_convection_diffusion_FIC_element.hpp:136
array_1d< double, TNumNodes > NodalQSource
Definition: steady_convection_diffusion_FIC_element.hpp:171
double SigmaVBarra
Definition: steady_convection_diffusion_FIC_element.hpp:126
BoundedMatrix< double, TNumNodes, TDim > GradNT
Definition: steady_convection_diffusion_FIC_element.hpp:184
BoundedMatrix< double, TNumNodes, TDim > AdvMatrixAux
Definition: steady_convection_diffusion_FIC_element.hpp:188
double TransientAbsorption
Definition: steady_convection_diffusion_FIC_element.hpp:143
double absorption
Definition: steady_convection_diffusion_FIC_element.hpp:133
BoundedMatrix< double, TNumNodes, TNumNodes > AdvMatrixAuxTwo
Definition: steady_convection_diffusion_FIC_element.hpp:193
double Residual
Definition: steady_convection_diffusion_FIC_element.hpp:129
array_1d< array_1d< double, 3 >, TNumNodes > NodalVel
Definition: steady_convection_diffusion_FIC_element.hpp:172