CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   dynamicRefineFvMesh on polyhedral meshes (http://www.cfd-online.com/Forums/openfoam-solving/69380-dynamicrefinefvmesh-polyhedral-meshes.html)

lr103476 October 21, 2009 05:57

dynamicRefineFvMesh on polyhedral meshes
 
Hi everyone!

It's been a while since my last forum post, I was extremely busy wrapping up my PhD thesis. If time allows me, I will increase my message board involvement! Now the problem.

I am interested in using automatic refinement on arbitrary polyhedral meshes, which can be generated using ansys, snappy and some other tools. However, when running interDymFoam on the damBreak utility the following error occurs:

============
Selected 1178 cells for refinement out of 7854.
hexRef8 : Dumping cell as obj to "/media/data/OpenFOAM/frank-1.6/run/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/cell_9.obj"

cell 9 of level 0 does not seem to have 8 points of equal or lower level
cellPoints:6(28 29 30 31 32 33)
pointLevels:6{0}
============

Has anyone used dynamicRefineFvMesh before? Did anyone encounter and solve this problem?

Best regards,
Frank Bos

deepsterblue October 21, 2009 13:29

I believe dynamic refinement is currently supported only for 3D meshes with hexahedral cells. That would explain the error - it expects cells containing exactly 8-points for octree sub-division.

Polyhedral mesh refinement is not a trivial problem. I think it might help to decompose polyhedral cells into tetrahedra, refine/de-refine/optimize, and then agglomerate appropriately. But to do this automatically and intelligently would be quite an accomplishment indeed.

Hope this helps.

makaveli_lcf May 30, 2011 02:09

Also face this problem: I intended to refine initially coarse grid according to my solution, but it fails on tet, prisms and pyramids, all that don't have 8 vertices should not pass)))

Is dynamicRefineFvMesh improved in OF1.7?


All times are GMT -4. The time now is 14:34.