CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

hexRef8 mapping pointLevel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2016, 00:34
Default hexRef8 mapping pointLevel
  #1
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12
ripudaman is on a distinguished road
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
Code:
    if
    (
        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.
Regards,
Ripu

P.S. - I have gone through some other forum posts that could be helpful in this regard but didn't get any clear understanding - http://www.cfd-online.com/Forums/ope...y-changes.html
ripudaman is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Cht tutorial in 15 braennstroem OpenFOAM Running, Solving & CFD 197 June 10, 2015 03:02
solid to fluid heattransfer with chtMultiRegionFoam nakor OpenFOAM 11 March 21, 2011 08:28
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 04:21.