CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Adaptive Mesh Refinement based on an octree data structure? (https://www.cfd-online.com/Forums/openfoam-programming-development/158570-adaptive-mesh-refinement-based-octree-data-structure.html)

banji August 28, 2015 13:21

Adaptive Mesh Refinement based on an octree data structure?
 
Is the OpenFOAM Adaptive Mesh Refinement based on an quadtree/octree data structure ?

Thank you.

banji August 28, 2015 13:34

Quote:

Originally Posted by hjasak (Post 559210)
Yup. Use a mixed boundary condition and switch the value fraction. That will do most things.

If you want to be really fancy, you can have a topologically changing mesh and a rematch topo modifier to move faces from one patch to another

Hello Prof. Jasak,

Please, is the implementation of dynamic mesh refinement in openfoam based on an octree data structure?

I wish to understand the code better especially the dynamic mesh handling for a moving interface. Here, I believe the value of the volume fraction (alpha/gamma) is used for thresholding.

Thank you.

wyldckat August 30, 2015 17:41

Quick answer: Used Google with this search:
Code:

site:cfd-online.com mesh refinement octree openfoam
Found a few examples:
2D meshes for dynamic refinement is not supported. There are a few threads that talk about it.


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