swh:1:snp:75cdaf5164207cb3d00f07a3da10a0250b29d03b
Tip revision: 7e867c1f3ae18b4869f32f42694e83e30e7e5051 authored by Timo Heister on 11 January 2021, 19:20:39 UTC
Merge pull request #3946 from gassmoeller/fix_changelog
Merge pull request #3946 from gassmoeller/fix_changelog
Tip revision: 7e867c1
global_no_melt.prm
# Model setup for mantle convection in a 2D box without melting.
# This file is used as a starting point for a cookbook that
# explains how to add melting and melt transport to a mantle
# convection simulation.
set Dimension = 2
set Adiabatic surface temperature = 1600
set Maximum time step = 1e6
set Output directory = output-global_no_melt
set Use years in output instead of seconds = true
# The end time of the simulation. Because we want to see how upwellings
# and downwellings evolve over time, and if differences develop between
# the model with and without melt migration, we set the end time to 140 Ma.
set End time = 1.4e8
# We choose a stricter than default linear Stokes solver tolerance,
# to be consistent with the global_melt cookbook.
subsection Solver parameters
subsection Stokes solver parameters
set Linear solver tolerance = 1e-8
set Number of cheap Stokes solver steps = 100
end
end
# We fix prescribe free-slip boundary conditions on all
# sides.
subsection Boundary velocity model
set Tangential velocity boundary indicators = left, right, top, bottom
end
# We also choose relatively large values for the stabilization parameters:
# The model resolution is very coarse (in order for this model to run in a
# short time), so we want to make sure that no temperature over- and
# undershoots will develop. In a model with melting this would be
# particularly problematic, as large amounts of melt could be generated
# by temperature spikes, and we want to be consistent between the model
# with and without melt transport.
subsection Discretization
subsection Stabilization parameters
set beta = 0.5
set cR = 1
end
end
##################### Initial conditions ########################
# We choose an adiabatic temperature profile as initial condition,
# with conductive temperature profiles in the top and bottom boundary
# layers, which were computed using a half space cooling model.
# The cold top boundary layer corresponds to an age of 300 Ma,
# and the hot top boundary layer corresponds to an age of 500 Ma.
# A small temperature perturbation is added at the bottom of the
# domain. To make the model asymmetric, we place it in a distance of
# x = 2900 km from the left boundary.
# Temperatures from both initial temperature models we specify are
# added (by default).
subsection Initial temperature model
set List of model names = adiabatic, function
subsection Adiabatic
set Age bottom boundary layer = 5e8
set Age top boundary layer = 3e8
subsection Function
set Function expression = 0;0
end
end
subsection Function
set Function constants = r=350000, amplitude=50
set Function expression = if((x-2900000)*(x-2900000)+y*y<r,amplitude,0)
end
end
##################### Boundary conditions ########################
# As boundary conditions for the temperature, we just use the
# initial conditions again. This temperature is applied as a prescribed
# temperature at the top and bottom boundary.
subsection Boundary temperature model
set Fixed temperature boundary indicators = top, bottom
set List of model names = initial temperature
subsection Initial temperature
set Minimal temperature = 293 # default: 6000
set Maximal temperature = 3700 # default: 0
end
end
##################### Model geometry ########################
# The model geometry is a box with an aspect ratio of 3,
# extending to the base of the mantle in vertical direction.
subsection Geometry model
set Model name = box
subsection Box
set X extent = 8700000
set Y extent = 2900000
set X repetitions = 3
end
end
################ Gravity and material properties ##################
# The model has a constant gravity.
subsection Gravity model
set Model name = vertical
subsection Vertical
set Magnitude = 9.81
end
end
# We use the melt global material model, which is one of the
# material models that works with melt transport, as it also
# specifies the material properties needed for melt migration,
# such as the permeability, the melt density and the melt
# viscosity.
# It also works without melt transport, and in this case these
# properties are not used, so we do not have to specify them
# here.
subsection Material model
set Model name = melt global
subsection Melt global
set Thermal conductivity = 4.7
set Reference solid density = 3400
set Thermal expansion coefficient = 2e-5
set Reference shear viscosity = 5e21
set Thermal viscosity exponent = 7
set Reference temperature = 1600
set Solid compressibility = 4.2e-12
end
end
##################### Mesh refinement #########################
# For the model without melt migration, we do not have to use
# mesh adaptivity, because time- and length scales of material
# motion does do not vary a lot across the model, and a global
# resolution of 4 is sufficient to capture the behaviour of
# upwellings and downwellings.
subsection Mesh refinement
set Initial adaptive refinement = 0
set Initial global refinement = 4
set Time steps between mesh refinement = 0
end
# As the model is compressible and has an adiabatic temperature profile, we include
# adiabatic heating in the list of heating models.
# To make this model as simple as possible, we do not include shear heating (although
# usually, adiabatic heating and shear heating should always be used together).
subsection Heating model
set List of model names = adiabatic heating
end
##################### Postprocessing ########################
# In addition to the visualization output, we select a number
# of postprocessors that allow us to compute some statistics
# about the output (to see how much the model without and the
# model with melt migration differ), and in particular we use
# the "depth average" postprocessor that will allow us to plot
# depth-averaged model quantities over time.
subsection Postprocess
set List of postprocessors = visualization, composition statistics, velocity statistics, temperature statistics, melt statistics, depth average
# For the model without melt migration, we only compute the
# equilibrium melt fraction in dependence of temperature and
# pressure. This is done as a postprocessing step, by adding
# "melt fraction" to the list of material properties in the
# corresponding visualization postprocessor.
subsection Visualization
set List of output variables = material properties, nonadiabatic temperature
subsection Material properties
set List of material properties = density, viscosity, melt fraction
end
set Number of grouped files = 0
set Output format = vtu
set Time between graphical output = 6e5
end
subsection Depth average
set Number of zones = 12
set Time between graphical output = 6e5
end
end
# We write a checkpoint approximately every half an hour,
# so that we are able to restart the computation from that
# point.
subsection Checkpointing
set Time between checkpoint = 1700
end