//==========================================================================// // Flowsquare+ parameter file... -- 2020R1.0 -- // //--------------------------------------------------------------------------// // You may directly edit this file, but follow below rules. Each // // parameter entry consists of three blocks divided by [SPACE] or // // double-slash(//). The order of these entries can be arbitorary. // // Example: // // 003:name 0.00123456789 // some explanation of the parameter // // ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // // 1st block 2nd block 3rd block starts after (//). // //==========================================================================// ----- General Parameters ---------------------------------------------------------------------------------- 002:cmode 1 // Simulation mode. [0] Fluid simulation mode (constant density and temperature, suitable for gas and liquid single-phase flows). [1] Thermo-fluid simulation mode (variable density and temperature, suitable for gas phase flows). 003:parallel 2 // Level of parallelism. [0] Serial (no parallelism). [1] Two, parallelism=2. [2] Low, max(2, maxThreadsAvail/4). [3] Medium, max(2, maxThreadsAvail/2). [4] High, max(2, maxThreadsAvail). 004:domx 1400 // Nominal screen size (horizontal) during simulations. (unit: pixels) 005:nx 200 // Number of mesh points in x-direction. This number may be set independent from physical domain dimensions. 006:ny 50 // Number of mesh points in y-direction. This number may be set independent from physical domain dimensions. 007:nz 100 // Number of mesh points in z-direction. This number may be set independent from physical domain dimensions. 008:lx 14.0 // Physical domain size in x-direction. (unit: m) 009:ly 4.0 // Physical domain size in y-direction. (unit: m) 010:lz 8.0 // Physical domain size in z-direction. (unit: m) 011:sts 0 // Start time step. A new simulation starts from sts=0. To restart, sts should be a timestep at which dump data was output in the previous simulation. 012:latts 20000 // End time step. For simulations under a trial license, this is limitted. 013:nfig 200 // Interval time step for image output. Result images are saved in the 'image' directory once in every 'nfig' time steps. Setting zero value disable image output. 014:nfile 2000 // Interval time step for dump data output. Result dump data are saved in the 'dump' directory once in every 'nfile' time steps. Setting zero value disable dump output. 015:openPresFlag 1 // Pressure treatment for open computational boundary. [0] Nuemann (zero gradient). [1] Dirichlet (pressure is set to be presW; reccommended for (quasi-)confined configuration. ----- Boundary and Initial Conditions -------------------------------------------------------------------- 017:presW 1.0E+05 // Mean pressure. Atmospheric pressure is 1.013E+5 (Pa). (unit: Pa) 018:uinW 0 // X-velocity component for the initial field (WHITE color). If set properly, the simulation reaches (quasi-) steady state quickly, but zero value is just fine for most cases. (unit: m/s) 019:vinW -0.1 // Y-velocity component for the initial field (WHITE color). If set properly, the simulation reaches (quasi-) steady state quickly, but zero value is just fine for most cases. (unit: m/s) 020:winW 0 // Z-velocity component for the initial field (WHITE color). If set properly, the simulation reaches (quasi-) steady state quickly, but zero value is just fine for most cases. (unit: m/s) 021:tempW 300 // Temperature of the initial field (WHITE color). (unit: K, Kelvin) T (K) = 273 + T (deg.C). For example, a room temperature of 20 (deg.C) is 293 (K). [*] This parameter is effective for 'cmode=1'. 022:tempR 350 // Temperature for the RED inflow boundry. If zero value is set, the boundary is treated as adiabatic. If the value is set as '-', no temperature constraint is imposed on this boundary. (unit: K) [*] This parameter is effective for 'cmode=1'. 023:tempWallK 0 // Temperature for the wall boundry specified with preset BLACK color. If zero value is set, the boundary is treated as adiabatic. (unit: K) [*] This parameter is effective for 'cmode=1'. 024:tempWall 0 // Temperature for the wall boundry specified with non-preset color. If zero value is set, the boundary is treated as adiabatic. (unit: K) [*] This parameter is effective for 'cmode=1'. ----- Physical and Model Parameters ------------------------------------------------------------------------ 026:mu 20E-6 // Dynamic viscosity of the fluid. mu is approximately 1.8E-5 (kg/m/s) for the atmospheric air at 15~25 (deg.C). For water at 20 (deg.C), mu is 1.0E-3 (kg/m/s). (unit: kg/m/s) 027:gfy -9.8 // Body force in y-direction. Gravitational force is approximately -9.8 m/s^2. (unit: m/s^2) ----- Graphics & Visualization Parameters ------------------------------------------------------------------ 029:ndiv 4 // Interval mesh points between displayed visualization related objects such as vectors, streamlines and particles. #End of file