planetWRF

Running PlanetWRF:

Running the standard case (spinup year):

  1. Move into the ‘test/em_global_mars’ directory. The “namelist.input” file here contains the default set-up used for the standard run. “ideal.exe” and “wrf.exe” are automatically linked to here after compilation.
  2. Produce the initial conditions file “wrfinput_d01″ by typing “./ideal.exe”.
  3. Run the model by typing “./wrf.exe”. This will produce a series of output files named “wrfout_d01_YEAR-DAY_HOUR:MIN:SEC”, e.g. “wrfout_d01_0001-00001_00:00:00″. Please note that each file will contain many output times.

To find out how far the model has progressed through the year, you can use e.g. “ncdump -v Times wrfout_d01_0001-00001_00:00:00″ or “ncdump -v L_S wrfout_d01_0001-00001_00:00:00″, where L_S is planetocentric solar longitude [Ls=0 is northern spring equinox, 90 northern summer, 180 northern autumn and 270 northern winter]. ncdump is a netcdf utility, so you will need the netcdf directory in your path to use it.

Running a second year:

You should verify the output produced by the standard case before proceeding to a second year.

Running on for a second year is recommended to produce output unaffected by the spinup period. You can run on from the last restart file in the standard run (written 601 sols into the first year) using this namelist file (rename as namelist.input). Alternatively, if you want to stop the spinup run early, you can use this wrfrst file (written at the start of the second year) and this namelist file (rename it as namelist.input) to run a second year without completing the first.

To restart the model, you need to have a wrfrst file present that matches the start time given in your new namelist.input file (in which you must also have ‘restart’ set to ‘.true.’). Then you run the model, as before, using “./wrf.exe.”

The second year produces a good match to the observed martian atmosphere, including the surface pressure cycle (see here).

<<  Back to “PlanetWRFv3 Users Guide”