CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Dynamic mesh refinement in a 2D or axissymmetric case (

christian_kunkelmann August 22, 2008 11:34

Hello everyone, is there an
Hello everyone,

is there any way to suppress dynamic mesh refinement (with interDyMFoam) in a certain direction?

I am running an axissymmetric (y-axis) case with one or two levels of refinement. Unfortunately the solver refines the mesh in the rotational direction, too. This leads to a wedge geometry with a thickness of 2 or 4 cells (between the wedge boundaries). The simulation continues but produces unphysical results like velocity vectors pointing out of the wedge boundary.

Thanks a lot for your help!


mattijs August 22, 2008 13:06

The 1.5 dynamicRefineFvMesh (u
The 1.5 dynamicRefineFvMesh (used in the interDymFoam tutorial) always does 2x2x2 splitting. Writing a directional one would not be trivial.

christian_kunkelmann August 23, 2008 08:15

Mattijs, thank you very muc

thank you very much for the quick reply!


musahossein September 8, 2008 22:21

Hi Mattijs: Where can I fin
Hi Mattijs:

Where can I find the interDyMFoam tutorial?


marico January 19, 2009 06:15

Hi, 1. I also want to use m

1. I also want to use mesh refinement in one direction. The simulation is a (transient) enlargement of a crack, which normally would create elements with bad aspect ratio. Refinement (2x2x2) doesnt seem to help for this.
Is there any other "out-of-box" method like adding layers (removing, if crack is closed)?
(ANSYS hasn't any... ;)

2. For that simulation it would be great to specify the position of the moving boundary by an analytical low of motion (dependent on time and probably XYZ). Whats the proceeding for this?
The fvMotionSolver for this would be "displacementLaplacianFvMotionSolver", I guess?!

Thanks a lot for your answers.


deepsterblue January 19, 2009 10:58

Marco, Is your case 2D or 3
Is your case 2D or 3D?

marico January 19, 2009 11:35


deepsterblue January 19, 2009 12:02

I've done a fair amount of wor
I've done a fair amount of work on triangular/tetrahedral re-meshing. The 3D work is still a little preliminary, but take a look at the video and let me know if this is what you're looking for:

3D Tetrahedral Flipping

marico January 19, 2009 12:08

Hi, wow, looks fine. That s

wow, looks fine. That seems to be the thing, I'm looking for! Only sounds are missing.. ;)
How does it work? ;)


deepsterblue January 19, 2009 13:15

Derived mesh class which perfo
Derived mesh class which performs topological changes based on input criteria. It also uses the mesh-motion solver to minimize the number of topological changes for each time-step.
Doesn't do field mapping yet, though. I'm working on that.

All times are GMT -4. The time now is 17:29.