CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Is it possible to have a mesh to represent a domain with a hole

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 3, 2006, 04:38
Default Hi, I am trying to construc
  #1
New Member
 
kmurphy
Join Date: Mar 2009
Posts: 10
Rep Power: 8
kmurphy is on a distinguished road
Hi,

I am trying to construct a mesh to represent a rectangular region with a single circular hole. I started with the mesh used in tutorials/potentalFoam/cylinder (which matches half of my required mesh) and tried to extend this. When I do not split the blocks, i.e., using

hex (# # # # # # # #) (1 1 1) simpleGrading(1 1 1)

for each block, everything seems OK. Program checkBlock does not generate any warnings and the resulting mesh looks like .

The output from checkMesh is in checkMesh_1.log and the blockMeshDict file is blockMeshDict_1 .

Adding grading to most of the blocks works as I would have expected, to produce the following mesh .

The output from checkMesh is in checkMesh_2.log and the blockMeshDict file is blockMeshDict_2 and everything appears OK.

However, when I try to add grading to any of the other blocks I do not obtain the expected (to me) mesh. In the following diagram and files I have only
added grading to two of the problem blocks to keep the mesh as simple as possible and the problem seem to be independent of the grading used in the other blocks.

.

The output from checkMesh is checkMesh_3.log and the blockMeshDict file is blockMeshDict_3 .

In the log of checkMesh there were reports of

High aspect ratio for cell 10: 4.44057e+199
High aspect ratio for cell 11: 4.44058e+199

and

Severe non-orthogonality detected for face ...

which doesn't appear to be too healthy.

I have tried to switch the order of the vertices without success. Any advice would be great,

Thanks, Kieran
kmurphy is offline   Reply With Quote

Old   May 3, 2006, 04:45
Default Hi, Im currently working on su
  #2
newbee
Guest
 
Posts: n/a
Hi, Im currently working on such a geometry which I got thru the gmsh program and then converted it to OpenFOAM with help of the command gmshToFoam.

You could try this otherwise I dont know how to implement this.

/Erik
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to have a mesh to represent a domain with a hole kmurphy OpenFOAM Native Meshers: blockMesh 3 October 13, 2014 17:23
How to represent the divergence of a tensor times a velocity titio OpenFOAM Running, Solving & CFD 0 January 15, 2009 17:51
How to find hole in mesh prateek jain CFX 5 May 24, 2007 07:06
How to represent two phase flow in Gambit K.Baker FLUENT 4 May 22, 2006 08:03
What does the variables R and nuTilda represent in the icofoam ztdep OpenFOAM Running, Solving & CFD 2 August 18, 2005 22:21


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