Skip to content
Snippets Groups Projects
Commit a41c5269 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL/RM] Fix permeability computation in v output.

Now the permeability computation in RM requires the porosity to be set
in the .
parent 426d4f6f
No related branches found
No related tags found
No related merge requests found
...@@ -777,6 +777,9 @@ std::vector<double> const& RichardsMechanicsLocalAssembler< ...@@ -777,6 +777,9 @@ std::vector<double> const& RichardsMechanicsLocalAssembler<
.template value<double>(variables, x_position, t, dt); .template value<double>(variables, x_position, t, dt);
variables[static_cast<int>(MPL::Variable::temperature)] = temperature; variables[static_cast<int>(MPL::Variable::temperature)] = temperature;
variables[static_cast<int>(MPL::Variable::porosity)] =
_ip_data[ip].porosity;
auto const mu = liquid_phase.property(MPL::PropertyType::viscosity) auto const mu = liquid_phase.property(MPL::PropertyType::viscosity)
.template value<double>(variables, x_position, t, dt); .template value<double>(variables, x_position, t, dt);
auto const rho_LR = auto const rho_LR =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment