CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

when use SU2_DEF to generate FFD BOX I can not get FFD_SURFACE_POINTS

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2023, 09:00
Default when use SU2_DEF to generate FFD BOX I can not get FFD_SURFACE_POINTS
  #1
New Member
 
PURIWAT SUPAPITAKPONG
Join Date: Mar 2023
Posts: 2
Rep Power: 0
ryupuriwat is on a distinguished road
This is how I set up in cfg file for FFD BOX. Could anyone please tell me what I have done is wrong so that I cannot get FFD_SURFACE_POINTS (FFD_SURFACE_POINTS=0)
% Tolerance of the Free-Form Deformation point inversion
FFD_TOLERANCE= 1E-10
%
% Maximum number of iterations in the Free-Form Deformation point inversion
FFD_ITERATIONS= 500
%
% 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)
FFD_DEFINITION= (AIRFOIL_BOX, -0.01, -1.2, 0.0, -0.01, 1.2, 0.0, 1.01, 1.2, 0.0, 1.01, -1.2, 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= (10, 1, 0)
%
% Surface grid continuity at the intersection with the faces of the FFD boxes.
% To keep a particular level of surface continuity, SU2 automatically freezes the right
% number of control point planes (NO_DERIVATIVE, 1ST_DERIVATIVE, 2ND_DERIVATIVE, USER_INPUT)
FFD_CONTINUITY= 2ND_DERIVATIVE
%
% There is a symmetry plane (j=0) for all the FFD boxes (YES, NO)
FFD_SYMMETRY_PLANE= YES

% ----------------------- DESIGN VARIABLE PARAMETERS --------------------------%
% Kind of deformation (FFD_SETTING, FFD_CONTROL_POINT_2D, FFD_CAMBER_2D, FFD_THICKNESS_2D,
% HICKS_HENNE, PARABOLIC,
% NACA_4DIGITS, DISPLACEMENT, ROTATION, FFD_CONTROL_POINT,
% FFD_NACELLE, FFD_TWIST, FFD_ROTATION,
% FFD_CAMBER, FFD_THICKNESS, SURFACE_FILE)
DV_KIND= FFD_SETTING
%
% Marker of the surface to which we are going apply the shape deformation
DV_MARKER= ( AIRFOIL )
%
% Parameters of the shape deformation
% - HICKS_HENNE ( Lower Surface (0)/Upper Surface (1)/Only one Surface (2), x_Loc )
% - NACA_4DIGITS ( 1st digit, 2nd digit, 3rd and 4th digit )
% - PARABOLIC ( Center, Thickness )
% - DISPLACEMENT ( x_Disp, y_Disp, z_Disp )
% - ROTATION ( x_Orig, y_Orig, z_Orig, x_End, y_End, z_End )
% - OBSTACLE ( Center, Bump size )
% - FFD_CONTROL_POINT ( FFD_BoxTag ID, i_Ind, j_Ind, k_Ind, x_Disp, y_Disp, z_Disp )
% - FFD_DIHEDRAL_ANGLE ( FFD_BoxTag ID, x_Orig, y_Orig, z_Orig, x_End, y_End, z_End )
% - FFD_TWIST_ANGLE ( FFD_BoxTag ID, x_Orig, y_Orig, z_Orig, x_End, y_End, z_End )
% - FFD_ROTATION ( FFD_BoxTag ID, x_Orig, y_Orig, z_Orig, x_End, y_End, z_End )
% - FFD_CAMBER ( FFD_BoxTag ID, i_Ind, j_Ind )
% - FFD_THICKNESS ( FFD_BoxTag ID, i_Ind, j_Ind )
% - FFD_VOLUME ( FFD_BoxTag ID, i_Ind, j_Ind )
DV_PARAM= 1.0
%
% New value of the shape deformation
DV_VALUE= 0.01
ryupuriwat is offline   Reply With Quote

Old   May 13, 2023, 20:25
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
The order of the points is causing this, we will introduce a helpful error message (https://github.com/su2code/SU2/issues/2025) try
-0.01, -1.2, 0.0, 1.01, -1.2, 0.0, 1.01, 1.2, 0.0, -0.01, 1.2, 0.0, ...
pcg is offline   Reply With Quote

Reply

Tags
ffd box, ffd_surface_points, su2_def

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding an FFD box to the mesh changes the flow convergence behaviour thodi SU2 4 February 19, 2021 14:24
FFD box for axisymmetrical body part Umuteng SU2 Shape Design 6 February 6, 2021 13:37
[snappyHexMesh] Not Able to Refine Mesh in Refinement Box noodleluvmay OpenFOAM Meshing & Mesh Conversion 2 January 27, 2020 10:55
complex shape of the FFD box question StanislavKarpuk SU2 0 November 28, 2019 18:55
[ANSYS Meshing] How to generate the falling box mesh DESOUZADACOSTA ANSYS Meshing & Geometry 1 March 19, 2018 09:25


All times are GMT -4. The time now is 23:01.