Model inputs and settings :¶
Usage¶
tugo [OPTIONS] configuration_file.intg
Configuration file¶
A T-UGOm configuration file is an ASCII file (Default template file) and is made of several sections where parameters (numerical values, files path, etc..) are set through a keyword identifier. To some extents, it can be compared to a concatenation of Fortran notebooks.
This file can be generated through T-UGOm-GUI, an visulatisation tool provided with the model that will help you navigate through the available options. Otherwise the ASCII file can be directly modify using the documentation below.
Note: at the begining of each run, T-UGOm generated the configuration file used for the run, so you can achive it with the simulation.
List of sections:
Section |
Description |
|---|---|
2D hydrodynamic model settings, including discretization, time integration, and wave equation form. |
|
3D hydrodynamic model settings, including vertical discretization, time stepping, and tracer integration. |
|
Settings for harmonic analysis, including tidal spectrum, admittance, and spectral solver configurations. |
|
Atmospheric forcing, including wind, pressure, and temperature settings. |
|
Defines open boundary conditions, including OBC types, relaxation zones, and river inputs. |
|
Constraints for elevation, nudging, and relaxation parameters. |
|
Settings for runtime diagnostics, including statistics, collection intervals, and output conventions. |
|
2D dissipation parameters, including bottom friction, horizontal viscosity, and Smagorinsky coefficients. |
|
3D dissipation parameters, including vertical diffusion and turbulence closure. |
|
Settings for 2D drifter simulations, including input files and time intervals. |
|
Energy budget calculations, including harmonic and time-step computations. |
|
Finite element archive settings, including output formats, intervals, and precision. |
|
General model settings, including time steps, mesh files, and solver configurations. |
|
Miscellaneous settings, including stability checks, subcycling, and smoothing options. |
|
Ocean wave forcing, including parameterizations, drag, and friction settings. |
|
Physical constants and modes, including gravity, Coriolis, and Love numbers. |
|
Sampling settings for model outputs, including intervals and file conventions. |
|
Sea ice dynamics, including friction, elasticity, and concentration thresholds. |
|
Sediment and fluid mud dynamics, including friction coefficients and polygons. |
|
Stability control parameters, including CFL ratios, subcycling, and instability checks. |
|
2D stream function calculations and intervals. |
|
Structured grid archives, including zones, conventions, and output flags. |
|
Tidal forcing, including astronomical potential, LSA, and boundary conditions. |
|
Topography and geodesy settings, including bathymetry, slopes, and depth offsets. |
|
2D tracer simulations, including diffusion, advection, and input files. |
|
3D tracer simulations, including vertical discretization and diffusion. |
Runtime options¶
In some cases, such as sensitivity studies, it is more convenient to keep a given control file and to change some parameter setting through a T-UGOm optional parameter.
WARNING: Command-line options override settings in the input configuration file(s).
A very powerful option is the -delta one, which allows to give one or several additional control files to the run, usually to modify a limited set of parameters. For instance, it is very convenient to keep a unique base control file to be used on different computational platforms where paths need to be different. Parameters values will be taken in priority in the last control files where they appear.
General Options¶
Option |
Description |
|---|---|
|
Display help and exit. |
|
Save partitions (only relevant in parallel mode). |
|
Use if the main configuration file is in the old format. |
|
Path to a delta configuration file (can be specified multiple times). |
Input/Output Options¶
Option |
Description |
|---|---|
|
Path to the output directory. |
|
Start time for FE archive (in days). |
|
Time interval for FE archive (in seconds). |
|
Path to the atmospheric forcing directory. |
|
Path to the restart file for hot-start simulations. |
|
Specify a separate mesh file. |
Time Control Options¶
Option |
Description |
|---|---|
|
Time origin in format |
|
Run duration in hours. |
|
Maximum walltime for the simulation (in seconds). |
|
Main time step and optional sub-time steps (in seconds). |
Model Configuration Options¶
Option |
Description |
|---|---|
|
Force hydrostatic mode. |
|
Force non-hydrostatic mode. |
|
Semi-implicit factor (0 = explicit, 1 = fully implicit, default = 0.75). |
|
Relaxation coefficient for the continuity equation in the generalized wave equation. |
|
Enable wetting/drying mode. |
|
Disable wetting/drying mode. |
|
Enable fluid mud friction. |
|
Disable fluid mud friction. |
|
Number of layers for 3D simulations. |
|
Number of modes to calculate in 3D (requires |
|
Minimum depth (positive below vertical reference level). |
Topography and Bathymetry Options¶
Option |
Description |
|---|---|
|
Input bottom topography filename. |
|
Input bottom slope filename. |
|
Polygon-wise depth offset (specify polygons and values files). |
|
Rugosity values file (polygon-wise setting). |
|
Depth scaling factor. |
Dissipation and Friction Options¶
Option |
Description |
|---|---|
|
Default Smagorinsky coefficient (dimensionless). |
|
Default bottom friction coefficient. |
|
Default bottom roughness length. |
|
Default internal wave drag coefficient. |
Tidal and Harmonic Analysis Options¶
Option |
Description |
|---|---|
|
Tidal spectrum file. |
|
Enable Load Self-Attraction (LSA). |
|
Disable LSA. |
|
Prior solution file for tidal analysis. |
|
Tidal open boundary conditions file. |
|
Nudging relaxation timescale. |
Boundary and River Options¶
Option |
Description |
|---|---|
|
Rivers input settings file. |
|
Open boundary condition mode. |
Ice and Sea Ice Options¶
Option |
Description |
|---|---|
|
Sea ice concentration. |
|
Sea ice concentration threshold. |
|
Sea ice confinement modulation. |
Parallel and Performance Options¶
Option |
Description |
|---|---|
|
Unpartitioned information processing mode ( |
|
Temporary directory for model I/O in cluster mode ( |
|
Number of OpenMP threads to use. |
|
Minimum elevation time derivative to trigger instability flag (typically |
|
Maximum precision for model output. |
Environment Variables¶
Variable |
Description |
|---|---|
|
Temporary directory for forcing files. If set, copies of forcing files are progressively made and deleted as needed. Recommended: Set to a fast drive (e.g., SSD) if forcing files are on a slow drive (e.g., NFS). |
Note:
If
TMPDIRis not set, you should set it manually to a fast drive if forcing files are on a slow drive.If forcing files are only accessible via SSH,
TMPDIRmust be set to a local drive (asscpis used for copying).
- Default configuration file
- 2D Section
- 3D Section
- analysis Section
- atmosphere Section
- boundaries Section
- constraints Section
- diagnostics Section
- dissipation2D Section
- dissipation3D Section
- drifters2D Section
- energy_budget Section
- fe_archive Section
- general Section
- miscellaneous Section
- ocean_waves Section
- physics Section
- samples Section
- sea_ice Section
- sediment Section
- stability_control Section
- stream2D Section
- structured_archive Section
- tides Section
- topography_geodesy Section
- tracers2D Section
- tracers3D Section