CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing Format & General Technical (
-   -   Automatic Mesh Refinement and Tetrahedral Meshes (

philippose June 8, 2007 14:33

Hello and a Good evening, I
Hello and a Good evening,

I was looking through the source code of OpenFOAM, and also the various presentations, slides, PDFs, etc.... available from Hrv's Powerlab FTP site, and found that in theory, OpenFOAM has had Adaptive Mesh Refining functionality for some time now.

However, everytime, I keep coming up with the limitation, that the code so far works only for Hexahedral meshes.... or atleast, thats what I have understood.

Has anyone tried to run AMR on pure tetrahedral meshes? Has it been avoided so far because it is a complex topic to jump into, or was it just that there has been no requirement (so far)?

Since I work with pure tetrahedral meshes, I was thinking of AMR for tetrahedral meshes.... can anyone give me some pointers on this? Techniques.... approaches... algorithms....etc..?

For example, if I split a tet into 8 smaller tets, how do I go about ensuring connectivity of the newly generated cells, faces and points with the already existent mesh in OpenFOAM?

Hoping to start an interesting discussion :-)! And some interesting ideas, and finally, hopefully a working setup in OpenFOAM for tet meshes.

Have a lovely weekend!


msrinath80 June 13, 2007 03:09

Philippose: I am intrigued con
Philippose: I am intrigued concerning the mention of adaptive refinement. Would you happen to know by any chance whether there is an interfoam solver floating around which can refine the mesh around the interface automatically. Think for instance the following animation:

Is it just a question of changing the staticFvMesh entry to something else in dynamicMeshDict?

sinusmontis July 4, 2007 04:16

Greetings pUl|, Yes that imag
Greetings pUl|,
Yes that image/animation has the prominent display on, but can't find any information how to set up a calculation with automatic mesh refinement at the free surface ... so far ... it's a pity ... ;-)

msrinath80 July 4, 2007 07:29

We need to wait. I'm sure it w
We need to wait. I'm sure it will be released sooner or later. I have no complaints

sinusmontis July 4, 2007 09:27

Sure, it looks like we have to
Sure, it looks like we have to wait. But it is hard to wait if you see something that will be lots of fun to "play" with :-)

holger_marschall February 6, 2008 02:47

Dear FOAMers, Any progress
Dear FOAMers,

Any progress on dynamic mesh refinement? Has anybody a demo-file for automatic mesh refinement as shown above?


Josefina May 6, 2014 11:28

Automatic Mesh Refinement in a free surface study
Hello everybody!

I am a new user of OpenFoam and I would know if it is possible to make an AMR in a 3D free surface study with the 2.2.2 version. ( I have made the mesh with blockMesh utility )

I thank you very much for your answer


cutter October 13, 2015 12:06


I know it's a somewhat late reply, but maybe it's useful for some follow-up readers.

Have a look at the interDyMFoam tutorial case ../multiphase/interDyMFoam/ras/damBreakWithObstacle. Mesh refinement is defined in ./constant/dynamicMeshDict.


j-avdeev May 21, 2016 15:44

found this thread by "OpenFOAM AMR + tetra mesh" and want to add that it looks like adaptive mesh works only with hex-mesh now (OpenFOAM v.3.0.1).

All times are GMT -4. The time now is 00:35.