CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   DynamicMeshDict dynamicRefineFvMesh in 2D (https://www.cfd-online.com/Forums/openfoam-solving/57804-dynamicmeshdict-dynamicrefinefvmesh-2d.html)

lukasfischer March 11, 2009 13:25

I was trying to use the dynami
 
I was trying to use the dynamic Mesh refinement for cells near the surface of multiphase flows in a 2D simulation, but as expected it produces more cell layers in z Direction wich is incompatible with patch type "empty". Is there a way to set mesh refinement in only 2 Dimensions? I tried to read the source code of OpenFOAM-1.5/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C but i am new to OpenFOAM and don't know C++...
The mesh i use is done with blockMesh. Any help is more than welcome, thanks, Lukas.

sega March 12, 2009 04:44

As far as I know the mesh refi
 
As far as I know the mesh refinement is done in all 3 space directions. Maybe you should try slip conditions instead of empty for the 3rd direction.
This is what I did with my 2D simulations and dynamic mesh refinement.

sgl101 March 9, 2010 08:42

I have been having the same problem as this, and I think i have solved it using a patch of type symmetryPlane, rather than empty.

owayz October 18, 2011 10:23

Hallo,
I also have a problem in which I want to apply mesh refinement in 2D. I am really not experienced in using openFOAM. If you could please guide me how to implement that.
I have seen the interDyMFOAM solver but I want to use rhoCentralDyMFOAM. So if some one has already used it successfully, I would be really happy if he could help me in any possible way. (i.e. if they could send me their case files and folders, it would be really helpful for me to implement the same thing for my problem.)
Regards,
Awais

atoof November 10, 2014 07:19

Quote:

Originally Posted by sega (Post 184437)
As far as I know the mesh refinement is done in all 3 space directions. Maybe you should try slip conditions instead of empty for the 3rd direction.
This is what I did with my 2D simulations and dynamic mesh refinement.

Dears,

Is it possible to use extrudeMesh utility after each refinement to remove cells in 3rd direction for adaptive refinement method?

Hossein


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