10 #if !defined(KRATOS_THERMAL_ELEMENT_H_INCLUDED )
11 #define KRATOS_THERMAL_ELEMENT_H_INCLUDED
20 #include "custom_utilities/element_utilities.hpp"
110 pNcontainer=&rNcontainer;
192 void GetDofList(DofsVectorType& rElementalDofList,
const ProcessInfo& rCurrentProcessInfo)
const override;
197 void EquationIdVector(EquationIdVectorType& rResult,
const ProcessInfo& rCurrentProcessInfo)
const override;
202 void GetValuesVector(
Vector& rValues,
int Step = 0)
const override;
207 void GetFirstDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
212 void GetSecondDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
250 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
262 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
285 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo)
override;
293 void CalculateLeftHandSide (
MatrixType& rLeftHandSideMatrix,
const ProcessInfo& rCurrentProcessInfo)
override;
309 void CalculateDampingMatrix(
MatrixType& rDampingMatrix,
const ProcessInfo& rCurrentProcessInfo)
override;
338 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
390 virtual void CalculateElementalSystem(
MatrixType& rLeftHandSideMatrix,
393 Flags & rCalculationFlags);
403 virtual void CalculateAndAddLHS(
MatrixType& rLeftHandSideMatrix,
404 GeneralVariables& rVariables,
405 double& rIntegrationWeight);
411 virtual void CalculateAndAddRHS(
VectorType& rRightHandSideVector,
412 GeneralVariables& rVariables,
414 double& rIntegrationWeight);
421 virtual void CalculateAndAddKthermal(
MatrixType& rK,
422 GeneralVariables & rVariables,
423 double& rIntegrationWeight
429 virtual void CalculateAndAddHthermal(
MatrixType& rK,
430 GeneralVariables & rVariables,
431 double& rIntegrationWeight
438 virtual void CalculateAndAddMthermal(
MatrixType& rM,
439 GeneralVariables & rVariables,
440 double& rIntegrationWeight
447 virtual void CalculateAndAddExternalForces(GeneralVariables& rVariables,
450 double& rIntegrationWeight
457 virtual void CalculateAndAddThermalForces(GeneralVariables & rVariables,
459 double& rIntegrationWeight
466 virtual void InitializeSystemMatrices(
MatrixType& rLeftHandSideMatrix,
468 Flags& rCalculationFlags);
479 const double& rPointNumber);
492 virtual double& CalculateIntegrationWeight(
double & rIntegrationWeight);
542 void save(
Serializer& rSerializer)
const override;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: constitutive_law.h:47
StressMeasure
Definition: constitutive_law.h:69
Base class for all Elements.
Definition: element.h:60
IntegrationMethod
Definition: geometry_data.h:76
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
Definition: thermal_element.hpp:41
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: thermal_element.hpp:51
ThermalElement()
Definition: thermal_element.hpp:381
void InitializeVariables()
IntegrationMethod mThisIntegrationMethod
Definition: thermal_element.hpp:376
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: thermal_element.hpp:49
KRATOS_DEFINE_LOCAL_FLAG(COMPUTE_LHS_MATRIX)
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: thermal_element.hpp:53
KRATOS_DEFINE_LOCAL_FLAG(COMPUTE_RHS_VECTOR)
ConstitutiveLaw ConstitutiveLawType
Definition: thermal_element.hpp:47
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ThermalElement)
Counted pointer of ThermalElement.
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
void SetValuesOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const std::vector< TDataType > &values, const ProcessInfo &rCurrentProcessInfo)
Definition: add_mesh_to_python.cpp:185
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
void InitializeSolutionStep(ConstructionUtility &rThisUtil, std::string ThermalSubModelPartName, std::string MechanicalSubModelPartName, std::string HeatFluxSubModelPartName, std::string HydraulicPressureSubModelPartName, bool thermal_conditions, bool mechanical_conditions, int phase)
Definition: add_custom_utilities_to_python.cpp:45
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: thermal_element.hpp:74
double PlasticDissipation
Definition: thermal_element.hpp:84
double detJ
Definition: thermal_element.hpp:88
Vector N
Definition: thermal_element.hpp:89
double HeatConductivity
Definition: thermal_element.hpp:83
void SetShapeFunctionsGradients(const GeometryType::ShapeFunctionsGradientsType &rDN_De)
Definition: thermal_element.hpp:103
const Matrix * pNcontainer
Definition: thermal_element.hpp:96
const GeometryType::ShapeFunctionsGradientsType * pDN_De
Definition: thermal_element.hpp:93
GeometryType::JacobiansType j
Definition: thermal_element.hpp:95
Matrix DeltaPosition
Definition: thermal_element.hpp:97
const GeometryType::ShapeFunctionsGradientsType & GetShapeFunctionsGradients()
Definition: thermal_element.hpp:118
double CurrentRadius
Definition: thermal_element.hpp:77
const Matrix & GetShapeFunctions()
Definition: thermal_element.hpp:123
double ReferenceRadius
Definition: thermal_element.hpp:78
Matrix DN_DX
Definition: thermal_element.hpp:90
double DeltaPlasticDissipation
Definition: thermal_element.hpp:85
double DeltaTime
Definition: thermal_element.hpp:81
GeometryType::JacobiansType J
Definition: thermal_element.hpp:94
void SetShapeFunctions(const Matrix &rNcontainer)
Definition: thermal_element.hpp:108
double HeatCapacity
Definition: thermal_element.hpp:82