ammarhakim / gkyl

This is the main source repo for the Gkeyll 2.0 code. Please see gkeyll.rtfd.io for details.
https://gkeyll.readthedocs.io/en/latest/
62 stars 18 forks source link

simulation input file generator for the CSSI CI #139

Closed liangwang0734 closed 1 year ago

liangwang0734 commented 1 year ago

To see usage, use -h option; e.g.,

$ python ~/src/gkyl.master/Regression/mom-two-stream/generate-rt-two-stream-5m.py -h
usage: generate-rt-two-stream-5m.py [-h] [--vDrift__vTe VDRIFT__VTE] [--kx_de KX_DE] [--pert PERT]
                                    [--tEnd_wpe TEND_WPE] [--nFrame NFRAME] [--Nx NX] [--nProcs NPROCS]
                                    filename

Generate gkyl input file of the 5-moment simulation of two-stream instability.

positional arguments:
  filename              name of the gkyl lua input file to be generated

options:
  -h, --help            show this help message and exit
  --vDrift__vTe VDRIFT__VTE
                        drift velocity / thermal velocity
  --kx_de KX_DE         wavenumber * Debye length
  --pert PERT           perturbation magnitude to the uniform background density
  --tEnd_wpe TEND_WPE   simulation time * plasma frequency
  --nFrame NFRAME       number of output frames excluding the initial condition
  --Nx NX               number of cells for discretization
  --nProcs NPROCS       number of processors for parallel computing
liangwang0734 commented 1 year ago

I decided to move these CI-related stuff to https://github.com/SCOREC/vlabApps for now.