Model parametersΒΆ
Explanation of parametersΒΆ
MoCSI can be controlled fully through setting parameters in the ini files present in the /ini_files/ folder of the code. There are two types of ini files: core ini files and module ini files.
Only two of the ini files in that folder belong to the core, the default.ini and the run.ini. The default.ini must always be present, as it contains all the parameters that need to be set for the model to run with their default parameters. To change these default values, you should overwrite them with the run.ini as all values within that ini file can be used to overwrite the default values. It is advised to not change any value within the default.ini and only work with the run.ini.
Each module ini file belongs to the corresponding module with which it shares a name. These ini files can only be used to change behavior within the corresponding module. Despite there being parameters which some modules share, each have to be set within their own ini file.
Parameter referenceΒΆ
Parameters below belong to default.ini. The run.ini file accepts every one of them and always takes priority β prefer editing run.ini over changing default.ini.
Time parameters
Parameter |
Description |
|---|---|
|
The time step length in seconds (s). |
|
The total simulation time in seconds (s). |
Inner iteration options
Parameter |
Description |
|---|---|
|
The maximum number of internal iterations ran to achieve convergence for non-linear models. A warning is passed if convergence is not reached. |
|
The allowed difference between two inner iteration steps to be considered converged in Kelvin (K). Once \(T_{inner, i+1} - T_{inner, i} \leq \epsilon\), the time step is accepted. |
Grid options
Parameter |
Description |
|---|---|
|
Only |
|
The length of each FEM element when using a uniform grid. Used during uniform grid creation together with |
|
The number of temperature nodes (not elements) within each facet. |
|
The maximum depth of a facet domain in meters (m). Used during uniform grid creation together with |
|
Path to a file containing the node depths to be used for grid creation. Supports any non-uniform grid. |
Initial temperature
Parameter |
Description |
|---|---|
|
The initialization temperature of the model in Kelvin (K). |
Ini folder path
Parameter |
Description |
|---|---|
|
The (relative) path where the model should look for the rest of the ini files. Best practice is to keep them all in one place β by default |
Shape model
Parameter |
Description |
|---|---|
|
Whether a shape file should be loaded. |
|
Currently only |
|
Path to a VTK-readable mesh file (VTK required). Supported: |
Finite Element Method options
Parameter |
Description |
|---|---|
|
Element type used in the FEM. Currently only |
Boundary condition options
Parameter |
Description |
|---|---|
|
Top domain boundary condition for each facet. One of: |
|
Bottom domain boundary condition for each facet. Same options as above. |
|
Helper field for iterative boundary conditions. Use |
|
Heat flux in W m\(^{-2}\), when |
|
Heat flux in W m\(^{-2}\), when |
|
Amplitude of the sinusoidal temperature wave in Kelvin (K), for the top boundary condition |
|
Amplitude of the sinusoidal temperature wave in Kelvin (K), for the bottom boundary condition |
|
Period of the sinusoidal temperature wave in seconds (s), for the top boundary condition. |
|
Period of the sinusoidal temperature wave in seconds (s), for the bottom boundary condition. |
Snapshot options
Parameter |
Description |
|---|---|
|
Path to the MoCSI snapshot file to load for this simulation. |
|
Prevents overwrite of the current |
|
Prevents overwrite of all current module ini file values when loading the snapshot. |
|
Path to save the MoCSI snapshot at simulation end. |
Most module .ini files share a small set of common parameters. They appear in every table below:
Common parameter |
Description |
|---|---|
|
Managing-module-only. Module Insertion Points where this managing module is loaded. One of |
|
The submodules to be loaded beneath this module. Use |
|
The moduleβs dependencies, if any. |
Albedo
Albedo.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
AlbedoConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom bolometric Bond albedo value. |
|
Common β see above. |
|
Common β see above. |
Density
Density.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
DensityConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom bulk density value in kg m\(^{-3}\). |
|
Common β see above. |
|
Common β see above. |
DensityConstantGundlach2013RegolithSolidAsteroidType.ini
Parameter |
Description |
|---|---|
|
The spectral class of the target asteroid type. Currently: |
|
The volume filling factor of the regolith. |
|
Common β see above. |
|
Common β see above. |
Emissivity
Emissivity.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
EmissivityConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom emissivity value in the thermal infrared. |
|
Common β see above. |
|
Common β see above. |
Flux smoothing
FluxSmoothingTool.ini
Parameter |
Description |
|---|---|
|
Triggers flux smoothing when the current time step overshoots the previous one by this factor. |
|
Triggers flux smoothing when the current time step undershoots the previous one by this factor. |
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
Heat capacity
HeatCapacity.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
HeatCapacityConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom specific heat capacity value in J kg\(^{-1}\) K\(^{-1}\). |
|
Common β see above. |
|
Common β see above. |
HeatCapacityConstantOpeil2010NonPorousRockSolidAsteroidType.ini
Parameter |
Description |
|---|---|
|
The spectral class of the target asteroid type. Currently: |
|
Common β see above. |
|
Common β see above. |
Heat conductivity
HeatConductivity.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
HeatConductivityConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom bulk heat conductivity value in W m\(^{-1}\) K\(^{-1}\). |
|
Common β see above. |
|
Common β see above. |
HeatConductivityConstantMaxwell1873PorousRockSolid.ini
Parameter |
Description |
|---|---|
|
The porosity (1 β volume filling factor) of the rock. |
|
Common β see above. |
|
Common β see above. |
HeatConductivityTwoLayers.ini
Parameter |
Description |
|---|---|
|
The depth of the layer transition in meters (m). |
|
If |
|
Two submodules must be loaded: the first is used in the upper layer (surface β |
|
Common β see above. |
HeatConductivityVariableGundlach2013NonPorousRockSolidAsteroidType.ini
Parameter |
Description |
|---|---|
|
The spectral class of the target asteroid type. Currently: |
|
Common β see above. |
|
Common β see above. |
HeatConductivityVariableGundlach2013RegolithSolid.ini
Parameter |
Description |
|---|---|
|
Poissonβs ratio of the material. |
|
The Youngβs modulus of the material. |
|
The \(f_1\) fit parameter from Gundlach and Blum (2012). |
|
The \(f_2\) fit parameter from Gundlach and Blum (2012). |
|
The angular and polydisperse particle adaption factor from Gundlach and Blum (2013). |
|
The \(e_1\) fit parameter from Gundlach and Blum (2012). |
|
Common β see above. |
|
Common β see above. |
Heat source
HeatSource.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
HeatSourceConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom heat source or sink value in W m\(^{-2}\). |
|
Common β see above. |
|
Common β see above. |
Heliocentric distance
HeliocentricDistance.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
HeliocentricDistanceConstant.ini
Parameter |
Description |
|---|---|
|
The custom heliocentric distance value in astronomical units (AU). |
|
Common β see above. |
|
Common β see above. |
HeliocentricDistanceVariableSpice.ini
Parameter |
Description |
|---|---|
|
Path to the SPICE metakernel file. |
|
SPICE object ID of the target body. |
|
SPICE reference frame (usually |
|
Starting time for the simulation in UTC ( |
|
Common β see above. |
|
Common β see above. |
Output
OutputToolCsv.ini
Parameter |
Description |
|---|---|
|
Path and name of the CSV file that will be saved. |
|
Names of the field values to be saved, comma-separated. |
|
How the selected fields should be saved: |
|
Interval of time steps at which the field values should be saved (when |
|
Specific time steps at which field values should be saved (when |
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
TemperatureSaverIterationsTool.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
Runtime progress
RuntimeProgressTool.ini
Parameter |
Description |
|---|---|
|
Number of time steps between progress reports. |
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
Solar flux
SolarFlux.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
SolarFluxConstantCustom.ini
Parameter |
Description |
|---|---|
|
The custom incoming solar flux value in W m\(^{-2}\). |
|
Common β see above. |
|
Common β see above. |
SolarFluxVariableCustomSinusoidal.ini
Parameter |
Description |
|---|---|
|
Period of the day-night cycle in seconds (s). |
|
Declination of the surface on a sphere in degrees (Β°). |
|
Latitude of the surface on a sphere in degrees (Β°). |
|
Slope angle of the surface against the normal of the sphere in degrees (Β°). |
|
Azimuth of the topographic gradient against a specified prime meridian in degrees (Β°). |
|
Common β see above. |
|
Common β see above. |
SolarFluxVariablePotter2023Radiosity.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
Solar vector
SolarVector.ini
Parameter |
Description |
|---|---|
|
Common β see above. |
|
Common β see above. |
|
Common β see above. |
SolarVectorConstant.ini
Parameter |
Description |
|---|---|
|
Angle between the solar vector and the z-axis in degrees (Β°). |
|
Angle in the x-y plane measured from the x-axis in degrees (Β°). |
|
Common β see above. |
|
Common β see above. |
SolarVectorSpice.ini
Parameter |
Description |
|---|---|
|
Path to the SPICE metakernel file. |
|
SPICE object ID of the target body. |
|
SPICE reference frame (usually |
|
Starting time for the simulation in UTC ( |
|
SPICE frame ID of the body-fixed frame of the target body. |
|
Common β see above. |
|
Common β see above. |