sunfluidh:simulation_management_setup_namelist
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
sunfluidh:simulation_management_setup_namelist [2016/11/12 13:04] – yann | sunfluidh:simulation_management_setup_namelist [2019/12/25 15:58] – [Full data set of the namelist] yann | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
This data setup allows the user to set the time parameters of the code in order to : | This data setup allows the user to set the time parameters of the code in order to : | ||
* perform the numerical simulation (time step, stopping criteria...) | * perform the numerical simulation (time step, stopping criteria...) | ||
- | * record the results associated to time series of probes, instantaneous quantity fields, statistical quantities. | + | * record the results associated to time series of probes, instantaneous |
* record the backup/ | * record the backup/ | ||
+ | ===== Full data set of the namelist ===== | ||
+ | |||
+ | & | ||
+ | | ||
+ | !--- Restart the simulation | ||
+ | | ||
+ | Restart_Parameter= 0 , | ||
+ | | ||
+ | !--- Stopping criteria | ||
+ | | ||
+ | Steady_Flow_Stopping_Criterion_Enabled = .false. , | ||
+ | Steady_Flow_Stopping_Criterion = 1.D-20, | ||
+ | Temporal_Iterations_Number = 10 , | ||
+ | Final_Time = 3.D+01 | ||
+ | | ||
+ | !--- Numerical time step | ||
+ | | ||
+ | TimeStep_Type = 0 , | ||
+ | Timestep_Min = 1.D-03 | ||
+ | Timestep_Max = 1.D-03 , | ||
+ | CFL_Min | ||
+ | CFL_Max | ||
+ | Iterations_For_Timestep_Linear_Progress= 1 , | ||
+ | | ||
+ | !--- Recording rates for different kind of files | ||
+ | | ||
+ | |||
+ | !--- Backup++/ | ||
+ | | ||
+ | Simulation_Backup_Rate | ||
+ | | ||
+ | !--- checkcalc_xxxxxx.d file | ||
+ | | ||
+ | Simulation_Checking_Rate = 200 , | ||
+ | | ||
+ | !--- Snapshots | ||
+ | |||
+ | InstantaneousFields_RecordingReset=.false. , | ||
+ | InstantaneousFields_TimeRecordingRate= 1.0D+00 | ||
+ | InstantaneousFields_RecordingStartTime= 0.0 , !--- in time units | ||
+ | InstantaneousFields_TimeIterationRecordingRate= 10, !--- in time-step iteration unit | ||
+ | InstantaneousFields_StartTimeIterationRecording= 70, !--- in time-step iteration unit | ||
+ | | ||
+ | !--- Probe time series files | ||
+ | | ||
+ | Probe_RecordingReset=.false. , | ||
+ | Probe_StartTimeIterationRecording= 20 , !--- in time-iteration units | ||
+ | Probe_TimeIterationRecordingRate | ||
+ | | ||
+ | !--- Slice files | ||
+ | | ||
+ | Slices_RecordingReset=.false. , | ||
+ | | ||
+ | | ||
+ | Slices_TimeIterationRecordingRate= 10 , !--- in time-step iteration unit | ||
+ | Slices_StartTimeIterationRecording= 50 , !--- in time-step iteration unit | ||
+ | | ||
+ | !--- Space-averaged field files | ||
+ | |||
+ | SpaceAveragedFields_RecordingReset=.false. , | ||
+ | | ||
+ | | ||
+ | SpaceAveragedFields_TimeIterationRecordingRate= 10 , !--- in time-step iteration units | ||
+ | SpaceAveragedFields_StartTimeIterationRecording= 20 , !--- in time-step iteration units | ||
+ | | ||
+ | !--- Statistics files | ||
+ | |||
+ | Start_Time_For_Statistics= 1.D+2 , | ||
+ | Time_Range_Statistic_Calculation = 1.D+00 | ||
+ | / | ||
----- | ----- | ||
- | ==== Restart_Parameter | + | ===== Definition of the data set ===== |
+ | ----- | ||
+ | |||
+ | ---- | ||
+ | ==== Restart the simulation ==== | ||
+ | ---- | ||
+ | **Restart_Parameter** | ||
* Type : Integer Value | * Type : Integer Value | ||
* This data indicates how is initialized the simulation : | * This data indicates how is initialized the simulation : | ||
Ligne 13: | Ligne 89: | ||
* 3 : The simulation is resumed from the last backup file built during the last time step of the previous simulation. Useful to continue a incompleted simulation. The number 3 must be present in the file num_sav_xxxxx.d (proof that the previous simulation is correctly completed), otherwise the numbers 0, 1 or 2 (related to the previous cases) will be present. | * 3 : The simulation is resumed from the last backup file built during the last time step of the previous simulation. Useful to continue a incompleted simulation. The number 3 must be present in the file num_sav_xxxxx.d (proof that the previous simulation is correctly completed), otherwise the numbers 0, 1 or 2 (related to the previous cases) will be present. | ||
- | ==== Steady_Flow_Stopping_Criterion_Enabled | + | ---- |
+ | ==== Stopping criteria | ||
+ | ---- | ||
- | * Type : Boolean value | + | **Steady_Flow_Stopping_Criterion_Enabled** |
- | * Activation of the stopping criterion for steady flow (based on the L2-norm of the time variation of quantities). | + | |
- | ==== Steady_Flow_Stopping_Criterion | + | * Type : Boolean value. |
+ | * Activation of the stopping criterion for steady flow (based on the L2-norm of the time variation of physical quantities). | ||
+ | |||
+ | **Steady_Flow_Stopping_Criterion** | ||
* Type : Real value | * Type : Real value | ||
- | * When the L2-norm of the time variation of quantities is lower than this value, the simulation is stopped and the solution corresponds to a steady flow. | + | * When the L2-norm of the time variation of physical |
- | ==== Number_Temporal_Iterations | + | **Number_Temporal_Iterations** |
* Type : Integer value | * Type : Integer value | ||
* This value is the maximum of time iterations performed by the code before stopping. | * This value is the maximum of time iterations performed by the code before stopping. | ||
- | ==== Final_Time | + | **Final_Time** |
* Type : Real value | * Type : Real value | ||
* This value is the physical time limit reached by the simulation before stopping. | * This value is the physical time limit reached by the simulation before stopping. | ||
- | ==== TimeStep_Type ===== | + | |
+ | < | ||
+ | The simulation stops as soon as one of these conditions is achieved. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | ==== Numerical time step ==== | ||
+ | ---- | ||
+ | |||
+ | **TimeStep_Type** | ||
* Type : Integer value | * Type : Integer value | ||
* Selection of way to define the numerical time step : | * Selection of way to define the numerical time step : | ||
* 0 : The time step is constant and defined by the user by means of the variable " | * 0 : The time step is constant and defined by the user by means of the variable " | ||
- | * -1 : The time step evolves lineraly between the values given by " | + | * -1 : The time step evolves lineraly between the values given by " |
- | * 1 : The time step is calculated for each time iteration by means of the CFL parameter. The CFL parameter can be constant, it is thus defined by the variable " | + | * 1 : The time step is calculated for each time iteration by means of the CFL parameter. The CFL parameter can be constant, it is thus defined by the variable " |
- | ==== | + | **Timestep_min** |
+ | * Type : Real value | ||
+ | * Minimum value of the time step. This variable can be omitted when the time step is constant. | ||
+ | **Timestep_max** | ||
+ | * Type : Real value | ||
+ | * Maximum value of the time step. This variable set the value of the time step when it is constant. | ||
+ | **CFL_min** | ||
+ | * Type : Real value. This variable can be omitted when the time step is constant. | ||
+ | * Minimum value of the CFL parameter (can be omitted, in this case **CFL_Max** will define the CFL value). | ||
+ | **CFL_max** | ||
+ | * Type : Real value | ||
+ | * Maximum value of the CFL parameter. This variable set the value of the CFL parameter when it is constant (in this case, **CFL_Min** is useless). | ||
+ | **Iterations_For_Timestep_Linear_Progress** | ||
+ | * Type : Integer value | ||
+ | * Number of time iterations over which the CFL parameter or the time step can evolve | ||
+ | |||
+ | < | ||
+ | For a dynamic computation of the time step from a CFL condition, you can only set the variable **CFL_Max** if you want a constant CFL value and **CFL_Min** can be omitted.\\ | ||
+ | In any way, the maximum value the time step can reached is limited by the value of **Timestep_max** (useful when the initial condition is defined from a zero velocity field for which the time step cannot be computed from the CFL condition). | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | ==== Recording rates for different kind of files ==== | ||
+ | ---- | ||
+ | |||
+ | ==== - For backup/ | ||
+ | |||
+ | **Simulation_Backup_Rate** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the recording rate, __in time iteration unit__ , of the backup files (for instance, when "Simulation_Backup_Rate=1000" | ||
+ | |||
+ | ==== - For snapshot files : ==== | ||
+ | |||
+ | **InstantaneousFields_RecordingStartTime** | ||
+ | * Type : Real value | ||
+ | * This variable sets the time threshold from which the record of instantaneous fields begins. It must be used along with the next variable | ||
+ | |||
+ | **InstantaneousFields_TimeRecordingRate** | ||
+ | * Type : Real value | ||
+ | * This variable defines the recording rate, __in time unit__ , of instantaneous fields. For instance, when " | ||
+ | |||
+ | **InstantaneousFields_StartTimeIterationRecording** | ||
+ | * Type : Integer value | ||
+ | * This variable sets the time-iteration threshold from which the record of instantaneous fields begins. It must be used along with the next variable " | ||
+ | |||
+ | **InstantaneousFields_TimeIterationRecordingRate** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the recording rate, __in time-iteration units__ , of instantaneous fields. For instance, when " | ||
+ | |||
+ | **InstantaneousFields_RecordingReset** | ||
+ | * Type : Boolean value. The default value is .false. | ||
+ | * When this variable is set to " | ||
+ | |||
+ | |||
+ | < | ||
+ | Keep in mind : | ||
+ | * Instantaneous field files are named res_xxxxxxx_yyyyy.d. T | ||
+ | * The number ' | ||
+ | | ||
+ | * The instantaneous fields of the physical quantities written in each file are defined | ||
+ | </ | ||
+ | |||
+ | <WRAP important> | ||
+ | This set of variables must be used in respect of one rule : the recording rate of files is defined either in time unit or in number of time steps (time-ieration unit). In any case, the correct couple of variables must be used. | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== - For slice files (instantaneous fields recorded on a slice): ==== | ||
+ | |||
+ | **Slices_RecordingStartTime** | ||
+ | * Type : Real value | ||
+ | * This variable sets the time threshold from which the record of instantaneous fields begins. It must be used along with the next variable " | ||
+ | |||
+ | **Slices_StartTimeIterationRecording** | ||
+ | * Type : Integer value | ||
+ | * This variable sets the time-iteration threshold from which the record of instantaneous fields on slices begins. It must be used along with the next variable " | ||
+ | |||
+ | **Slices_TimeIterationRecordingRate** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the recording rate, __in time-iteration units__ , of instantaneous fields on slices. For instance, when " | ||
+ | |||
+ | **Slices_RecordingReset** | ||
+ | * Type : Boolean value. The default value is .false. | ||
+ | * When this variable is set to " | ||
+ | |||
+ | < | ||
+ | Keep in mind : | ||
+ | * For instantaneous field on slice, the files are named slice_Id_dir_xxxxxxx_yyyyy.d. | ||
+ | * Id is the ID number of the Slice. | ||
+ | * dir specifies the direction of the slice | ||
+ | * The number ' | ||
+ | | ||
+ | * The instantaneous fields of the physical quantities written in each file are defined with the namelist " | ||
+ | </ | ||
+ | |||
+ | ==== - For space-averaged field files (instantaneous fields integrated in space along a direction): ==== | ||
+ | |||
+ | **SpaceAveragedFields_RecordingStartTime** | ||
+ | * Type : Real value | ||
+ | * This variable sets the time threshold from which the record of space-averaged fields begins. It must be used along with the next variable " | ||
+ | |||
+ | **SpaceAveragedFields_StartTimeIterationRecording** | ||
+ | * Type : Integer value | ||
+ | * This variable sets the time-iteration | ||
+ | |||
+ | **SpaceAveragedFields_TimeIterationRecordingRate** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the recording rate, __in time-iteration units__ , of instantaneous fields on slices. For instance, when " | ||
+ | |||
+ | **SpaceAveragedFields_RecordingReset** | ||
+ | * Type : Boolean value. The default value is .false. | ||
+ | * When this variable is set to " | ||
+ | |||
+ | < | ||
+ | Keep in mind : | ||
+ | * For space-averaged field along a specific direction, the files are named spav_Id_dir_xxxxxxx_yyyyy.d. | ||
+ | * Id is the ID number of the Slice. | ||
+ | * dir specifies the direction of the slice | ||
+ | * The number ' | ||
+ | | ||
+ | * The space-averaged fields written in each file are defined with the namelist " | ||
+ | </ | ||
+ | |||
+ | ==== - For statistics files : ==== | ||
+ | |||
+ | **Start_Time_For_Statistics** | ||
+ | * Type : Real value | ||
+ | * Time from which the statistical fields are calculated. | ||
+ | **Time_Range_Statistic_Calculation** | ||
+ | * Type : Real value | ||
+ | * Time range over which statistical fields are calculated. When this time range has been covered, statistical fields are recorded in a file named rst_xxxxxxx_yyyyy.d (' | ||
+ | |||
+ | ==== - For probe time-series files : ==== | ||
+ | |||
+ | **Probe_TimeIterationRecordingRate** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the recording rate, __in time iteration unit__ (number of time steps), of time series from probes distributed over the domain (see the namelist " | ||
+ | |||
+ | **Probe_StartTimeIterationRecording** | ||
+ | * Type : Integer value | ||
+ | * This variable defines the threshold from which the probe time-series start (in time iteration unit) | ||
+ | |||
+ | **Probe_RecordingReset** | ||
+ | * Type : Boolean value. The default value is .false. | ||
+ | * When this variable is set to " |
sunfluidh/simulation_management_setup_namelist.txt · Dernière modification : 2022/01/10 10:34 de yann