Skip to content

Commit

Permalink
Fixed unused initial_porosity
Browse files Browse the repository at this point in the history
  • Loading branch information
cticenhour authored and Nathaniel A. Peat committed Dec 1, 2022
1 parent 56a65a9 commit 58fe0c8
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Units in the input file: m-Pa-s-K

initial_porosity = 0.38
initial_temperature = 300 #roughly 600C where the pyrometer kicks in

[GlobalParams]
Expand Down Expand Up @@ -62,8 +63,7 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in
[specific_heat_capacity_va]
initial_condition = 842.2 # at 1500K #568.73 at 1000K #447.281 # at 293K
[]
[density_va]
initial_condition = 3106.2 ##5010.0*(1-${initial_porosity}) #in kg/m^3
[density_va] # initial condition set in ICs block below
[]
[heat_transfer_radiation]
[]
Expand All @@ -73,6 +73,14 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in
[]
[]

[ICs]
[density_va_ic]
type = FunctionIC
variable = density_va
function = '5010.0*(1-${initial_porosity})' # 3106.2 in kg/m^3
[]
[]

[Modules]
[TensorMechanics/Master]
[graphite]
Expand Down

0 comments on commit 58fe0c8

Please sign in to comment.