Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Procedure of creating a JOREK namelist for a given model number is a variation of running a "JOREK for the first time case" instruction described in jorek wiki. As the access to JOREK wiki is restricted we describe the procedure step by step here.

How to write out the namelist yourself.

It is reccomended taht you have access to JOREK repository. This way, you are sure that you are using the latest version of the code and namelist. Furthermore, it allows you to test for different models easily yourself (the namelists of the models are not exactly identical).


1) Take the very simple intear test case from the tutorial and run it for model199 with 0 time steps (nstep=0):

https://www.jorek.eu/wiki/doku.php?id=running_jorek_for_the_first_time

You can run the other models for the same intear input file as well.


2) To write out the namelist, you need to add right before the endif in line 193 of in models/model199/initialise_parameters.f90 the following three lines:

   open(42, file='out.nml', status='replace', action='write')

   write(42,in1)

   close(42)

Same for the other models.