|
[Sponsors] |
March 11, 2009, 13:25 |
I was trying to use the dynami
|
#1 |
New Member
Lukas Fischer
Join Date: Mar 2009
Location: Innsbruck, Austria
Posts: 15
Rep Power: 17 |
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. |
|
March 12, 2009, 04:44 |
As far as I know the mesh refi
|
#2 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
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.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
March 9, 2010, 08:42 |
|
#3 |
New Member
Simon Lewis
Join Date: Aug 2009
Posts: 1
Rep Power: 0 |
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.
|
|
October 18, 2011, 10:23 |
|
#4 |
Senior Member
|
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 |
|
November 10, 2014, 07:19 |
|
#5 | |
Member
|
Quote:
Is it possible to use extrudeMesh utility after each refinement to remove cells in 3rd direction for adaptive refinement method? Hossein |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DynamicRefineFvMesh dies on snappyHexMesh generated grid | chtrapp | OpenFOAM Running, Solving & CFD | 10 | October 4, 2012 06:30 |
OpenFOAM15dev interDyMFoam problem using dynamicRefineFvMesh | eberberovic | OpenFOAM Bugs | 6 | January 14, 2010 05:18 |
DynamicRefineFvMesh dies on snappyHexMesh generated grid | chtrapp | OpenFOAM Running, Solving & CFD | 0 | January 29, 2009 12:07 |