[209] | 1 | ------------------------------ |
---|
| 2 | LMD Martian Mesoscale Model |
---|
| 3 | ------------------------------ |
---|
| 4 | Technical note |
---|
| 5 | ------------------------------ |
---|
| 6 | |
---|
| 7 | Authors: |
---|
| 8 | A. Spiga and F. Forget |
---|
| 9 | Laboratoire de Meteorologie Dynamique |
---|
| 10 | Universite Pierre et Marie Curie |
---|
| 11 | BP 99 |
---|
| 12 | 4 place Jussieu |
---|
| 13 | 75252 PARIS CEDEX 5 |
---|
| 14 | FRANCE |
---|
| 15 | |
---|
| 16 | IMPORTANT NOTICE: |
---|
| 17 | Please refer to the authors in any publication using the model. |
---|
| 18 | |
---|
| 19 | Correspondance: |
---|
| 20 | spiga@lmd.jussieu.fr |
---|
| 21 | forget@lmd.jussieu.fr |
---|
| 22 | |
---|
| 23 | ------------------------------ |
---|
| 24 | |
---|
| 25 | Credits: |
---|
| 26 | - NCEP/NCAR WRF development team http://www.wrf-model.org/index.php |
---|
| 27 | - EuroMars team (LMD ~ OU/Univ. Oxford - IAA) |
---|
| 28 | |
---|
| 29 | Support : |
---|
| 30 | - European Space Agency (ESA) |
---|
| 31 | - Centre National d'Etudes Spatiales (CNES) |
---|
| 32 | |
---|
| 33 | ------------------------------ |
---|
| 34 | ------------------------------ |
---|
| 35 | |
---|
| 36 | ------------------------------ |
---|
| 37 | Description of the model |
---|
| 38 | ------------------------------ |
---|
| 39 | |
---|
| 40 | Please refer to the report "Design and Performance of the LMD Martian Mesoscale Model" |
---|
| 41 | |
---|
| 42 | ------------------------------ |
---|
| 43 | Installation of the model |
---|
| 44 | ------------------------------ |
---|
| 45 | |
---|
| 46 | 1. copy the LMD Martian Mesoscale sources on a disk with 400 Mo of free space |
---|
| 47 | > cp LMD_MM_MARS.tar.gz ***my_disk*** |
---|
| 48 | |
---|
| 49 | 2. unzip the archive file, download WRF sources and prepare directories and files for compilation |
---|
| 50 | **** REQUIREMENTS: |
---|
| 51 | **** - you must be connected to the internet |
---|
| 52 | > tar xzvf LMD_MM_MARS.tar.gz |
---|
| 53 | > cd LMD_MM_MARS |
---|
| 54 | > ./prepare |
---|
| 55 | |
---|
| 56 | 3. compile the model |
---|
| 57 | **** REQUIREMENTS: |
---|
| 58 | **** - you must have either pgf90 or g95 installed in your computer |
---|
| 59 | **** - you must have compiled NETCDF libraries and define the environment variable $NETCDF |
---|
| 60 | > ./makemeso |
---|
| 61 | |
---|
| 62 | ------------------------------ |
---|
| 63 | Structure of the model |
---|
| 64 | ------------------------------ |
---|
| 65 | SIMU >> contains a test case and several useful scripts |
---|
| 66 | SRC >> contains sources of the model, the pre- and post-processing utilities |
---|
| 67 | WPS_GEOG >> contains static data (topography, albedo, thermal inertia) |
---|
| 68 | build_static >> a script to build a minimal dataset for initialization of static data |
---|
| 69 | copy_model >> a script to link the model sources and avoid duplicates |
---|
| 70 | makemeso >> the main compilation script |
---|
| 71 | prepare >> a script to run right after you deflated the .tar.gz file |
---|
| 72 | |
---|
| 73 | SRC/ARWpost >> post-processing utilities (maps, etc ...) |
---|
| 74 | SRC/INIT_SIMPLE_TEST.tar.gz >> a simple idealized case study |
---|
| 75 | SRC/PREP_MARS >> pre-processing utilities : convert GCM outputs |
---|
| 76 | SRC/WPS >> the main pre-processing system : define domain and interpolate meteorological and static data |
---|
| 77 | SRC/WRFV2 >> the folder containing WRF sources and LMD physics sources |
---|
| 78 | SRC/datesave >> a reminder of the version you use |
---|
| 79 | SRC/g95.tar.gz >> fix for some problems that may appear with g95 |
---|
| 80 | SRC/mac.tar.gz >> scripts and fixes to run the model on MACs |
---|
| 81 | SRC/save_all >> a script to save the sources and create a .tar.gz archive |
---|
| 82 | SRC/saved >> a reminder of the files in the version you use |
---|
| 83 | |
---|
| 84 | ------------------------------ |
---|
| 85 | Run a test case |
---|
| 86 | ------------------------------ |
---|
| 87 | |
---|
| 88 | 1. edit the file ./SRC/WRFV2/meso_datafile.h to change the datafile path |
---|
| 89 | |
---|
| 90 | 2. compile the model with g95 with specific number of grid points |
---|
| 91 | > ./makemeso < SIMU/TESTCASE/makemeso_x51_y51_z61_d1_t1_p1 (an example with g95) |
---|
| 92 | |
---|
| 93 | 3. link the executable |
---|
| 94 | > cd SIMU/TESTCASE |
---|
| 95 | > ln -sf ../../g95_??_single/wrf_x51_y51_z61_d1_t1_p1.exe wrf.exe |
---|
| 96 | |
---|
| 97 | 4. extract the pre-generated initial and boundary conditions |
---|
| 98 | > tar xzvf wrfinput.tar.gz |
---|
| 99 | |
---|
| 100 | 5. run the simulation |
---|
| 101 | > nohup wrf.exe > log_wrf & |
---|
| 102 | |
---|
| 103 | 6. check the model behavior during the run |
---|
| 104 | > vi log_wrf (check model's messages during the run) |
---|
| 105 | > ./elapsed (a script to evaluate elapsed simulation time) |
---|
| 106 | |
---|
| 107 | The model results are in the 'wrfout_d01_2024-07-01_06:00:00' NETCDF file |
---|
| 108 | |
---|
| 109 | NB: |
---|
| 110 | - simulation settings can be changed in namelist.input |
---|
| 111 | - physics settings can be changed in callphys.def |
---|
| 112 | |
---|
| 113 | ------------------------------ |
---|
| 114 | Installation of utilities |
---|
| 115 | ------------------------------ |
---|
| 116 | |
---|
| 117 | 4. download and build static data (topography, albedo, thermal inertia) |
---|
| 118 | **** REQUIREMENTS: |
---|
| 119 | **** - you must be connected to the internet |
---|
| 120 | > ./build_static |
---|
| 121 | |
---|