Skip to content
Snippets Groups Projects
Commit ed965d36 authored by Tom Fischer's avatar Tom Fischer
Browse files

[PL/LiquidFlow] Mv MPL porosity to MPL solid phase.

parent 7c4e3943
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ void LiquidFlowLocalAssembler<ShapeFunction, IntegrationMethod, GlobalDim>::
t, dt);
auto const porosity =
medium->property(MaterialPropertyLib::PropertyType::porosity)
solid_phase.property(MaterialPropertyLib::PropertyType::porosity)
.template value<double>(vars, pos, t, dt);
auto const storage =
solid_phase.property(MaterialPropertyLib::PropertyType::storage)
......
......@@ -32,7 +32,6 @@ void checkMPLProperties(
std::array const requiredPropertyMedium = {
MaterialPropertyLib::reference_temperature,
MaterialPropertyLib::PropertyType::porosity,
MaterialPropertyLib::PropertyType::permeability};
std::array const requiredPropertyLiquidPhase = {
......@@ -40,6 +39,7 @@ void checkMPLProperties(
MaterialPropertyLib::PropertyType::density};
std::array const requiredPropertySolidPhase = {
MaterialPropertyLib::PropertyType::porosity,
MaterialPropertyLib::PropertyType::storage};
for (auto const& element : mesh.getElements())
......
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