Skip to content
Snippets Groups Projects
Commit 21c41677 authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

Renaming the script for testing new features

parent 9db40991
No related branches found
No related tags found
No related merge requests found
...@@ -2,16 +2,16 @@ clear all; ...@@ -2,16 +2,16 @@ clear all;
addpath(genpath('../matlab')) % ... add addpath(genpath('../matlab')) % ... add
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Set Up parameters %% Set Up parameters
CLUSTER.TIME = '00:10:00'; % allocation time hh:mm:ss CLUSTER.TIME = '24:00:00'; % allocation time hh:mm:ss
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% PHYSICAL PARAMETERS %% PHYSICAL PARAMETERS
NU = 1e-1; % Collision frequency NU = 1e2; % Collision frequency
TAU = 1.0; % e/i temperature ratio TAU = 1.0; % e/i temperature ratio
ETAB = 0.5; % Magnetic gradient ETAB = 0.5; % Magnetic gradient
ETAN = 1.0; % Density gradient ETAN = 1.0; % Density gradient
ETAT = 0.0; % Temperature gradient ETAT = 0.0; % Temperature gradient
HD_CO = 0.5; % Hyper diffusivity cutoff ratio HD_CO = 0.5; % Hyper diffusivity cutoff ratio
NOISE0 = 1.0e-5; NU_HYP = 0.1;
%% GRID PARAMETERS %% GRID PARAMETERS
N = 128; % Frequency gridpoints (Nkr = N/2) N = 128; % Frequency gridpoints (Nkr = N/2)
L = 66; % Size of the squared frequency domain L = 66; % Size of the squared frequency domain
...@@ -20,17 +20,17 @@ JMAXE = 1; % Highest '' Laguerre '' ...@@ -20,17 +20,17 @@ JMAXE = 1; % Highest '' Laguerre ''
PMAXI = 2; % Highest ion Hermite polynomial degree PMAXI = 2; % Highest ion Hermite polynomial degree
JMAXI = 1; % Highest '' Laguerre '' JMAXI = 1; % Highest '' Laguerre ''
%% TIME PARAMETERS %% TIME PARAMETERS
TMAX = 500; % Maximal time unit TMAX = 200; % Maximal time unit
DT = 1e-2; % Time step DT = 1e-2; % Time step
SPS0D = 1/DT; % Sampling per time unit for profiler SPS0D = 1/DT; % Sampling per time unit for profiler
SPS2D = 2; % Sampling per time unit for 2D arrays SPS2D = 2; % Sampling per time unit for 2D arrays
SPS5D = 2; % Sampling per time unit for 5D arrays SPS5D = 1/5; % Sampling per time unit for 5D arrays
SPSCP = 1/10; % Sampling per time unit for checkpoints SPSCP = 1/10; % Sampling per time unit for checkpoints
RESTART = 1; % To restart from last checkpoint RESTART = 0; % To restart from last checkpoint
JOB2LOAD= 1; JOB2LOAD= 0;
%% OPTIONS %% OPTIONS
SIMID = 'debug'; % Name of the simulation SIMID = 'test_load_FC'; % Name of the simulation
CO = 0; % Collision operator (0 : L.Bernstein, -1 : Full Coulomb, -2 : Dougherty) CO = -1; % Collision operator (0 : L.Bernstein, -1 : Full Coulomb, -2 : Dougherty, -3 : GK Dougherty)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% unused %% unused
...@@ -42,5 +42,6 @@ LAMBDAD = 0.0; ...@@ -42,5 +42,6 @@ LAMBDAD = 0.0;
NON_LIN = 1 *(1-KREQ0); % activate non-linearity (is cancelled if KREQ0 = 1) NON_LIN = 1 *(1-KREQ0); % activate non-linearity (is cancelled if KREQ0 = 1)
LOAD_MARCONI = 0; LOAD_MARCONI = 0;
kmax = N*pi/L;% Highest fourier mode kmax = N*pi/L;% Highest fourier mode
MU = 0.1/(HD_CO*kmax)^4 % Hyperdiffusivity coefficient MU = NU_HYP/(HD_CO*kmax)^4 % Hyperdiffusivity coefficient
NOISE0 = 1.0e-5;
setup setup
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment