CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

Mesh Refinement

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

Like Tree4Likes

LinkBack Thread Tools Display Modes
Old   January 16, 2013, 10:58
New Member
Join Date: Oct 2011
Posts: 10
Rep Power: 8
blackbirdinapie is on a distinguished road
Hi emirust

I tried to find if there is a way, and there really does not appear to be one apart from calling refineMesh every time.
blackbirdinapie is offline   Reply With Quote

Old   January 17, 2013, 03:43
Join Date: Sep 2012
Posts: 30
Rep Power: 7
emirust is on a distinguished road
Ok! It serves my purpose, so why not!

Do anyone have an idea on how to automate this? I use topoSet to select a box of cells where I want the refinement, but then I would like to select a smaller box for another refinement, and then another box in this one etc... This has to be repetated maybe 8 times.
I guess the solution is not to use a topoSetDict, but call the utility directly in the command prompt. I was expecting something like this to work:

topoSet thenameoftheset new boxToCell (xmin ymin zmin) (xmax ymax zmax)

but I get an error "syntax error near unexpected token `(' "


Last edited by emirust; January 17, 2013 at 04:11.
emirust is offline   Reply With Quote

Old   January 8, 2017, 13:55
Default patchLocal
New Member
Join Date: Feb 2015
Posts: 13
Rep Power: 4
eb19 is on a distinguished road
Originally Posted by mattijs View Post
you'll need to use

- patchLocalCoeffs
- useHexTopology true
- geometricCut false

And switch on the debug switch for hexCellLooper.

Is your mesh pure hex?
Hi Mattijs,

I know this is an old post. Can you please explain where to switch on the debug switch for hexCellLooper? Is this still valid for OpenFoam v2.3.0?

Another thing is if I want to refine cells alligned with a cylindricalWall in three directions (i.e. normal and vertical directions), how do I define the patchLocal coordinate system in the refineMeshDict?
I've been trying hard to understand the description in the OpenFoam wiki but I still don't get it.

eb19 is offline   Reply With Quote


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
Mesh Refinement CC CFX 0 January 4, 2009 19:31
basic of mesh refinement arya CFX 4 June 19, 2007 12:21
Mesh refinement Beginner Main CFD Forum 1 September 22, 2006 09:21
Mesh refinement... Renato N. Elias Main CFD Forum 0 September 14, 2005 20:49
Mesh Refinement JY Siemens 7 September 19, 2002 13:37

All times are GMT -4. The time now is 18:52.