kanydao's picture
Archive CFD workflow 2026-10-12: template
e597109 verified
Raw History Blame Contribute Delete
1.34 kB
/*--------------------------------*- 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;
// ************************************************************************* //