Skip to content
Snippets Groups Projects
Commit 3fa8abcf authored by Boyan Meng's avatar Boyan Meng
Browse files

read in the fluid properties: density, heat capacity and Darcy velocity

parent d9f6b97a
No related branches found
No related tags found
Loading
...@@ -89,6 +89,7 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>:: ...@@ -89,6 +89,7 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>::
auto const& medium = *_process_data.media_map->getMedium(_element_id); auto const& medium = *_process_data.media_map->getMedium(_element_id);
auto const& solid_phase = medium.phase("Solid"); auto const& solid_phase = medium.phase("Solid");
auto const& liquid_phase = medium.phase("AqueousLiquid");
MaterialPropertyLib::VariableArray vars; MaterialPropertyLib::VariableArray vars;
...@@ -114,11 +115,26 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>:: ...@@ -114,11 +115,26 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>::
MaterialPropertyLib::PropertyType::specific_heat_capacity) MaterialPropertyLib::PropertyType::specific_heat_capacity)
.template value<double>(vars, pos, t); .template value<double>(vars, pos, t);
auto const heat_capacity_f =
liquid_phase
.property(
MaterialPropertyLib::PropertyType::specific_heat_capacity)
.template value<double>(vars, pos, t);
auto const density_s = auto const density_s =
solid_phase.property(MaterialPropertyLib::PropertyType::density) solid_phase.property(MaterialPropertyLib::PropertyType::density)
.template value<double>(vars, pos, t); .template value<double>(vars, pos, t);
auto const density_f =
liquid_phase.property(MaterialPropertyLib::PropertyType::density)
.template value<double>(vars, pos, t);
// for now only using the solid phase parameters // for now only using the solid phase parameters
auto const velocity =
liquid_phase
.property(MaterialPropertyLib::PropertyType::phase_velocity)
.value(vars, pos, t);
// assemble Conductance matrix // assemble Conductance matrix
local_K.noalias() += K_ip * k_s; local_K.noalias() += K_ip * k_s;
......
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