The *.su grid derived from pointwise does not have the relevant configuration of the FfD box, but to optimize it, it must first be parameterized. The following steps can be implemented to initialize the FfD box:
1. Configuration files such as Rae2822.cfg
The input and output grids should be explained
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
% Mesh input file
MESH_FILENAME= RAE2822.su2 %
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
MESH_FORMAT= SU2 %
% Mesh output file
MESH_OUT_FILENAME= mesh_out.su2
There should be 8 vertex information for box, and a dimension
% FFD box definition: 3D case (FFD_BoxTag, X1, Y1, Z1, X2, Y2, Z2, X3, Y3, Z3, X4, Y4, Z4,
% X5, Y5, Z5, X6, Y6, Z6, X7, Y7, Z7, X8, Y8, Z8)
% 2D case (FFD_BoxTag, X1, Y1, 0.0, X2, Y2, 0.0, X3, Y3, 0.0, X4, Y4, 0.0,
% 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
FFD_DEFINITION= (RAEAIRFOIL, -0.05, -0.1, 0.0, 1.05, -0.1, 0.0, 1.05, 0.1, 0.0, -0.05, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
%
% FFD box degree: 3D case (x_degree, y_degree, z_degree)
% 2D case (x_degree, y_degree, 0)
FFD_DEGREE= (6, 1, 0)
To ensure that
Dv_kind= ffd_setting
2. Run under files that contain rae2822.cfg and RAE2822.SU2
Su2_def rae2822.cfg
The output MESH_OUT.SU2 contains the appropriate information for the FFD. Just the box is a homogeneous grid that can be modified manually.
SU2 Setting the initial FFD