From c83bc154a1e9961cfdf0ae12297accc1ce545586 Mon Sep 17 00:00:00 2001 From: Antoine Hoffmann <antoine.hoffmann@epfl.ch> Date: Tue, 25 Jul 2023 14:50:04 +0200 Subject: [PATCH] fix sampling rates --- wk/parameters/lin_AUG.m | 9 ++++----- wk/parameters/lin_DTT_AB_rho85_PT.m | 8 ++++---- wk/parameters/lin_ETG_adiab_i.m | 8 ++++---- wk/parameters/lin_Entropy.m | 8 ++++---- wk/parameters/lin_ITG.m | 8 ++++---- wk/parameters/lin_Ivanov.m | 8 ++++---- wk/parameters/lin_KBM.m | 8 ++++---- 7 files changed, 28 insertions(+), 29 deletions(-) diff --git a/wk/parameters/lin_AUG.m b/wk/parameters/lin_AUG.m index 2d3e19bc..bfa0eddb 100644 --- a/wk/parameters/lin_AUG.m +++ b/wk/parameters/lin_AUG.m @@ -46,12 +46,11 @@ PB_PHASE= 0; %% TIME PARAMETERS TMAX = 5; % Maximal time unit DT = 2e-3; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 3; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 0.1; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 0.1; % Sampling time for 3D arrays +DTSAVE5D = 1; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie - %% OPTIONS LINEARITY = 'linear'; % activate non-linearity (is cancelled if KXEQ0 = 1) CO = 'DG'; % Collision operator (LB:L.Bernstein, DG:Dougherty, SG:Sugama, LR: Lorentz, LD: Landau) diff --git a/wk/parameters/lin_DTT_AB_rho85_PT.m b/wk/parameters/lin_DTT_AB_rho85_PT.m index 4fa60133..262c3525 100644 --- a/wk/parameters/lin_DTT_AB_rho85_PT.m +++ b/wk/parameters/lin_DTT_AB_rho85_PT.m @@ -45,10 +45,10 @@ PB_PHASE = 0; %% TIME PARAMETERS TMAX = 15; % Maximal time unit DT = 1e-3; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 2; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 0.5; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 0.5; % Sampling time for 3D arrays +DTSAVE5D = 100; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS diff --git a/wk/parameters/lin_ETG_adiab_i.m b/wk/parameters/lin_ETG_adiab_i.m index b3b3d7ed..219bcce7 100644 --- a/wk/parameters/lin_ETG_adiab_i.m +++ b/wk/parameters/lin_ETG_adiab_i.m @@ -47,10 +47,10 @@ PB_PHASE= 0; %% TIME PARAMETERS TMAX = 50; % Maximal time unit DT = 1e-4; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 1; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 1.0; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 1.0; % Sampling time for 3D arrays +DTSAVE5D = 100; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS diff --git a/wk/parameters/lin_Entropy.m b/wk/parameters/lin_Entropy.m index 18a3c2ad..ea0b655d 100644 --- a/wk/parameters/lin_Entropy.m +++ b/wk/parameters/lin_Entropy.m @@ -47,10 +47,10 @@ PB_PHASE= 0; %% TIME PARAMETERS TMAX = 100; % Maximal time unit DT = 1e-3; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 1; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 1.0; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 2.0; % Sampling time for 3D arrays +DTSAVE5D = 100; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS diff --git a/wk/parameters/lin_ITG.m b/wk/parameters/lin_ITG.m index 6519a58f..7e2167a3 100644 --- a/wk/parameters/lin_ITG.m +++ b/wk/parameters/lin_ITG.m @@ -42,10 +42,10 @@ NPOL = 1; % Number of poloidal turns %% TIME PARAMETERS TMAX = 50; % Maximal time unit DT = 1e-2; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 2; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 1; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 1; % Sampling time for 3D arrays +DTSAVE5D = 100; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS diff --git a/wk/parameters/lin_Ivanov.m b/wk/parameters/lin_Ivanov.m index b1b7e7eb..a638d755 100644 --- a/wk/parameters/lin_Ivanov.m +++ b/wk/parameters/lin_Ivanov.m @@ -43,10 +43,10 @@ NPOL = 1; % Number of poloidal turns %% TIME PARAMETERS TMAX = 50; % Maximal time unit DT = 1e-2; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 1; % Sampling per time unit for 3D arrays -DTSAVE5D = 20; % Sampling per time unit for 5D arrays +DTSAVE0D = 1; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 1; % Sampling time for 3D arrays +DTSAVE5D = 25; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS diff --git a/wk/parameters/lin_KBM.m b/wk/parameters/lin_KBM.m index dab2fe08..fc2000de 100644 --- a/wk/parameters/lin_KBM.m +++ b/wk/parameters/lin_KBM.m @@ -42,10 +42,10 @@ NPOL = 1; % Number of poloidal turns %% TIME PARAMETERS TMAX = 15; % Maximal time unit DT = 5e-3; % Time step -DTSAVE0D = 1; % Sampling per time unit for 0D arrays -DTSAVE2D = -1; % Sampling per time unit for 2D arrays -DTSAVE3D = 2; % Sampling per time unit for 3D arrays -DTSAVE5D = 100; % Sampling per time unit for 5D arrays +DTSAVE0D = 1.0; % Sampling time for 0D arrays +DTSAVE2D = -1; % Sampling time for 2D arrays +DTSAVE3D = 0.5; % Sampling time for 3D arrays +DTSAVE5D = 100; % Sampling time for 5D arrays JOB2LOAD = -1; % Start a new simulation serie %% OPTIONS -- GitLab