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