Skip to content

Commit e19819f

Browse files
committed
Create MVP for FFD-box writing
1 parent ea8684a commit e19819f

2 files changed

Lines changed: 3 additions & 61 deletions

File tree

design/Species_Transport/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The necessary files for this tutorial are over at /incompressible_flow/Inc_Species_Transport

incompressible_flow/Inc_Species_Transport/1__FFD-box-writing/species3_primitiveVenturi.cfg

Lines changed: 2 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ WRT_PERFORMANCE= YES
140140
%
141141
% -------------------- FREE-FORM DEFORMATION PARAMETERS -----------------------%
142142
%
143-
% Tolerance of the Free-Form Deformation point inversion
144-
FFD_TOLERANCE= 1E-10
145-
%
146-
% Maximum number of iterations in the Free-Form Deformation point inversion
147-
FFD_ITERATIONS= 500
148-
%
149143
% FFD box definition: 3D case (FFD_BoxTag, X1, Y1, Z1, X2, Y2, Z2, X3, Y3, Z3, X4, Y4, Z4,
150144
% X5, Y5, Z5, X6, Y6, Z6, X7, Y7, Z7, X8, Y8, Z8)
151145
% 2D case (FFD_BoxTag, X1, Y1, 0.0, X2, Y2, 0.0, X3, Y3, 0.0, X4, Y4, 0.0,
@@ -161,71 +155,18 @@ FFD_DEFINITION= (BOX, \
161155
0.0, 0.0, 0.0, \
162156
0.0, 0.0, 0.0 )
163157
%
164-
% FFD box degree: 3D case (x_degree, y_degree, z_degree)
165-
% 2D case (x_degree, y_degree, 0)
158+
% FFD box degree: 3D case (i_degree, j_degree, k_degree)
159+
% 2D case (i_degree, j_degree, 0)
166160
FFD_DEGREE= (6, 1, 0)
167161
%
168-
% Surface grid continuity at the intersection with the faces of the FFD boxes.
169-
% To keep a particular level of surface continuity, SU2 automatically freezes the right
170-
% number of control point planes (NO_DERIVATIVE, 1ST_DERIVATIVE, 2ND_DERIVATIVE, USER_INPUT)
171-
FFD_CONTINUITY= NO_DERIVATIVE
172-
%
173-
% Definition of the FFD planes to be frozen in the FFD (x,y,z).
174-
% Value from 0 FFD degree in that direction. Pick a value larger than degree if you don't want to fix any plane.
175-
%FFD_FIX_I= (0,2,3)
176-
%FFD_FIX_J= (0,2,3)
177-
%FFD_FIX_K= (0,2,3)
178-
179-
% ----------------------- DESIGN VARIABLE PARAMETERS --------------------------%
180-
%
181-
% Kind of deformation (NO_DEFORMATION, SCALE_GRID, TRANSLATE_GRID, ROTATE_GRID,
182-
% FFD_SETTING, FFD_NACELLE,
183-
% FFD_CONTROL_POINT, FFD_CAMBER, FFD_THICKNESS, FFD_TWIST
184-
% FFD_CONTROL_POINT_2D, FFD_CAMBER_2D, FFD_THICKNESS_2D,
185-
% FFD_TWIST_2D, HICKS_HENNE, SURFACE_BUMP, SURFACE_FILE)
186162
DV_KIND= FFD_SETTING
187163
%
188164
% Marker of the surface in which we are going apply the shape deformation
189165
% NOTE: for deformation the outlet should be a MARKER_SYM to hinder the mesh being ripped apart.
190166
DV_MARKER= ( wall )
191167
%
192168
% Parameters of the shape deformation
193-
% - NO_DEFORMATION ( 1.0 )
194169
% - FFD_SETTING ( 1.0 )
195170
% - FFD_CONTROL_POINT ( FFD_BoxTag, i_Ind, j_Ind, k_Ind, x_Disp, y_Disp, z_Disp )
196171
DV_PARAM= ( 1.0 )
197-
%
198-
% Value of the shape deformation
199-
DV_VALUE= 0.01
200172

201-
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
202-
%
203-
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
204-
DEFORM_LINEAR_SOLVER= FGMRES
205-
%
206-
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, JACOBI)
207-
DEFORM_LINEAR_SOLVER_PREC= ILU
208-
%
209-
% Number of smoothing iterations for mesh deformation
210-
DEFORM_LINEAR_SOLVER_ITER= 1000
211-
%
212-
% Number of nonlinear deformation iterations (surface deformation increments)
213-
DEFORM_NONLINEAR_ITER= 1
214-
%
215-
% Minimum residual criteria for the linear solver convergence of grid deformation
216-
DEFORM_LINEAR_SOLVER_ERROR= 1E-14
217-
%
218-
% Print the residuals during mesh deformation to the console (YES, NO)
219-
DEFORM_CONSOLE_OUTPUT= YES
220-
%
221-
% Deformation coefficient (linear elasticity limits from -1.0 to 0.5, a larger
222-
% value is also possible)
223-
DEFORM_COEFF = 1E6
224-
%
225-
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
226-
% WALL_DISTANCE, CONSTANT_STIFFNESS)
227-
DEFORM_STIFFNESS_TYPE= WALL_DISTANCE
228-
%
229-
% Deform the grid only close to the surface. It is possible to specify how much
230-
% of the volumetric grid is going to be deformed in meters or inches (1E6 by default)
231-
DEFORM_LIMIT = 1E6

0 commit comments

Comments
 (0)