File size: 1,343 Bytes
e597109 | 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 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
//Name of .stl
name_stl car.stl;
// Computational domain coordinates
x_min -15.0;
x_max 25.0;
y_min -15.0;
y_max 15.0;
z_min -0.3;
z_max 14.7;
cell_division (80 60 30);
// Refinement box coordinates
//fine box close to the car
x_min_ref -1.25;
x_max_ref 2.0;
y_min_ref -1.25;
y_max_ref 1.25;
z_min_ref -0.3;
z_max_ref 1.75;
//medium box further away
x_min_ref_medium -2.0;
x_max_ref_medium 10.0;
y_min_ref_medium -1.75;
y_max_ref_medium 1.75;
z_min_ref_medium -0.3;
z_max_ref_medium 2.25;
//coarse box just before far field
x_min_ref_coarse -3.0;
x_max_ref_coarse 15.0;
y_min_ref_coarse -2.75;
y_max_ref_coarse 2.75;
z_min_ref_coarse -0.3;
z_max_ref_coarse 2.75;
// ************************************************************************* // |