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

mesh morphing to manually transform a patch

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2019, 03:37
Default mesh morphing to manually transform a patch
  #1
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 11
taalf is on a distinguished road
Hi all,

In the config_template.cfg file from SU2 6.2, one can find (line 1069):

% - TRANSLATE_GRID ( x_Disp, y_Disp, z_Disp ), as a unit vector
% - ROTATE_GRID ( x_Orig, y_Orig, z_Orig, x_End, y_End, z_End ) axis, DV_VALUE in deg.

Is it possible to apply this transform only on some patch(es) selected using DV_MARKER, so that other patches stay untouched and the internal mesh is morphed?

Best regards,
taalf is offline   Reply With Quote

Old   September 16, 2019, 05:51
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 222
Rep Power: 5
pcg is on a distinguished road
I believe those are rigid body motions only.
pcg is offline   Reply With Quote

Old   September 16, 2019, 07:45
Default
  #3
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 11
taalf is on a distinguished road
Hi,

Could do the job using the DV_KIND= SURFACE_FILE approach (cf. tutorial SU2-6.2.0/TestCases/deformation/naca0012).

By launching SU2_DEF a first time, it creates some file containing all points of selected patches. Then, one edits this file with desired point coordinates after deformation, then re-launch SU2_DEF.

For translation, this is straighforward. For rotation, this needs a bit of scripting to edit the file.

Important parameters are also in the "GRID DEFORMATION PARAMETERS" section. I changed the DEFORM_STIFFNESS_TYPE value from INVERSE_VOLUME to WALL_DISTANCE to have cleaner results.

Hope this can help some more people.

All the best,
taalf is offline   Reply With Quote

Reply

Tags
manual, marker, morphing, patch, su2

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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 12 March 11, 2020 16:16
[Commercial meshers] Thin Walls Conversion from Fluent Mesh Isaac OpenFOAM Meshing & Mesh Conversion 1 March 4, 2016 12:08
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 11:25
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 04:56.