-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a50cd92
commit e585465
Showing
4 changed files
with
803 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
data/compositional-initial-conditions/ascii-data/test/box_2d_nonuniform.txt
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,13 @@ | ||
# Test data for ascii data compositional initial conditions. | ||
# Only next line is parsed in format: [nx] [ny] because of keyword "POINTS:" | ||
# POINTS: 3 3 | ||
# Columns: x y composition_1 | ||
0. 0. 0. | ||
200000 0. 1. | ||
660000 0. 0. | ||
0. 330000 1. | ||
200000 330000 1. | ||
660000 330000 1. | ||
0. 660000 0. | ||
200000 660000 1. | ||
660000 660000 0. |
101 changes: 101 additions & 0 deletions
101
tests/ascii_data_nonuniform_initial_composition_2d_box.prm
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,101 @@ | ||
##### simple test for ascii data initial composition | ||
|
||
set Dimension = 2 | ||
|
||
set Use years in output instead of seconds = true | ||
set End time = 1e6 | ||
|
||
set Adiabatic surface temperature = 1613.0 | ||
|
||
subsection Geometry model | ||
set Model name = box | ||
|
||
subsection Box | ||
set X extent = 660000 | ||
set Y extent = 660000 | ||
end | ||
end | ||
|
||
subsection Initial conditions | ||
set Model name = adiabatic | ||
subsection Adiabatic | ||
set Amplitude = 300 | ||
set Radius = 250000 | ||
end | ||
end | ||
|
||
|
||
subsection Compositional fields | ||
set Number of fields = 1 | ||
end | ||
|
||
subsection Compositional initial conditions | ||
set Model name = ascii data | ||
|
||
subsection Ascii data model | ||
set Data directory = $ASPECT_SOURCE_DIR/data/compositional-initial-conditions/ascii-data/test/ | ||
set Data file name = box_2d_nonuniform.txt | ||
end | ||
end | ||
|
||
subsection Boundary temperature model | ||
set Model name = initial temperature | ||
end | ||
|
||
subsection Boundary composition model | ||
set Model name = initial composition | ||
end | ||
|
||
subsection Model settings | ||
set Fixed temperature boundary indicators = top,bottom,left | ||
set Fixed composition boundary indicators = left | ||
|
||
set Zero velocity boundary indicators = | ||
set Prescribed velocity boundary indicators = bottom:function,left:function,right:function,top:function | ||
|
||
set Tangential velocity boundary indicators = | ||
|
||
set Include adiabatic heating = false | ||
set Include shear heating = false | ||
end | ||
|
||
|
||
subsection Boundary velocity model | ||
subsection Function | ||
set Function expression = 1;0 | ||
end | ||
end | ||
|
||
|
||
subsection Gravity model | ||
set Model name = vertical | ||
|
||
subsection Vertical | ||
set Magnitude = 10 | ||
end | ||
end | ||
|
||
|
||
subsection Material model | ||
set Model name = simple | ||
subsection Simple model | ||
set Viscosity = 1e21 | ||
end | ||
end | ||
|
||
|
||
subsection Mesh refinement | ||
set Initial global refinement = 4 | ||
set Initial adaptive refinement = 0 | ||
set Time steps between mesh refinement = 0 | ||
set Strategy = temperature | ||
end | ||
|
||
|
||
subsection Postprocess | ||
set List of postprocessors = velocity statistics, temperature statistics, heat flux statistics, composition statistics | ||
subsection Visualization | ||
set Time between graphical output = 0 | ||
end | ||
end | ||
|
Oops, something went wrong.