-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mars topography #5316
Open
cedrict
wants to merge
2
commits into
geodynamics:main
Choose a base branch
from
cedrict:mars_cookbook
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+64,944
−0
Open
mars topography #5316
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Mars topography | ||
|
||
*This section was contributed by Cedric Thieulot and Bart Root.* | ||
|
||
From the original MOLA data (<https://attic.gsfc.nasa.gov/mola/>), we have created a topography file | ||
(present in the folder of this cookbook) with a 1 degree resolution in both longitude and latitude | ||
that is suitable for the Initial topography model. | ||
|
||
Note that for the time being the Initial topography model is not compatible with the sphere geometry | ||
model so the model geometry for this cookbook is a chunk with inner radius 2000 km and outer | ||
radius 3390 km, the latter being the actual radius of the planet. | ||
|
||
The topography is then projected onto the surface of the planet, and as a first step both viscosity and | ||
density are kept constant in the domain. No-slip boundary conditions are prescribed on the bottom, and | ||
free slip is prescribed on all four sides while the top boundary is free. | ||
The model is isothermal, and there are no other buoyancy forces. | ||
|
||
```{figure-md} fig:mars-topo | ||
<img src="topo3.*" width="90%" /> | ||
|
||
Mars topography. | ||
For visualization purposes the topography has been scaled up by a factor 10. | ||
``` |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,116 @@ | ||
# An input script to test the chunk geometry model | ||
# with additional initial topography. | ||
|
||
set Dimension = 3 | ||
set CFL number = 1.0 | ||
set End time = 0 | ||
set Start time = 0 | ||
set Adiabatic surface temperature = 1613.0 | ||
#set Surface pressure = 0 | ||
set Use years in output instead of seconds = true | ||
set Nonlinear solver scheme = no Advection, single Stokes | ||
set Output directory = output-mola | ||
set Pressure normalization = no | ||
|
||
subsection Gravity model | ||
set Model name = radial constant | ||
subsection Radial constant | ||
set Magnitude = 3.71 | ||
end | ||
end | ||
|
||
subsection Solver parameters | ||
subsection Stokes solver parameters | ||
set Number of cheap Stokes solver steps = 0 | ||
set Maximum number of expensive Stokes solver steps = 3000 | ||
end | ||
end | ||
|
||
subsection Geometry model | ||
|
||
set Model name = chunk | ||
subsection Chunk | ||
set Chunk minimum longitude = -150 | ||
set Chunk maximum longitude = -30 | ||
set Longitude repetitions = 40 | ||
set Chunk minimum latitude = -60 | ||
set Chunk maximum latitude = 60 | ||
set Latitude repetitions = 40 | ||
set Chunk inner radius = 2000e3 | ||
set Chunk outer radius = 3390e3 | ||
set Radius repetitions = 1 | ||
end | ||
|
||
#set Model name = spherical shell | ||
#subsection Spherical shell | ||
# set Inner radius = 2000e3 | ||
# set Outer radius = 3390e3 | ||
# set Cells along circumference = 12 | ||
#end | ||
|
||
subsection Initial topography model | ||
set Model name = ascii data | ||
subsection Ascii data model | ||
set Data directory = /home/cedrict/ASPECT/pr6/aspect/build/ | ||
set Data file name = MOLA_aspect.ascii | ||
set Scale factor = 10 | ||
end | ||
end | ||
end | ||
|
||
subsection Mesh refinement | ||
set Initial adaptive refinement = 0 | ||
set Initial global refinement = 1 | ||
end | ||
|
||
subsection Initial temperature model | ||
set Model name = function | ||
subsection Function | ||
set Function expression = 1613.0 | ||
end | ||
end | ||
|
||
subsection Boundary temperature model | ||
set List of model names = function | ||
subsection Function | ||
set Function expression = 1613.0 | ||
end | ||
end | ||
|
||
subsection Material model | ||
set Model name = simple | ||
subsection Simple model | ||
set Reference density = 3340 | ||
set Reference specific heat = 1200 | ||
set Thermal expansion coefficient = 3e-5 | ||
set Viscosity = 1e22 | ||
end | ||
end | ||
|
||
subsection Boundary temperature model | ||
set Fixed temperature boundary indicators = inner, outer | ||
end | ||
|
||
subsection Boundary velocity model | ||
set Tangential velocity boundary indicators = east, west, north, south | ||
end | ||
|
||
subsection Boundary velocity model | ||
set Zero velocity boundary indicators = inner | ||
end | ||
|
||
subsection Mesh deformation | ||
set Mesh deformation boundary indicators = outer: free surface | ||
subsection Free surface | ||
set Surface velocity projection = normal | ||
end | ||
end | ||
|
||
subsection Postprocess | ||
set List of postprocessors = visualization, velocity statistics, basic statistics, temperature statistics, topography | ||
subsection Visualization | ||
set Output format = vtu | ||
set List of output variables = density, viscosity, strain rate, depth | ||
set Time between graphical output = 0 | ||
end | ||
end |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't actually in the directory. You probably want to add it there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry about that !