CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Is there a simple way to make refineMesh write the cellLevel

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

LinkBack Thread Tools Display Modes
Old   February 16, 2009, 11:25
Default Hello. Right now I'm worki
New Member
Christian Trapp
Join Date: Mar 2009
Posts: 7
Rep Power: 10
chtrapp is on a distinguished road

Right now I'm working on a tool that does multiple runs of refineMesh and modifies the refineMeshDict according to a new dictionary (refineRegionsDict) before each run. To keep the meshes cheap I have integrated an option to make sure that already refined cells (from snappyHexMesh) are deleted from the selected region. To achieve this, the case is copied to a backup and mapFields is used after each step to refresh the cellLevel. This works fine to avoid the cells that have been refined by snappyHexMesh but does not get the ones that resultet from running refineMesh.
So, does anybody know a way to get refineMesh to write the cellLevel?

With kind regards, Christian.
chtrapp 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
BlockMesh cellSet refineMesh mattijs OpenFOAM Mesh Utilities 37 September 6, 2017 17:27
RefineMesh tetrahedral markc OpenFOAM Mesh Utilities 3 December 7, 2010 10:16
RefineMesh warning mgz1985 OpenFOAM Native Meshers: blockMesh 1 August 29, 2008 08:45
Using refineMesh matteo_gautero OpenFOAM Mesh Utilities 0 February 11, 2008 10:07
How to write a simple program ?? kokey FLUENT 0 March 19, 2002 11:21

All times are GMT -4. The time now is 20:55.