-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6052 from gassmoeller/tests_for_multiple_particle…
…_worlds Tests for multiple particle worlds
- Loading branch information
Showing
43 changed files
with
1,249 additions
and
73 deletions.
There are no files selected for viewing
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
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
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
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
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,107 @@ | ||
# Test that we can activate multiple particle worlds with | ||
# different particle properties and output directories. | ||
|
||
# MPI: 2 | ||
|
||
set Dimension = 2 | ||
set End time = 70 | ||
set Use years in output instead of seconds = false | ||
set Number of particle worlds = 2 | ||
|
||
subsection Geometry model | ||
set Model name = box | ||
|
||
subsection Box | ||
set X extent = 0.9142 | ||
set Y extent = 1.0000 | ||
end | ||
end | ||
|
||
subsection Boundary velocity model | ||
set Tangential velocity boundary indicators = left, right | ||
set Zero velocity boundary indicators = bottom, top | ||
end | ||
|
||
subsection Material model | ||
set Model name = simple | ||
|
||
subsection Simple model | ||
set Reference density = 1010 | ||
set Viscosity = 1e2 | ||
set Thermal expansion coefficient = 0 | ||
set Density differential for compositional field 1 = -10 | ||
end | ||
end | ||
|
||
subsection Gravity model | ||
set Model name = vertical | ||
|
||
subsection Vertical | ||
set Magnitude = 10 | ||
end | ||
end | ||
|
||
subsection Initial temperature model | ||
set Model name = function | ||
|
||
subsection Function | ||
set Function expression = 0 | ||
end | ||
end | ||
|
||
subsection Compositional fields | ||
set Number of fields = 1 | ||
set Names of fields = anomaly | ||
end | ||
|
||
subsection Initial composition model | ||
set Model name = function | ||
|
||
subsection Function | ||
set Variable names = x,z | ||
set Function constants = pi=3.1415926 | ||
set Function expression = 0.5*(1+tanh((0.2+0.02*cos(pi*x/0.9142)-z)/0.02)) | ||
end | ||
end | ||
|
||
subsection Mesh refinement | ||
set Initial adaptive refinement = 0 | ||
set Strategy = composition | ||
set Initial global refinement = 4 | ||
set Time steps between mesh refinement = 0 | ||
end | ||
|
||
subsection Postprocess | ||
set List of postprocessors = velocity statistics, composition statistics, particles | ||
|
||
subsection Particles | ||
set Time between data output = 70 | ||
set Data output format = gnuplot | ||
end | ||
end | ||
|
||
subsection Particles | ||
set List of particle properties = initial composition | ||
|
||
subsection Generator | ||
subsection Probability density function | ||
set Number of particles = 10 | ||
end | ||
end | ||
end | ||
|
||
subsection Particles 2 | ||
set List of particle properties = function | ||
|
||
subsection Function | ||
set Variable names = x,z | ||
set Function constants = pi=3.1415926 | ||
set Function expression = 0.5*(1+tanh((0.2+0.02*cos(pi*x/0.9142)-z)/0.02)) | ||
end | ||
|
||
subsection Generator | ||
subsection Probability density function | ||
set Number of particles = 10 | ||
end | ||
end | ||
end |
Oops, something went wrong.