# 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

 January 15, 2022, 18:29 How to refine a surface when you have to mesh on both sides of the surface #1 New Member   Kishan Shukla Join Date: Jan 2022 Posts: 5 Rep Power: 4 (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)

 January 18, 2022, 07:59 #2 Super Moderator     Tobias Holzmann Join Date: Oct 2010 Location: Tussenhausen Posts: 2,708 Blog Entries: 6 Rep Power: 51 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

 Tags meshing 3d, refinementsurfaces, snappyhexmesh