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

Visulalizing FFD Box generated in SU2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2024, 17:40
Default Visulalizing FFD Box generated in SU2
  #1
New Member
 
Join Date: Jun 2020
Posts: 14
Rep Power: 6
punyaplaban is on a distinguished road
Hi all,
I am performing a shape optimization using FFD box for a NACA0012 airfoil. With the current configuration file, I am able to create the FFD box I need using DV_KIND = FFD_SETTING and I am also able to see the deformed airfoil if I use SU2_DEF module with DV_KIND = FFD_CONTROL_POINT_2D. However, I also want to see the FFD box along with the airfoil which I am not able to (I opened the mesh_out.su2 that is generated after FFD box is created). Is there any way to visualize the FFD box that is generated in SU2?

Thanks,
Punya
punyaplaban is offline   Reply With Quote

Old   July 8, 2024, 18:31
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
SU2_DEF generates some old-fashioned paraview vtk files for you, called ffd_box_0.vtk and ffd_box_def_0.vtk, which are the undeformed/original and deformed ffd boxes.
bigfootedrockmidget is offline   Reply With Quote

Old   July 8, 2024, 19:02
Default
  #3
New Member
 
Join Date: Jun 2020
Posts: 14
Rep Power: 6
punyaplaban is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
SU2_DEF generates some old-fashioned paraview vtk files for you, called ffd_box_0.vtk and ffd_box_def_0.vtk, which are the undeformed/original and deformed ffd boxes.
Thanks. Does that show FFD box along with the geometry?
punyaplaban is offline   Reply With Quote

Old   July 9, 2024, 03:19
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
It is only the FFD box, so in paraview you load the paraview solution file (vtm,vtu or vtk) and then the FFD box file. You can visualize the FFD box together with the geometry by choosing 'wireframe' for the FFD box.
bigfootedrockmidget is offline   Reply With Quote

Old   July 9, 2024, 08:55
Default
  #5
New Member
 
Tongtong
Join Date: Jan 2024
Posts: 24
Rep Power: 2
Tongtong1919 is on a distinguished road
Quote:
Originally Posted by punyaplaban View Post
Thanks. Does that show FFD box along with the geometry?
Hello Punyaplaban,

Is this the effect you wanted?



You can display it using ParaView.
Tongtong1919 is offline   Reply With Quote

Old   July 9, 2024, 16:39
Default
  #6
New Member
 
Join Date: Jun 2020
Posts: 14
Rep Power: 6
punyaplaban is on a distinguished road
Quote:
Originally Posted by Tongtong1919 View Post
Hello Punyaplaban,

Is this the effect you wanted?



You can display it using ParaView.
This is exactly what I wanted. Just to confirm, did you get this by loading both the ffd_boxes_0.vtk and the solution file in Paraview?
Thanks.

Last edited by punyaplaban; July 9, 2024 at 17:44.
punyaplaban is offline   Reply With Quote

Old   July 9, 2024, 22:14
Default
  #7
New Member
 
Tongtong
Join Date: Jan 2024
Posts: 24
Rep Power: 2
Tongtong1919 is on a distinguished road
Quote:
Originally Posted by punyaplaban View Post
This is exactly what I wanted. Just to confirm, did you get this by loading both the ffd_boxes_0.vtk and the solution file in Paraview?
Thanks.
Hello, Punyaplaban,

I have loaded four VTK files into ParaView, which include the meshes before and after deformation, as well as the FFD boxes before and after deformation (ffd_boxes_0.vtk, ffd_boxes_def_0.vtk). I hope this can help you.
Tongtong1919 is offline   Reply With Quote

Reply


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
when use SU2_DEF to generate FFD BOX I can not get FFD_SURFACE_POINTS ryupuriwat SU2 1 May 13, 2023 21:25
FFD boxes in SU2 ajinkya1 SU2 3 August 9, 2022 11:11
Adding an FFD box to the mesh changes the flow convergence behaviour thodi SU2 4 February 19, 2021 15:24
Mesh Adaptation in SU2. What to do with generated files? 7amim SU2 1 July 23, 2018 02:39
Can SU2 get FFD Control Points with arithmetic progression space? lbfhappy SU2 Shape Design 0 February 13, 2018 05:15


All times are GMT -4. The time now is 14:31.