CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

hexRef8 mapping pointLevel

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

LinkBack Thread Tools Display Modes
Old   March 28, 2016, 00:34
Default hexRef8 mapping pointLevel
Ripudaman Manchanda
Join Date: May 2013
Posts: 52
Rep Power: 6
ripudaman is on a distinguished road
Sponsored Links
Dear FOAMers,

I am attempting to create a dynamicMesh to perform a dynamicRefinement operation followed by a topoChanger operation. After a topoChanger operation the number of points in the mesh is updated, however the pointLevel stored in hexRef8 object (meshCutter) is not mapped as I get an error in the following piece of code from hexRef8::checkRefinementLevels
        cellLevel_.size() != mesh_.nCells()
     || pointLevel_.size() != mesh_.nPoints()
        FatalErrorIn("hexRef8::checkRefinementLevels(const label)")
            << "cellLevel size should be number of cells"
            << " and pointLevel size should be number of points."<< nl
            << "cellLevel:" << cellLevel_.size()
            << " mesh.nCells():" << mesh_.nCells() << nl
            << "pointLevel:" << pointLevel_.size()
            << " mesh.nPoints():" << mesh_.nPoints()
            << abort(FatalError);
I see the the pointLevel size and the mesh.nPoints() value are not the same with the former being 1 less than nPoints.

Is there any way to map the pointLevel List? My understanding suggest that this does not happen automatically since automatic mapping after mesh.update of dynamic mesh objects is done only for GeometricFields.

Please correct me if my understanding is incorrect. I would appreciate any help.

Thank you.

P.S. - I have gone through some other forum posts that could be helpful in this regard but didn't get any clear understanding -
ripudaman is offline   Reply With Quote
Sponsored Links


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
Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Cht tutorial in 15 braennstroem OpenFOAM Running, Solving & CFD 197 June 10, 2015 03:02
dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 5 March 2, 2015 18:19
solid to fluid heattransfer with chtMultiRegionFoam nakor OpenFOAM 11 March 21, 2011 09:28
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19

Sponsored Links

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