CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How to refine a surface when you have to mesh on both sides of the surface

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2022, 18:29
Default How to refine a surface when you have to mesh on both sides of the surface
New Member
Kishan Shukla
Join Date: Jan 2022
Posts: 5
Rep Power: 4
engg_student is on a distinguished road
(New to OpenFoam) I am working on simulating a concentric-tube heat exchanger. Now since this requires multi-region meshing, I have planned to mesh the complete region first then divide it into 3 regions using topoSet. But I want to refine the surface of the pipe (which is in between the outer fluid and inner fluid).
Now to refine the surface of the pipe if I use the stl surface file of the pipe then I am not able to do the complete meshing (because if the point locationInMesh lies in the inner fluid then only the inner part gets meshed and if it lies in the outer fluid then only the outer gets meshed)
So my question is how do I refine the surface of the pipe and do the complete meshing at the same time?
Please suggest tutorials as well for whatever solution you suggest as this is my first project on OpenFoam
Thank you in advance.

This is how my geometry looks like (side-view) (let me know if you need any more information) (P: InnerFluid, Q: Pipe, R: OuterFluid)
engg_student is offline   Reply With Quote

Old   January 18, 2022, 07:59
Super Moderator
Tobi's Avatar
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Several approaches:
  • Use multi-region meshing (ESI-OpenCFD Version)
  • Mesh each region separately
  • Use your approach and split it into the single regions and apply another snappy step onto the fluid regions to get layers
  • Use blockMesh and define single blocks (1/4 is sufficient) and mesh it as you would like to have it. Afterwards (if you are not using symmetry) you can revolve it to 360
  • Alternatively you can use a wedge for the simulation rather than the whole geometry (if applicable)
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote


meshing 3d, refinementsurfaces, snappyhexmesh

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
[ICEM] Surface mesh not sticking to surface holtwong ANSYS Meshing & Geometry 2 April 20, 2023 08:28
foam-extend-4.1 release hjasak OpenFOAM Announcements from Other Sources 19 July 16, 2021 05:02
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19

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