CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] meshing very narrow cylindrical bars(20 micron diameters)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2023, 18:07
Default meshing very narrow cylindrical bars(20 micron diameters)
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Hello all
I am doing snappyHexMesh on a very small object (20 micron diameters on a cylindrical pattern), but I git wrong faces. Please see the figure 1,2,3,4 which I attach. I already have done cylindrical refinement around the object, but I still got bad faces. Is there any suggestion what can I do to mesh this object better?


Thanks,
Farzad
Attached Images
File Type: jpg fig1.hair.jpg (22.1 KB, 9 views)
File Type: jpg fig2.hairZoom.jpg (76.3 KB, 8 views)
File Type: jpg fig3.hairXY.jpg (20.9 KB, 7 views)
File Type: jpg fig4.hairzoomXY.jpg (18.1 KB, 7 views)
farzadmech is offline   Reply With Quote

Old   March 21, 2023, 22:40
Default Solution suggested in Forums
  #2
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
I came across these two threads which might be helpful. Basically they are saying use one block for upstream and another for downstream and
Code:
mergeMeshes "../run/blabla1" rotor "../run/blabla2" stator
to merge both blocks(first block with snappyHexMesh) together.

blockMesh - two blocks with different vertices

How to use mergeMeshes ?? Examples?

I am going to test this approach, but any suggestion is highly appreciated.

Thanks,
Farzad

Last edited by farzadmech; March 22, 2023 at 01:36.
farzadmech is offline   Reply With Quote

Old   March 25, 2023, 02:11
Default
  #3
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
It will be easier to rescale the whole problem by several orders(1e6) and then use the snappyHexMesh to mesh the whole thing and then rescale it back to the original scale using
Code:
transformPoints -scale '(0.000001 0.000001 0.000001)'
Also, since meshing process will be very time consuming, it is better to use snappyHexMesh in parallel;

How to run snappyHexMesh in parallel:

- decomposeMethod in decomposeParDict must be hierarchical or scotch !
- run "decomposePar"
- run "mpirun -np 8 -parallel snappyHexMesh -overwrite"
- afterwards run "reconstructParMesh -mergeTol 1e-06 -latestTime"

Thanks,
Farzad

Quote:
Originally Posted by farzadmech View Post
I came across these two threads which might be helpful. Basically they are saying use one block for upstream and another for downstream and
Code:
mergeMeshes "../run/blabla1" rotor "../run/blabla2" stator
to merge both blocks(first block with snappyHexMesh) together.

blockMesh - two blocks with different vertices

How to use mergeMeshes ?? Examples?

I am going to test this approach, but any suggestion is highly appreciated.

Thanks,
Farzad
farzadmech is offline   Reply With Quote

Reply

Tags
openfoam, snapphexmesh, wrong faces


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
[ANSYS Meshing] Meshing of a 3d Ringwing in a cylindrical enclosure Lukas_ZH ANSYS Meshing & Geometry 5 March 14, 2015 06:49
Meshing a quasi-2D cylindrical wedge evcelica CFX 2 January 10, 2013 09:51
[ICEM] Problem Meshing a Cylindrical sector in ICEM SRead ANSYS Meshing & Geometry 4 July 18, 2012 15:10
Meshing a cylindrical volume pranab_jha ANSYS Meshing & Geometry 13 March 24, 2010 09:17
meshing tips for a rotating cylindrical jar.... Jaswi CFX 0 May 16, 2007 06:39


All times are GMT -4. The time now is 03:24.