OGS
SolidDensity.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
13#include "Biot.h"
17
18namespace ProcessLib::TH2M
19{
20namespace ConstitutiveRelations
21{
26
28{
29 double rho_SR = nan;
30
31 static auto reflect()
32 {
33 using Self = SolidDensityData;
34 namespace R = ProcessLib::Reflection;
35
36 return std::tuple{
37 R::makeReflectionData("solid_density", &Self::rho_SR)};
38 }
39};
40
42{
43 void eval(SpaceTimeData const& x_t,
44 MediaData const& media_data,
45 TemperatureData const& T_data,
46 SolidDensityData& solid_density_data) const;
47
48 void dEval(SpaceTimeData const& x_t,
49 MediaData const& media_data,
50 TemperatureData const& T_data,
51 SolidDensityDerivativeData& solid_density_d_data) const;
52};
53
54template <int DisplacementDim>
56{
57 void eval(
58 SpaceTimeData const& x_t,
59 MediaData const& media_data,
60 TemperatureData const& T_data,
61 BiotData const& biot,
62 StrainData<DisplacementDim> const& strain_data,
63 SolidThermalExpansionData<DisplacementDim> const& s_therm_exp_data,
64 SolidDensityData& solid_density_data) const;
65
66 void dEval(
67 SpaceTimeData const& x_t,
68 MediaData const& media_data,
69 TemperatureData const& T_data,
70 BiotData const& biot,
71 StrainData<DisplacementDim> const& strain_data,
72 SolidThermalExpansionData<DisplacementDim> const& s_therm_exp_data,
73 SolidDensityDerivativeData& solid_density_d_data) const;
74};
75
78} // namespace ConstitutiveRelations
79} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80
void dEval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, BiotData const &biot, StrainData< DisplacementDim > const &strain_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, SolidDensityDerivativeData &solid_density_d_data) const
void eval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, BiotData const &biot, StrainData< DisplacementDim > const &strain_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, SolidDensityData &solid_density_data) const
void dEval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, SolidDensityDerivativeData &solid_density_d_data) const
void eval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, SolidDensityData &solid_density_data) const