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

[snappyHexMesh] Snappy. Mesh region between 2 concentric stls

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2014, 09:46
Default Snappy. Mesh region between 2 concentric stls
  #1
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17
be_inspired is on a distinguished road
Hi all,

I am trying to mesh the region between 2 stls.
Originally there were 2 meshes. The bigger one in which some cells were removed using subsetMesh and and internal Mesh. The objective is to create new grid in the region between both meshes and so, to obtain a unique mesh but keeping the original ones. After snappy, the next step would be to merge all meshes and stich the meshes to delete all internal faces.

I have 2 stls. The geometries were obtained using foamToSurface+surfaceSplitByPatch.

Could you give me some guidance about how to proceed with snappy or if the procedure is not valid?

Best Regards
Marcelino
Attached Images
File Type: jpg image1.jpg (96.6 KB, 27 views)

Last edited by be_inspired; May 18, 2014 at 19:03.
be_inspired is offline   Reply With Quote

Old   May 16, 2014, 10:44
Default
  #2
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hi Marcelino,
Stitching meshes which have several common patches doesn't seems to be possible. It seems to be only possible when the have 1 common patch (such as a sphere or a cylinder). Please see the following post where this issue is discussed:
when can stitchMesh be used?
I hope you find an alternative approach!
Regards,
Eloïse
Eloise is offline   Reply With Quote

Old   May 16, 2014, 14:21
Default
  #3
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17
be_inspired is on a distinguished road
Ok, my approach would not work because the patch would be of arbitrary shape depending on original mesh and what cell would be removed.

I am trying to find a method to introduce a very refined mesh and to use snappy to smooth the transition between original grid and new grid. It is not a chimera grid but some interesting possibilities could be obtained introducing elements in any location of the mesh without re-meshing the whole mesh or thinking about where to locate the interfaces before hand.

It could be other option to manage moving elements. The secondary mesh can be moved along space and a new mesh of transition is developed by snappy every time step. The perfect solution would be to use overset grids but.... there is a cost.

Best Regards
Marcelino

Last edited by be_inspired; May 20, 2014 at 05:27.
be_inspired is offline   Reply With Quote

Old   May 20, 2014, 13:21
Default
  #4
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17
be_inspired is on a distinguished road
Could it be possible to use a mesh generated with ICEMHEXA as the initial mesh for snappyhexMesh? In this way:
1. the inner stl could be introduce to refine and snap to surface
2. Merge the secondary mesh
3. Maybe to use ggi interface between both meshes.

I only want a well refined disk and wake region to use rotorDiskSource or actuator line Source with the rotor Disk in any location/direction.

What do you think?
be_inspired is offline   Reply With Quote

Reply


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
Can't get chtMultiRegionSimpleFoam to working. shiromaniac OpenFOAM Running, Solving & CFD 11 October 18, 2021 08:40
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 08:26
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Read data for mesh REGION AlexRonto FLUENT 0 July 26, 2017 15:43
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 16:38.