From 81e1190bf8f57bfa51cb31e7a518489a0a8fab49 Mon Sep 17 00:00:00 2001 From: Lorenzo Figini Date: Fri, 6 Mar 2020 10:49:23 +0000 Subject: [PATCH] added templates for analytical equilibrium/profiles input files --- input/equil_a.txt | 4 ++++ input/profil_a.txt | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 input/equil_a.txt create mode 100644 input/profil_a.txt diff --git a/input/equil_a.txt b/input/equil_a.txt new file mode 100644 index 0000000..0eedc97 --- /dev/null +++ b/input/equil_a.txt @@ -0,0 +1,4 @@ + : rr0m,zr0m,rpam ! rhot[m] = min(sqrt((r-rr0m)**2+(z-zr0m)**2), rpam); tor flux phi = pi*b0*rhot**2 + : b0 ! Bphi[T] @ rr0m[m] + : q0,qa,alq ! q = q0 + (qa-q0)*sqrt(psin)**alq + : nlim ! number of points in first wall (rlim,zlim) polygon diff --git a/input/profil_a.txt b/input/profil_a.txt new file mode 100644 index 0000000..b53543b --- /dev/null +++ b/input/profil_a.txt @@ -0,0 +1,3 @@ +: dens0,aln1,aln2 ! dens[1e19 m-3] = dens0*(1 - psin**aln1)**aln2 +: te0,dte0,alt1,alt2 ! temp[keV] = (te0-dte0)*(1 - psin**alt1)**alt2 + dte0 +: zeffan