HTML automatically generated with rman
Table of Contents

Name

runchemh2 - Frontend to the CHEMH2 program

Synopsis

runchemh2 [parameter=value]

Description

runchemh2 is a front-end to run Wolfire’s legacy program chemh2. Based on a standard template parameter file (typically chemie6.dat, which is in a very specific ASCII format), a number of its parameters are selected to be editable (see PARAMETERS below). It will then run chemh2 in a specified run directory, after setting some other conditions needed for the run.

Some complications concerning the Meudon Merge Option (IBRLO=1) still need to be described and worked out here. The current version only runs in IBRLO=0 mode (currently the default)

Once the run directory contains all standard files (chemie6.dat, chemh2.log etc.) the command

        chemh2 > chemh2.log
can be run, this is also where all other output files (see FILES below) are then located.

Parameters

The following parameters are recognized in any order if the keyword is also given:
rundir=
Run directory [???]
dat=
Example Input datafile [chemie6.dat]
DENS0=
2nd line... []
ZETACR=
G0=
ABUNC=
ABUNO=
DVDOP=
XPRES=
3rd line... []
ABUNMG=
ABUNSI=
ABUNFE=
ABUNS=
ABUNF=
ABUNCL=
FGPUMP=
5th line... []
IBRLO=
Meudon flag ... [0]
ISO=
ITURB=
ITHP=

See Also

nemoinp(1NEMO) , hisf(1NEMO) , tabplot(1NEMO)
Some possible references on chemh2 to be worked out:
Tielens & Hollenbach - ApJ 1985 291, 722 
Hollenbach, Takahashi & Tielens - ApJ, 377, 192 (1991)
Wolfire, Tielens, & Hollenbach 1990, ApJ, 358, 116 
Wolfire, Hollenbach, McKee, Tielens, & Bakes 1995, ApJ, 443, 152 
Wolfire, McKee, Hollenbach, & Tielens 2003, ApJ, 587, 278 .

Examples

In a typical environment you would set the CHEMPATH environment variable to point to a directory (or : separated set of directories) where all the DATA FILES are located. Typically you would have a sample (template) chemie6.dat file in your working directory, from where you can then easily run several chemh2’s runs, e.g.
    setenv CHEMPATH /usr/local/data/chemh2:~/chemh2
    
    runchemh2 run001 DENS0=0.5  G0=0.80 &
    runchemh2 run002 DENS0=1.0  G0=0.75   ABUNC=2.0e-4 &
    runchemh2 run003 DENS0=1.5  G0=0.70 &
where the idea is that one can run as many instances as memory and CPU allows.

Benchmark

TBD

Files

The following files need to be present in the current directory, or in a specified set of colon separated directories listed in $CHEMPATH
chemie6.dat    standard parameters for chemh2 (can be overridden with dat=)
nprd.in        input file for the Meudon Merge Option (TBD what to do with this)
euv633.dat
marks_spect.snreuv.dat4
avrout.dat
twophasepg10fh20.dat
twophasepg10fh21em4.dat
twophasepg10fh21em3.dat
twophasepg10fh23em3.dat
twophasepg10fh21em2.dat
twophasepg10fh23em2.dat
twophasepg10fh21em1.dat
twophasepg10fh23em1.dat
twophasepg10fh25em1.dat
twophaqsepg10fh27em1.dat
twophasepg10fh29em1.dat
q_ph2_12c16o.dat
The following files are dumped in the run directory:
chemie6.dat    Parsed input file for chemh2
chemh2.log    Log file from running chemh2
history.bin    How the program was run (command:  hisf history.bin)
fort.N        output file(s) from chemh2 (and a few more)

Author

Peter Teuben (fortran code: Xander Tielens / Mark Wolfire)

Update History


5-Feb-2019    V0.2 hacked up in NEMO        PJT
10-feb-2018    V0.6 working in non-Meudon (IBRLO=0) mode    PJT


Table of Contents