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

[Gmsh] creating an exit volume mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2014, 11:17
Default creating an exit volume mesh
  #1
New Member
 
david mckelvey
Join Date: Nov 2013
Posts: 14
Rep Power: 13
dmck is on a distinguished road
hi

I'm trying to create an exit volume for a pipe simulation, I want to simulate the outflow from the pipe into an exit volume.

what would be the best way to do this for OpenFoam?

i would like to create a structured mesh for both the pipe and the exit volume

i'm new to meshing and would like some advice on the correct way to do this,


i've attached an image of the sorta mesh i would like,

thanks for helping

David
Attached Images
File Type: jpg exit volume iso.jpg (48.2 KB, 11 views)
dmck is offline   Reply With Quote

Old   January 27, 2014, 12:28
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

The best way is the way you are familiar with

1. Use blockMesh. Create mesh for tube (just like for any cylinder), create mesh for exit volume (in one blockMeshDict). You will have two patches of different sizes which are in the same plane - exit patch of the tube and adjacent exit volume wall. Use mergePatchPairs to remove tube exit patch from adjacent wall patch.

2. Use external mesher (gmsh, Salome etc) and convert mesh.
alexeym is offline   Reply With Quote

Old   January 27, 2014, 13:59
Default
  #3
New Member
 
david mckelvey
Join Date: Nov 2013
Posts: 14
Rep Power: 13
dmck is on a distinguished road
hi Alexey

thanks for your reply, I was able to use the mergePatchPairs within blockMeshDict to create an exit volume at the end of the pipe and it passed checkMesh, see image

however, I have now released that I would need to terminate the pipe in the centre of the exit volume - see second image, I never thought of this before, I'm simulating a pressure wave exiting the pipe.

can anyone point me in the right direction to do this, I'm guessing the I would need to do something to the pipe cells within the exit volume

any advice would be helpful

David
Attached Images
File Type: jpg exit volume merged.jpg (34.1 KB, 10 views)
File Type: jpg exit volume section.jpg (40.5 KB, 9 views)
dmck is offline   Reply With Quote

Old   February 17, 2014, 15:19
Default
  #4
New Member
 
david mckelvey
Join Date: Nov 2013
Posts: 14
Rep Power: 13
dmck is on a distinguished road
problem sorted, by using face matching and structuring the mesh around the pipe i was able to solve the problem and get some good results

face matching as described in section 5.3 mesh generation with blockMesh utility -

face matching the set of faces that comprise a patch from one block are formed from the same set of vertices as a set of faces patch that comprise a patch from another block;
dmck 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
Creating Volume mesh from surface mesh Vivek.oswal Mesh Generation & Pre-Processing 0 August 7, 2015 15:11
Courant number blowing up, non-orthogonal mesh? odellar OpenFOAM Running, Solving & CFD 5 October 22, 2013 20:50
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


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