diff --git a/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h b/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h index 0b970e94929..9829fd5d474 100644 --- a/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h +++ b/ProcessLib/ThermoRichardsFlow/ThermoRichardsFlowFEM-impl.h @@ -577,12 +577,13 @@ void ThermoRichardsFlowLocalAssembler:: // // 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(variables, x_position, t, dt) * rho_LR; @@ -664,7 +665,7 @@ void ThermoRichardsFlowLocalAssembler:: 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 @@ -1043,12 +1044,12 @@ void ThermoRichardsFlowLocalAssembler::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(variables, x_position, t, dt) * rho_LR; diff --git a/ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/TRMVaporDiffusion.cpp b/ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/TRMVaporDiffusion.cpp index 349bbd454fd..78a69791035 100644 --- a/ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/TRMVaporDiffusion.cpp +++ b/ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/TRMVaporDiffusion.cpp @@ -102,12 +102,12 @@ void TRMVaporDiffusionModel::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(variables, x_t.x, x_t.t, x_t.dt) * rho_L_data.rho_LR; diff --git a/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/Decovalex-0-TRF.prj b/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/Decovalex-0-TRF.prj index 4f51f33c4be..aef19802af0 100644 --- a/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/Decovalex-0-TRF.prj +++ b/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/Decovalex-0-TRF.prj @@ -43,7 +43,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -192,7 +192,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -343,7 +343,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat diff --git a/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc/Decovalex-0-TRF.prj b/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc/Decovalex-0-TRF.prj index 1f13eb352ae..38a8b669827 100644 --- a/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc/Decovalex-0-TRF.prj +++ b/Tests/Data/ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc/Decovalex-0-TRF.prj @@ -43,7 +43,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -192,7 +192,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -343,7 +343,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat diff --git a/Tests/Data/ThermoRichardsMechanics/TaskCDECOVALEX2023/Decovalex-0.prj b/Tests/Data/ThermoRichardsMechanics/TaskCDECOVALEX2023/Decovalex-0.prj index d42515954b5..022f5f667d0 100644 --- a/Tests/Data/ThermoRichardsMechanics/TaskCDECOVALEX2023/Decovalex-0.prj +++ b/Tests/Data/ThermoRichardsMechanics/TaskCDECOVALEX2023/Decovalex-0.prj @@ -68,7 +68,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -207,7 +207,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat @@ -348,7 +348,7 @@ 0.8 - latent_heat + specific_latent_heat LinearWaterVapourLatentHeat