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

Visualise FFD boxes and other outputs

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

Like Tree1Likes
  • 1 Post By pcg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2020, 06:57
Default Visualise FFD boxes and other outputs
  #1
New Member
 
Joe
Join Date: Jul 2015
Posts: 1
Rep Power: 0
joe.coppin is on a distinguished road
Hello,

I downloaded, compiled SU2 v7.0.4 from source. When I run shape_optimization.py or SU2_DEF I do not seem to get any output to visualize the FFD boxes.

I have tried adding VISUALIZE_SURFACE_DEF=YES although I am not sure what effect this had.

Can anyone explain how to do this? Or has this functionality fallen though the cracks with the latest version.

There also doesn't seem to be a file containing the history of the design variables - apart from possibly in the cryptic .pkl files.

Any help much appreciated.

Thanks,
joe.coppin is offline   Reply With Quote

Old   May 14, 2020, 17:31
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 352
Rep Power: 8
pcg is on a distinguished road
Hi,
Try enabling also VISUALIZE_VOLUME_DEF and make sure OUTPUT_FILES contains a surface format e.g. SURFACE_PARAVIEW.
pcg is offline   Reply With Quote

Old   November 3, 2020, 18:57
Default
  #3
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 10
Zen is on a distinguished road
Hi Pedro,

I tried your suggestion, i.e. having VISUALIZE_VOLUME_DEF = YES, OUTPUT_FILES = (..., SURFACE_TECPLOT), DV_KIND = FFD_SETTING, and all the other FFD parameters set up correctly for creating the FFD box.

Then I would run SU2_DEF ***.cfg and the output would be a volume_deformed.vtu and surface_deformed.vtu files which do not contain the FFD box but only the volume/surface mesh.

Any idea what else could work for the visualization of the FFD box itself?

Zeno
Zen is offline   Reply With Quote

Old   November 4, 2020, 14:20
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 352
Rep Power: 8
pcg is on a distinguished road
Hi Zeno,

Try adding TECPLOT or TECPLOT_ASCII to the output files.
I guess the logic is that the FFD is considered a volume output.

Cheers,
Pedro
Zen likes this.
pcg is offline   Reply With Quote

Old   April 14, 2021, 03:51
Default
  #5
New Member
 
Join Date: Jun 2020
Posts: 25
Rep Power: 3
Daaman is on a distinguished road
Hi, I'm using the 7.1.1 version at the moment and tried the above suggestions. On using the suggestions, I'm able to get the surface_deformed.szplt and volume_deformed.szplt files which depict the deformed meshes. The options VISUALIZE_VOLUME_DEF and VISUALIZE_SURFACE_DEF are apparently deprecated in the latest version, and I still can't visualize the FFD boxes. Is there any other way to visualize them?

Thanks
Daaman is offline   Reply With Quote

Old   April 28, 2021, 13:15
Default
  #6
New Member
 
Omur Icke
Join Date: Apr 2016
Posts: 6
Rep Power: 7
eromir is on a distinguished road
if you use the following flags,

VISUALIZE_SURFACE_DEF= YES
VISUALIZE_VOLUME_DEF= YES
OUTPUT_FILES= (TECPLOT,SURFACE_TECPLOT)

you must be able to see

surface_deformed_00000.szplt
volume_deformed_00000.szplt
ffd_boxes.dat

which are showing the deformed surface, volume and ffd boxes respectively.
eromir is offline   Reply With Quote

Reply

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



All times are GMT -4. The time now is 17:12.