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

[snappyHexMesh] SnappyHexMesh: How to cut a nozzle out of a solid block, and mesh both

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2015, 11:45
Default SnappyHexMesh: How to cut a nozzle out of a solid block, and mesh both
  #1
New Member
 
Marcus N Hofer
Join Date: Jan 2015
Location: Austria, close to Vienna
Posts: 8
Rep Power: 11
MarcusNHofer is on a distinguished road
Greetings

embarrassing enough to have to ask again, but I don't get really ahead with this only looking at prepared cases.

Consider a simple block of some solid (the boundary shape will be quite similar to the cube I use as blockMesh background mesh for snappy hex), where some flow channel is cut out. The flow channel is aligned with some principal axis of the cube and has one inlet and one outlet (say on minX and maxX).

The geometry is present as a single .stl file with, unfortunately, no patch names included.
It was possible to mesh this with snappyHexMesh as a proof of concept, but due to the setting only the solid part was meshed and not the flow channel, I think due to the location in mesh parameter. In the end it is necessary to have both the solid and the inner fluid or nozzle region meshed, to do some conjugate heat transfer simulation
(which is proper set up for some third party tool and shall not bother me at the moment)

The fluid and solid regions shall have "clean" neighbouring cells with shared faces. I think the most apt tutorials for this are the snappyMultiRegionHeater in multi- region foam, or even closer the snappyMultiRegion tutorial of Tobi Holzmann, but there the geometry is assembled from multiple named .stl files, and not one that must somehow be divided. Maybe I just have to define the inlet and outlet batch in the .stl and snappyHexMesh dict, do 2 or 3 other things and I will be there ;-)

Some hints to attack this in a clever way are greatly appreciated, I should be able to do the work then using that tutorials

All the best,
Marcus
MarcusNHofer 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
[mesh manipulation] How to write cellSet for different regions in constant/polyMesh/sets Struggle_Achieve OpenFOAM Meshing & Mesh Conversion 3 June 17, 2019 10:29
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[Commercial meshers] Icem Mesh to Foam jphandrigan OpenFOAM Meshing & Mesh Conversion 4 March 9, 2010 03:58


All times are GMT -4. The time now is 12:49.