//==========================================================================// // Flowsquare+ parameter file... -- 2021R2.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 0 // 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 3 // 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 1800 // Nominal screen size (horizontal) during simulations. (unit: pixels) 005:nx 210 // Number of mesh points in x-direction. This number may be set independent from physical domain dimensions. 006:ny 75 // Number of mesh points in y-direction. This number may be set independent from physical domain dimensions. 007:nz 102 // Number of mesh points in z-direction. This number may be set independent from physical domain dimensions. 008:lx 7.0 // Physical domain size in x-direction. (unit: m) 009:ly 2.5 // Physical domain size in y-direction. (unit: m) 010:lz 3.4 // 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 50000 // End time step. For simulations under a trial license, this is limitted. 013:nfig 5000 // 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 5000 // 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:cfl 0.3 // Target Courant-Friedrichs-Lewy (CFL) number, based on which the timestepping is dynamically adjusted during the simulation. Usually, cfl=0.2~0.3. ----- Boundary and Initial Conditions -------------------------------------------------------------------- 017:presW 1.0E+05 // Mean pressure. Atmospheric pressure is 1.013E+5 (Pa). (unit: Pa) 018:rhoW 1.2 // Mean density. Approximately 1.225 (kg/m^3) for the air at 15 (deg.C), and 1.20 (kg/m^3) at 20 (deg.C). The water density is 997 (kg/m^3) independent of temperature. (unit: kg/m^3) [*] This parameter is effective for 'cmode=0'. 019:vinB 1.0 // Y-velocity component for the BLUE inflow boundry. If the value is set as '-', this boundary is slip boundary in y-direction. (unit: m/s) 020:uinC - // X-velocity component for the CYAN inflow boundry. If the value is set as '-', this boundary is slip boundary in x-direction. (unit: m/s) 021:vinC - // Y-velocity component for the CYAN inflow boundry. If the value is set as '-', this boundary is slip boundary in y-direction. (unit: m/s) 022:winC - // Z-velocity component for the CYAN inflow boundry. If the value is set as '-', this boundary is slip boundary in z-direction. (unit: m/s) 023:massfrC 1.0 // A species mass fraction for the CYAN inflow boundry. If the value is set as '-', no mass fraction constraint is imposed on this boundary. (unit: K) 024: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. ----- 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) ----- Graphics & Visualization Parameters ------------------------------------------------------------------ 028:ndiv 4 // Interval mesh points between displayed visualization related objects such as vectors, streamlines and particles. #End of file