CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Is there a simple way to make refineMesh write the cellLevel

Register Blogs Community New Posts Updated Threads Search

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

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

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
[mesh manipulation] BlockMesh cellSet refineMesh mattijs OpenFOAM Meshing & Mesh Conversion 41 April 7, 2020 10:32
[mesh manipulation] RefineMesh tetrahedral markc OpenFOAM Meshing & Mesh Conversion 3 December 7, 2010 10:16
[blockMesh] RefineMesh warning mgz1985 OpenFOAM Meshing & Mesh Conversion 1 August 29, 2008 09:45
[mesh manipulation] Using refineMesh matteo_gautero OpenFOAM Meshing & Mesh Conversion 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 04:31.