Commit abd9c0c1 authored by wenqing's avatar wenqing
Browse files

Merge branch 'fix_specific_heat_capacity' into 'master'

[ThermoRichardsFlow] fix specific_heat_capacity

Closes #3176

See merge request !3732
parents 7afbb3d3 d212d60d
Pipeline #5751 failed with stages
in 66 minutes and 20 seconds
......@@ -537,7 +537,7 @@ void ThermoRichardsFlowLocalAssembler<
double const D_pv = D_v * drho_wv_dp;
if (gas_phase &&
gas_phase->hasProperty(MPL::PropertyType::heat_capacity))
gas_phase->hasProperty(MPL::PropertyType::specific_heat_capacity))
{
GlobalDimVectorType const grad_T = dNdx * T;
// Vapour velocity
......@@ -999,7 +999,7 @@ void ThermoRichardsFlowLocalAssembler<
double const D_pv = D_v * drho_wv_dp;
if (gas_phase &&
gas_phase->hasProperty(MPL::PropertyType::heat_capacity))
gas_phase->hasProperty(MPL::PropertyType::specific_heat_capacity))
{
GlobalDimVectorType const grad_T = dNdx * T;
GlobalDimVectorType const grad_p_cap = -dNdx * p_L;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment