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. |
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. |
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.
|
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 |
Quote:
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. |