forked from idaholab/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
387,054 additions
and
47 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import sys | ||
from .terrain import main | ||
if __name__ == '__main__': | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env python3 | ||
import os, sys | ||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'python')) | ||
import terrain | ||
sys.exit(terrain.main()) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[Mesh/terrain] | ||
type = FileMeshGenerator | ||
file = terrain.msh | ||
[] | ||
|
||
[Variables] | ||
[u] | ||
initial_condition = 300 | ||
[] | ||
[] | ||
|
||
[Kernels] | ||
[time] | ||
type = ADTimeDerivative | ||
variable = u | ||
[] | ||
[diff_upper] | ||
type = ADMatDiffusion | ||
variable = u | ||
block = granitoid_40m_surface_40m | ||
diffusivity = 50000 | ||
[] | ||
[diff_lower] | ||
type = ADMatDiffusion | ||
variable = u | ||
block = bottom_40m_granitoid_40m | ||
diffusivity = 1000 | ||
[] | ||
[] | ||
|
||
[BCs] | ||
[bottom] | ||
type = ADDirichletBC | ||
variable = u | ||
boundary = 'bottom_40m_granitoid_40m_front granitoid_40m_surface_40m_front' | ||
value = 300 | ||
[] | ||
[top] | ||
type = ADNeumannBC | ||
variable = u | ||
boundary = 'bottom_40m_granitoid_40m_back granitoid_40m_surface_40m_back' | ||
value = 100 | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 10 | ||
nl_rel_tol = 1e-10 | ||
solve_type = 'NEWTON' | ||
steady_state_detection= true | ||
steady_state_tolerance = 1e-6 | ||
[TimeStepper] | ||
type = IterationAdaptiveDT | ||
optimal_iterations = 4 | ||
growth_factor = 1.2 | ||
dt = 1 | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
Oops, something went wrong.