Skip to content

Commit

Permalink
Tutorial updates Part II for v7.
Browse files Browse the repository at this point in the history
  • Loading branch information
economon committed Nov 25, 2019
1 parent 1811e61 commit 4a6ff7a
Show file tree
Hide file tree
Showing 27 changed files with 89 additions and 268 deletions.
7 changes: 3 additions & 4 deletions Inc_Inviscid_Hydrofoil/inv_naca0012.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -18
CONV_RESIDUAL_MINVAL= -15
%
% Start Cauchy criteria at iteration number
CONV_STARTITER= 10
Expand Down Expand Up @@ -204,4 +203,4 @@ WRT_SOL_FREQ= 50
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
31 changes: 10 additions & 21 deletions Inc_Laminar_Cavity/lam_buoyancy_cavity.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
% POISSON_EQUATION)
SOLVER= INC_NAVIER_STOKES
%
%
% Specify turbulent model (NONE, SA, SA_NEG, SST)
KIND_TURB_MODEL= NONE
%
Expand Down Expand Up @@ -123,11 +122,11 @@ NUM_METHOD_GRAD= GREEN_GAUSS
CFL_NUMBER= 50.0
%
% Adaptive CFL number (NO, YES)
CFL_ADAPT= NO
CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 15.0, 1e10)
CFL_ADAPT_PARAM= ( 0.1, 2.0, 50.0, 1e10)
%
% Maximum Delta Time in local time stepping simulations
MAX_DELTA_TIME= 1E6
Expand All @@ -153,18 +152,18 @@ LINEAR_SOLVER_ILU_FILL_IN= 0
LINEAR_SOLVER_ERROR= 1E-15
%
% Max number of iterations of the linear solver for the implicit formulation
LINEAR_SOLVER_ITER= 10
LINEAR_SOLVER_ITER= 30

% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
% Multi-Grid Levels (0 = no multi-grid)
MGLEVEL= 2
MGLEVEL= 0
%
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
MGCYCLE= V_CYCLE
%
% Multi-grid pre-smoothing level
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
%
% Multi-grid post-smoothing level
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
Expand All @@ -173,10 +172,10 @@ MG_POST_SMOOTH= ( 0, 0, 0, 0 )
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
%
% Damping factor for the residual restriction
MG_DAMP_RESTRICTION= 0.8
MG_DAMP_RESTRICTION= 0.95
%
% Damping factor for the correction prolongation
MG_DAMP_PROLONGATION= 0.8
MG_DAMP_PROLONGATION= 0.95

% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
%
Expand All @@ -199,11 +198,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_TEMPERATURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -12
CONV_RESIDUAL_MINVAL= -8
%
% Start convergence criteria at iteration number
CONV_STARTITER= 10
Expand All @@ -213,7 +211,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -266,12 +263,4 @@ WRT_SOL_FREQ= 100
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
% Extract a slice using GEO_BOUNDS (works with 2D cartesian grids only)
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
GEO_BOUNDS= ( 0.499, 0.501)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_TEMPERATURE, LIFT, DRAG)
23 changes: 6 additions & 17 deletions Inc_Laminar_Flat_Plate/lam_flatplate.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
CFL_NUMBER= 15.0
%
% Adaptive CFL number (NO, YES)
CFL_ADAPT= NO
CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 )
CFL_ADAPT_PARAM= ( 0.1, 2.0, 1.0, 1e10 )
%
% Number of total iterations
ITER= 99999
Expand All @@ -164,7 +164,7 @@ LINEAR_SOLVER_ITER= 25
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
% Multi-Grid Levels (0 = no multi-grid)
MGLEVEL= 3
MGLEVEL= 0
%
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
MGCYCLE= W_CYCLE
Expand Down Expand Up @@ -209,12 +209,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -14
CONV_RESIDUAL_MINVAL= -16
%
% Start convergence criteria at iteration number
CONV_STARTITER= 10
Expand All @@ -224,7 +222,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -277,12 +274,4 @@ WRT_SOL_FREQ= 250
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
GEO_BOUNDS= ( 0.304, 0.305)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
17 changes: 2 additions & 15 deletions Inc_Laminar_Step/lam_backwardstep.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -16
Expand All @@ -209,7 +207,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -262,14 +259,4 @@ WRT_SOL_FREQ= 250
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT=(INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)

% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
% Extract a slice using GEO_BOUNDS (works with 2D cartesian grids only)
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
%GEO_BOUNDS= ( 6.99, 7.01)
GEO_BOUNDS= ( 14.99, 15.01)
SCREEN_OUTPUT=(INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
19 changes: 5 additions & 14 deletions Inc_Turbulent_Flat_Plate/turb_flatplate.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
% Physical governing equations (EULER, NAVIER_STOKES,
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
% POISSON_EQUATION)
SOLVER= INC_NAVIER_STOKES
SOLVER= INC_RANS
%
% If Navier-Stokes, kind of turbulent model (NONE, SA)
KIND_TURB_MODEL= SA
Expand Down Expand Up @@ -100,11 +100,11 @@ NUM_METHOD_GRAD= GREEN_GAUSS
CFL_NUMBER= 100.0
%
% Adaptive CFL number (NO, YES)
CFL_ADAPT= NO
CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 )
CFL_ADAPT_PARAM= ( 0.1, 2.0, 100.0, 1e3 )
%
% Runge-Kutta alpha coefficients
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
Expand Down Expand Up @@ -201,8 +201,7 @@ TIME_DISCRE_TURB= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -14
Expand Down Expand Up @@ -268,13 +267,5 @@ WRT_SOL_FREQ= 250
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_NU_TILDE, LIFT, DRAG)

% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
GEO_BOUNDS= ( 0.970, 0.9701)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_NU_TILDE, LIFT, DRAG)

11 changes: 4 additions & 7 deletions Inc_Turbulent_NACA0012/turb_naca0012.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
% Physical governing equations (EULER, NAVIER_STOKES,
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
% POISSON_EQUATION)
SOLVER= INC_NAVIER_STOKES
SOLVER= INC_RANS
%
% Specify turbulent model (NONE, SA, SA_NEG, SST)
KIND_TURB_MODEL= SA
Expand Down Expand Up @@ -101,7 +101,7 @@ CFL_ADAPT= NO
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 25.0, 10000.0 )
CFL_ADAPT_PARAM= ( 0.1, 1.2, 25.0, 1e3 )
%
% Maximum Delta Time in local time stepping simulations
MAX_DELTA_TIME= 1E6
Expand Down Expand Up @@ -203,9 +203,7 @@ TIME_DISCRE_TURB= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -14
Expand All @@ -218,7 +216,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -271,5 +268,5 @@ WRT_SOL_FREQ= 250
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT = (INNER_ITER, RMS_PRESSURE, RMS_NU_TILDE, LIFT, DRAG)
SCREEN_OUTPUT = (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_NU_TILDE, LIFT, DRAG)

12 changes: 3 additions & 9 deletions NICFD_nozzle/NICFD_nozzle.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% FEM_EULER, FEM_NAVIER_STOKES, FEM_RANS, FEM_LES,
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
% POISSON_EQUATION)
SOLVER= NAVIER_STOKES
SOLVER= RANS
%
% Specify turbulence model (NONE, SA, SA_NEG, SST, SA_E, SA_COMP, SA_E_COMP)
KIND_TURB_MODEL= SST
Expand Down Expand Up @@ -132,7 +132,7 @@ CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 1000.0 )
CFL_ADAPT_PARAM= ( 0.1, 2.0, 10.0, 1000.0 )
%
% Maximum Delta Time in local time stepping simulations
MAX_DELTA_TIME= 1E6
Expand Down Expand Up @@ -168,7 +168,7 @@ LINEAR_SOLVER_ILU_FILL_IN= 0
LINEAR_SOLVER_ERROR= 1E-6
%
% Max number of iterations of the linear solver for the implicit formulation
LINEAR_SOLVER_ITER= 5
LINEAR_SOLVER_ITER= 10

% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
Expand All @@ -187,9 +187,6 @@ ENTROPY_FIX_COEFF= 0.1
%
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
TIME_DISCRE_FLOW= EULER_IMPLICIT
%
% Relaxation coefficient
RELAXATION_FACTOR_FLOW= 0.95

% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
%
Expand All @@ -201,9 +198,6 @@ TIME_DISCRE_TURB= EULER_IMPLICIT
%
% Reduction factor of the CFL coefficient in the turbulence problem
CFL_REDUCTION_TURB= 1.0
%
% Relaxation coefficient
RELAXATION_FACTOR_TURB= 0.95

% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
Expand Down
Loading

0 comments on commit 4a6ff7a

Please sign in to comment.