//==========================================================================// // Flowsquare+ parameter file... -- 2021R1.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 400 // Number of mesh points in x-direction. This number may be set independent from physical domain dimensions. 006:ny 200 // Number of mesh points in y-direction. This number may be set independent from physical domain dimensions. 007:lx 1.0 // Physical domain size in x-direction. (unit: m) 008:ly 0.5 // Physical domain size in y-direction. (unit: m) 009: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. 010:latts 10000 // End time step. For simulations under a trial license, this is limitted. 011: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. 012: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. ----- Time step size related ----------------------------------------------------- 014:cfl 0.35 // 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 -------------------------------------------------------------------- 016:presW 1.0E+05 // Mean pressure. Atmospheric pressure is 1.013E+5 (Pa). (unit: Pa) 017:uinW 10.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) 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:uinB 10.0 // X-velocity component for the BLUE inflow boundry. If the value is set as '-', this boundary is slip boundary in x-direction. (unit: m/s) ----- Physical and Model Parameters ------------------------------------------------------------------------ 021:mu 2.0E-5 // 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 ------------------------------------------------------------------ 023:ndiv 8 // Interval mesh points between displayed visualization related objects such as vectors, streamlines and particles. #End of file