Difference between revisions of "The z2sig.def Input File"

From Planets
Jump to: navigation, search
Line 1: Line 1:
The z2sig.def file contains the pseudo-altitudes (in km) at which the user wants to set the vertical levels. Note that levels should be unevenly spread, with a higher resolution near the surface in order to capture the rapid variations of variables there. It is recommended to use the altitude levels as set in the ''z2sig.def'' file provided in the ''deftank'' directory. If yo uwant to change vertical resolution, check [[Advanced_Use_of_the_GCM#What_you_need_to_know_about_the_z2sig.def_file | there]].
+
The z2sig.def file contains the pseudo-altitudes (in km) at which the user wants to set the vertical levels. Note that levels should be unevenly spread, with a higher resolution near the surface in order to capture the rapid variations of variables there. It is recommended to use the altitude levels as set in the ''z2sig.def'' file provided in the ''deftank'' directory. If you want to change vertical resolution, check [[Advanced_Use_of_the_GCM#What_you_need_to_know_about_the_z2sig.def_file | there]].
  
== Example of ''z2sig.def'' file: ==
+
== Example of ''z2sig.def'' file (here for an Earth-like simulation): ==
  
 
<pre>
 
<pre>

Revision as of 10:48, 5 March 2025

The z2sig.def file contains the pseudo-altitudes (in km) at which the user wants to set the vertical levels. Note that levels should be unevenly spread, with a higher resolution near the surface in order to capture the rapid variations of variables there. It is recommended to use the altitude levels as set in the z2sig.def file provided in the deftank directory. If you want to change vertical resolution, check there.

Example of z2sig.def file (here for an Earth-like simulation):

8                       H: atmospheric scale height (km) (used as a reference only)
0.004                   Typical pseudo-altitude (m) for 1st layer (z=H*log(sigma))
0.017415589434569632    ,, ,, ,, ,, ,, ,, ,, ,, ,, 2nd layer, etc...
0.04197041134830409
0.09573548831202484
0.19905425549248695
0.37769312558816376
0.6610287582071787
1.0796026837077486
1.6625722655258326
2.4354958342473516
3.4187160120951323
4.626429653543951
6.066400344124698
7.740192276155182
9.643775222138789
11.768354425931134
14.10130177147987
17.
20.
23.
26.5
30.
34.
38.
42.
47.
52.
60.
68.
76.
82.
88.
94.
100.
105.
110.
115.
120.
125.
130.

Note: Lines beginning with a hashtag are not read