CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   FFD control point definitions (https://www.cfd-online.com/Forums/su2/178131-ffd-control-point-definitions.html)

Arad September 29, 2016 13:03

FFD control point definitions
 
Hi
Got a bit mixed up with the versions and definitions. Could someone help?

In all design tutorials with FFD a list of control points is attached at the end of the mesh.su2 file.

In many posts related to FFD it is suggested to set the FFD box corners,
then to run the SU2_MDC with DV_KIND= NO_DEFORMATION in the
configuration file. As a results the FFD control and surface points are generated and merged to the end of new_mesh.su2, that can be now used for optimization.

Now, since version 3.2 SU2_DEF replaced SU2_MDC. The current SU2_DEF won't take DV_KIND= NO_DEFORMATION. So how do you generate the definitions needed to be appended at the end of the mesh.su2 file ?

Also, Python script set_ffd_design_var.py generates a DEFINITION_DV list, based on user input (ffd box degrees and so forth). This can be appended to the configuration file, but what about the mesh.su2 file ?


Thanks

hlk September 29, 2016 14:05

Quote:

Originally Posted by Arad (Post 619764)
Hi
Got a bit mixed up with the versions and definitions. Could someone help?

In all design tutorials with FFD a list of control points is attached at the end of the mesh.su2 file.

In many posts related to FFD it is suggested to set the FFD box corners,
then to run the SU2_MDC with DV_KIND= NO_DEFORMATION in the
configuration file. As a results the FFD control and surface points are generated and merged to the end of new_mesh.su2, that can be now used for optimization.

Now, since version 3.2 SU2_DEF replaced SU2_MDC. The current SU2_DEF won't take DV_KIND= NO_DEFORMATION. So how do you generate the definitions needed to be appended at the end of the mesh.su2 file ?

Also, Python script set_ffd_design_var.py generates a DEFINITION_DV list, based on user input (ffd box degrees and so forth). This can be appended to the configuration file, but what about the mesh.su2 file ?


Thanks

Thanks for your question. Yes, some of the terminology has changed over time, in ways that we hope will make things clearer.

Instead of 'NO_DEFORMATION', use 'FFD_SETTING' with SU2_DEF to set the FFD box definition. The FFD box will be written to the mesh_out.su2 file. You do not need the DEFINTION_DV list at this step (you do need it for optimization) but you DO need to have the FFD box defined, as shown in the current
config_template.cfg.

This file is a good place to look in general for updates to the config options.

Arad September 29, 2016 16:30

Thanks a lot. It works well that way


All times are GMT -4. The time now is 10:52.