Skip to content

Commit

Permalink
rename latent_heat -> specific_latent_heat
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbuchwald committed Nov 28, 2023
1 parent 4226dde commit 05a2995
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
11 changes: 6 additions & 5 deletions ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,13 @@ void ThermoRichardsFlowLocalAssembler<ShapeFunction, GlobalDim>::
//
// Latent heat term
//
if (gas_phase->hasProperty(MPL::PropertyType::latent_heat))
if (gas_phase->hasProperty(
MPL::PropertyType::specific_latent_heat))
{
double const factor = phi * (1 - S_L) / rho_LR;
// The volumetric latent heat of vaporization of liquid water
double const L0 =
gas_phase->property(MPL::PropertyType::latent_heat)
gas_phase->property(MPL::PropertyType::specific_latent_heat)
.template value<double>(variables, x_position, t, dt) *
rho_LR;

Expand Down Expand Up @@ -664,7 +665,7 @@ void ThermoRichardsFlowLocalAssembler<ShapeFunction, GlobalDim>::
M_pT * (T - T_prev) / dt;
if (gas_phase)
{
if (gas_phase->hasProperty(MPL::PropertyType::latent_heat))
if (gas_phase->hasProperty(MPL::PropertyType::specific_latent_heat))
{
// Jacobian: temperature equation, pressure part
local_Jac
Expand Down Expand Up @@ -1043,12 +1044,12 @@ void ThermoRichardsFlowLocalAssembler<ShapeFunction, GlobalDim>::assemble(
//
// Latent heat term
//
if (gas_phase->hasProperty(MPL::PropertyType::latent_heat))
if (gas_phase->hasProperty(MPL::PropertyType::specific_latent_heat))
{
double const factor = phi * (1 - S_L) / rho_LR;
// The volumetric latent heat of vaporization of liquid water
double const L0 =
gas_phase->property(MPL::PropertyType::latent_heat)
gas_phase->property(MPL::PropertyType::specific_latent_heat)
.template value<double>(variables, x_position, t, dt) *
rho_LR;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ void TRMVaporDiffusionModel<DisplacementDim>::eval(
//
// Latent heat term
//
if (gas_phase->hasProperty(MPL::PropertyType::latent_heat))
if (gas_phase->hasProperty(MPL::PropertyType::specific_latent_heat))
{
double const factor = phi * (1 - S_L_data.S_L) / rho_L_data.rho_LR;
// The volumetric latent heat of vaporization of liquid water
double const L0 =
gas_phase->property(MPL::PropertyType::latent_heat)
gas_phase->property(MPL::PropertyType::specific_latent_heat)
.template value<double>(variables, x_t.x, x_t.t, x_t.dt) *
rho_L_data.rho_LR;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -192,7 +192,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -343,7 +343,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -192,7 +192,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -343,7 +343,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -207,7 +207,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down Expand Up @@ -348,7 +348,7 @@
<tortuosity>0.8</tortuosity>
</property>
<property>
<name>latent_heat</name>
<name>specific_latent_heat</name>
<type>LinearWaterVapourLatentHeat</type>
</property>
<property>
Expand Down

0 comments on commit 05a2995

Please sign in to comment.