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

rotating mesh worsens mesh quality

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2022, 09:22
Default rotating mesh worsens mesh quality
  #1
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 365
Rep Power: 8
geth03 is on a distinguished road
hi all,

i have a mesh which i want to rotate.
so i use $ rotateMesh "(0 -1 0)""(0 1 0)"
it rotates the geometry, but the mesh quality becomes really bad.
screenshots are attached.

same happens with $transformPoints -rotate ...

hope someone can help
Attached Images
File Type: png mesh1.png (63.4 KB, 10 views)
File Type: png mesh2.png (63.9 KB, 9 views)
File Type: png mesh2_1.png (42.5 KB, 8 views)
geth03 is offline   Reply With Quote

Old   March 14, 2022, 11:41
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
That's because you are inverting your mesh. I.e every cell is inside out from that rotation.

try
Code:
transformPoints -rotate-angle '((0 1 0) 180)'
geth03 likes this.
Bloerb is offline   Reply With Quote

Old   March 21, 2022, 03:25
Default
  #3
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 365
Rep Power: 8
geth03 is on a distinguished road
Quote:
Originally Posted by Bloerb View Post
That's because you are inverting your mesh. I.e every cell is inside out from that rotation.

try
Code:
transformPoints -rotate-angle '((0 1 0) 180)'
thank you. unfortunately, i am using OF version 7, and your suggestion is not an option.

the following command did the trick:
transformPoints -rollPitchYaw "(180 0 0)"
geth03 is offline   Reply With Quote

Reply

Tags
mesh quality, rotatemesh


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] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
mesh quality and independency..!?? michelle CFX 0 October 15, 2007 05:50
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 02:54.