14 #if !defined(KRATOS_THERMAL_FACE_H_INCLUDED )
15 #define KRATOS_THERMAL_FACE_H_INCLUDED
70 return InterpolateInGaussPoint(UnknownValues);
75 return InterpolateInGaussPoint(FaceHeatFluxValues);
80 double gauss_pt_val = 0.0;
81 for (
unsigned int i = 0;
i <
N.size(); ++
i) {
82 gauss_pt_val +=
N[
i] * rNodalValues[
i];
92 constexpr
static double StefanBoltzmann = 5.67e-8;
105 Properties::Pointer pProperties);
114 Condition::Pointer
Create(
117 Properties::Pointer pProperties)
const override;
119 Condition::Pointer
Create(
121 GeometryType::Pointer pGeom,
122 Properties::Pointer pProperties)
const override;
124 void CalculateLocalSystem(
129 void CalculateLeftHandSide(
133 void CalculateRightHandSide(
137 void EquationIdVector(
139 const ProcessInfo& rCurrentProcessInfo)
const override;
143 const ProcessInfo& CurrentProcessInfo)
const override;
154 std::vector<double>& rValues,
164 std::vector<Vector>& rValues,
169 std::vector<Matrix>& rValues,
177 std::string
Info()
const override;
180 void PrintInfo(std::ostream& rOStream)
const override;
183 void PrintData(std::ostream& rOStream)
const override;
207 virtual void SetIntegrationWeight(
210 const Vector& rJacobianDeterminantsVector,
213 void AddIntegrationPointRHSContribution(
217 void AddIntegrationPointLHSContribution(
221 void FillConditionDataStructure(
233 void save(
Serializer& rSerializer)
const override;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Base class for all Conditions.
Definition: condition.h:59
std::vector< std::size_t > EquationIdVectorType
Definition: condition.h:98
std::vector< DofType::Pointer > DofsVectorType
Definition: condition.h:100
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
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
A basic Neumann condition for convection-diffusion problems.
Definition: thermal_face.h:44
Condition::MatrixType MatrixType
Definition: thermal_face.h:88
Condition::VectorType VectorType
Definition: thermal_face.h:89
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(ThermalFace)
Pointer definition of ThermalFace.
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
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
def load(f)
Definition: ode_solve.py:307
N
Definition: sensitivityMatrix.py:29
integer i
Definition: TensorModule.f:17
Gauss pt. data structure Auxiliar data structure to pass the Gauss pt. data.
Definition: thermal_face.h:57
double AmbientTemperature
Definition: thermal_face.h:63
double GaussPointUnknown() const
Definition: thermal_face.h:68
double GaussPointFaceHeatFlux() const
Definition: thermal_face.h:73
double Emissivity
Definition: thermal_face.h:62
double ConvectionCoefficient
Definition: thermal_face.h:64
Vector UnknownValues
Definition: thermal_face.h:65
Vector N
Definition: thermal_face.h:60
array_1d< double, 3 > Normal
Definition: thermal_face.h:59
Vector FaceHeatFluxValues
Definition: thermal_face.h:66
double InterpolateInGaussPoint(const Vector &rNodalValues) const
Definition: thermal_face.h:78
double Weight
Definition: thermal_face.h:58