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 that 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).

...


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==== = - Running a simple test case =====

We will run a very simple test case: a **tearing mode in a large aspect-ratio circular plasma**. You will have to find your own way of how to structure directories for your simulations. For the prupose of this tutorial instruction we assume you have created the following directory structure with the source code and the ''Makefile.inc'' prepared according to the instructions section in 1.2:

Code Block
  2018-04-first-  jorek-runsnamelist/
    jorek.git/                  # the source code
    intear_ntor3/               # run directory

...

Now, open with your favorite editor the file ''intear'', which contains the description of the test case to be simulated. Many things here will not immediately be self-explanatory of course. The only thing we do now is to change the settings for the time stepping by setting<code>

Code Block
  tstep = 3000.

...


  nstep = 0


50
</code> Important notice: You can run the other models using the same intear input file as well. However, it is not guaranteed that it works for all the models.

...

the

...

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

   write(42,in1)

   close(42)

Same for the other models.