forked from zuowangda/Fast-Fluid-Dynamics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.ffd
67 lines (57 loc) · 3.45 KB
/
input.ffd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//------------------------------------------------------------------------------
// The are key input file parameters
//------------------------------------------------------------------------------
inpu.parameter_file_format SCI // Foramt of extra parameter file: SCI
inpu.parameter_file_name input_bcname.cfd // Name of extra parameter file
inpu.old_ffd_file_name result.plt // Name of previous FFD simulation data file
//------------------------------------------------------------------------------
// The following parameters may be overwritten by *.cfd file generated by SCI
//------------------------------------------------------------------------------
inpu.read_old_ffd_file 1 // 1: Read previous FFD file; 0: False
geom.Lx 1 // Domain size in x-direction (meter)
geom.Ly 1 // Domain size in y-direction (meter)
geom.Lz 1 // Domain size in z-direction (meter)
geom.imax 10 // Number of interior cells in x-direction
geom.jmax 10 // Number of interior cells in y-direction
geom.kmax 10 // Number of interior cells in z-direction
geom.index 600 // Total number of boundary cells
prob.nu 0.01 // Kinematic viscosity
prob.rho 1 // Density
prob.gravx 0 // Gravity in x direction
prob.gravy 0 // Gravity in y direction
prob.gravz -9.8 // Gravity in z direction
prob.cond 0.026240 // Conductivity
prob.Cp 1005.0 // Specific heat capacity
//------------------------------------------------------------------------------
// The following parameters can only be defined in this input.cfd
//------------------------------------------------------------------------------
geom.dx 0.1 // Length delta_x of one cell in x-direction for uniform grid only
geom.dy 0.1 // Length delta_y of one cell in y-direction for uniform grid only
geom.dz 0.1 // Length delta_z of one cell in z-direction for uniform grid only
geom.uniform 1 // Only for generating grid by FFD. 1: uniform grid; 0: non-uniform grid
outp.cal_mean 1 // 1: Calculate mean value; 0: False
outp.v_ref 0.1 // Reference velocity for visualization
outp.Temp_ref 1.0 // Reference temperature for visualizations
outp.v_length 1 // Change of velocity vector length in demo window
outp.i_N 1 // Number of grids plotted in x direction
outp.j_N 1 // Number of grids plotted in y direction
outp.winx 600 // Resolution of screen at x direction in pixel
outp.winy 600 // Resolution of screen at y direction in pixel
outp.version DEBUG // DEMO, DEBUG, RUN
prob.diff 0.00001 // Diffusivity for contaminants
prob.alpha 1.96e-5 // Thermal diffusivity
prob.coeff_h 0.0004 // Convective heat transfer coefficient near the wall
prob.force 1.0 // Force to be added in demo window when left-click on mouse
prob.source 1.0 // Source to be added in demo window for contaminants when right click on mouse
prob.movie 0 // Output data for making animation (1:yes, 0:no)
prob.tur_model LAM // LAM, CHEN, CONSTANT
prob.chen_a 0.03874 // Coefficeint of Chen's zero euqation turbulence model
prob.Prt 0.9 // Turbulent Prandl number
prob.Temp_Buoyancy 20.0 // Reference temperature for calucating bouyance force
mytime.t_steady 100.0 //Necessary time for reaching the steady state from initial condition
mytime.dt_cosim 0.1 // Time step for co-simulation data exchange
solv.solver GS // Solver type: GS, TDMA
solv.check_residual 0 // 1: check, 0: donot check
solv.advection_solver SEMI // Tyep of advection solver: SEMI, LAX, UPWIND, UPWIND_NEW
solv.interpolation BILINEAR // Internploation in semi-Lagrangian method: BILINEAR, FSJ, HYBRID
solv.cosimulation 0 // 0: single; 1: cosimulation