|
[Sponsors] |
January 22, 2017, 12:35 |
Use SU2_DEF standalone for mesh deformation
|
#1 |
New Member
Spyros
Join Date: Mar 2014
Posts: 20
Rep Power: 12 |
Hello,
I would like to use SU2_DEF as a standalone tool for my geometry/mesh deformation (for my issue the threads FFD module for geometry deformation and problems in FFD deformation of my own grid were not helpful). I want it to act directly on a pre-generated grid (be it .cgns or .su2) and deform the wing geometry (surface mesh) and the volume mesh at the same time, with control points info defined in the .cfg file. Before moving on to my own grid, I am currently using the .su2 mesh file from the Onera M6 euler optimization tutorial, to create another output .su2 mesh file. To make the new file have the FFD connectivity information, I am using DV_KIND = FFD_SETTING. This works fine, and I have my new .su2 file together with the ffd_boxes.dat file. After that, I am trying to move some control points to check if the mesh is deformed (like in this thread FFD control point deformation). To do so, I put DV_KIND = FFD_CONTROL_POINT, DV_VALUE= 1.0 and DV_PARAM= ( WING, 1, 0, 0, 0.0, 0.0, 1.0 ), to have a deformation acting on the z-axis. I also have VISUALIZE_DEFORMATION= YES and also DEFINITION_DV= ( 7, 1.0 | UPPER_SIDE, LOWER_SIDE, TIP | WING, 0, 1, 0, 0.0, 0.0, 1.0 ); ....... (for all the control points) I run the SU2_DEF script and I get the following message, ----------------------- Preprocessing computations ---------------------- Setting local point connectivity. Checking the numerical grid orientation. Identify edges and vertices. Computing centers of gravity. Setting the bound control volume structure. Merging grid connectivity. Merging grid coordinates. Writing volume mesh file. Writing surface mesh file. Writing .su2 file. ------------------------- Surface grid deformation ---------------------- Performing the deformation of the surface grid. There is no FFD box definition. Just in case, check the .su2 file There are not FFD boxes in the mesh file!! which I am not sure if it is an actual error or not. I do not get any new .su2 output mesh file now, but I have produced the files "boundary.su2", "surface_grid" and "volumetric_grid.dat". I plot these on tecplot, but there not seems to be any deformation on the surface or volumetric mesh. Initially I tried to compare the ".su2" mesh generated from the "FFD_SETTING" SU2_DEF run and the "FFD_CONTROL_POINT" SU2_DEF run by running SU2_CFD, just to create both flow solutions (following a previous thread advice found here How to open .su2 in Tecplot). But, apparently "FFD_CONTROL_POINT" does not produce any new mesh ".su2" file (apart from the "boundary.su2", so obviously I am running the same CFD case). Ideally I would like to execute SU2_DEF in a .cfg file to produce a new deformed mesh ready to be used by SU2_CFD. Is this possible in version 4.2. that I am using? Thank you very much, I appreciate any help. Spyros |
|
May 16, 2017, 07:07 |
|
#2 |
New Member
yang
Join Date: Nov 2016
Posts: 5
Rep Power: 9 |
Hi Spyros,
From the console output, it seems that there is no FFD box information in the .su2 file. After the SU2_DEF (FFD_SETTING) run, a new mesh file 'mesh_out.su2' is generated, which contains the FFD box definition. You should replace the original mesh file with the new one, and then run SU2_DEF (FFD_CONTROL_POINT) to perform the deformation. Hope this helps. Guangda Yang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Total Deformation Vs Directional Deformation in Ansys Structural | rsdsaurav | Structural Mechanics | 0 | June 20, 2015 06:03 |
Grid deformation for high aspect ratio grids | praveen | SU2 Shape Design | 5 | February 15, 2013 19:50 |
CFX interpolating to a mesh with deformation | martindg | CFX | 5 | October 17, 2012 05:52 |
How to check Zone deformation? | raghu mohan | Fluent UDF and Scheme Programming | 0 | December 22, 2011 01:26 |
Calculation of the deformation rate | titio | OpenFOAM Running, Solving & CFD | 1 | March 22, 2009 08:45 |