make_fluct_npar0_lh

PURPOSE ^

Parameters for testing the effect fluctuations on ray trajectories

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Parameters for testing the effect fluctuations on ray trajectories

 by Y. Peysson (DRFC/DSM/CEA) <yves.peysson@cea.fr> and J. Decker (DRFC/DSM/CEA) <joan.decker@cea.fr>

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %
0002 % Parameters for testing the effect fluctuations on ray trajectories
0003 %
0004 % by Y. Peysson (DRFC/DSM/CEA) <yves.peysson@cea.fr> and J. Decker (DRFC/DSM/CEA) <joan.decker@cea.fr>
0005 %
0006 clear all
0007 close all
0008 clc
0009 %
0010 id_fluct = 'npar0_lh';%Fluctuations identifier
0011 %
0012 % Path parameters
0013 %
0014 id_dkepath = '';%For all paths used by DKE solver
0015 path_dkepath = '';%if nothing is specified, the working directory is first used and then MatLab is looking in all the path
0016 %
0017 % Equilibrium parameters
0018 %
0019 load ('../before_luke@TS_32299_100.0117.mat','equil');%data file from cronos
0020 %
0021 % Perturbation of the launched npar for the LH wave only (simulate possible diffraction of the LH wave in the SOL by edge density fluctuations)
0022 %
0023 fluctuations.npar0_lh.fluct.dtn = 1;%Gaussian time correlation model, edge_dtn = 2.14*t_correlation (if edge_dtn is Inf, no fluctuations)
0024 fluctuations.npar0_lh.fluct.hwhm_npar = 0.1;%Gaussian distribution (if hwhm is NaN or empty, no fluctuations)%
0025 % -------------------------------------------------------------------------
0026 %
0027 [fluct] = fluctstruct_yp(equil,id_fluct,fluctuations);
0028 %
0029 % Data saving
0030 %
0031 save_str = ['FLUCT_',equil.id,'_',id_fluct,'.mat'];
0032 eval(['save ',save_str,' fluct']);
0033 %
0034 info_dke_yp(2,'Fluctuations structure saved');

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.