Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MostafaMollaali
dynamic
Commits
3fa8abcf
Commit
3fa8abcf
authored
5 years ago
by
Boyan Meng
Browse files
Options
Downloads
Patches
Plain Diff
read in the fluid properties: density, heat capacity and Darcy velocity
parent
d9f6b97a
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h
+16
-0
16 additions, 0 deletions
...LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h
with
16 additions
and
0 deletions
ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h
+
16
−
0
View file @
3fa8abcf
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment