|
[Sponsors] |
Odd-even, checkerboard, solution for wedge-cases |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2016, 05:20 |
Odd-even, checkerboard, solution for wedge-cases
|
#1 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi!
For a while I have been trying to run some axisymmetric 2D-cases. For this I have used the wedge patchtype (5 deg angle). Mostly I have set a tangential velocity to the outer cylindrical surface... much like a driven cavity. However, no case has been successful as the velocity normal to the moving wall has developed a wavy pattern, see figures. If I plot velocity vector magnitude in paraview, things looks nice, because the erroneous wall normal velocity is small compared to the tangential velocity... however, I think that the solution is not reliable, especially since the wall normal velocity is important for my cases (heat transfer). I have tried different schemes, high tolerances. Linear convergence is also OK. I suspect that the way OpenFOAM ensures continuity may be the root cause, but I have not figured it out. I have not seen this for planar cases, so it might relate to the axisymmetric geometry. I have also tried a 3D-sector mesh, using cyclic, but no improvement. For all cases I have had to export the mesh to CFX where things have gone smooth... however I am sure OpenFOAM should be able to handle this?! Anyone have any ideas? In attached test cases I have used icoFoam and rhoPimpleFoam (just run blockMesh and then the relevant solver) Regards, Kalle |
|
March 3, 2016, 06:06 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17 |
hello,
You run a 2D axi case, and in your settings, set Uz=100 m/s , in the symmetry direction ! I guess you don"t want axis-symmetry case here ! regards, olivier |
|
March 3, 2016, 06:28 |
|
#3 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi!
Thanks for your reply. Well, the test case simulates the situation where the outer surface rotates (100 m/s) and at the same time moves slowly in the the axial direction (1 m/s). As such the mesh may be two dimensional, but momentum for all 3-directions should be solved. Axisymmetric does not nessessarily mean that the tangential velocity component is zero. K |
|
March 3, 2016, 08:38 |
|
#4 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17 |
hello,
You say that all 3 dimension should be solver, and try to reduce to only 2. What you need is 3D mesh with cyclic. Check the incompressible/simpleFoam/pipeCyclic for that. regards, olivier |
|
March 3, 2016, 09:00 |
|
#5 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hmm... the solver solves for all three directions, but I will give cyclic a try. I see that the tutorial you mention has some cells also in the tangential direction, which I guess is needed for cyclic.
As I mentioned I have seen the same pattern also for a sector mesh, where I used cyclic and I had some 30 cells in the tangential direction. The radial pressure gradient is really strong for many of these cases... might cause trouble. I will look carefully on the tutorial on Monday when I am back in office! Thanks! K |
|
March 7, 2016, 05:11 |
|
#6 | |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi again!
I've had a look at the pipeCylic tutorial. It's aim appears to be to show cyclicAMI capabilities. It calculates nicely, simulating swirling flow in a straight pipe. However, my problem relates to the situation where the swirl is generated by a moving wall, rather than as swirl coming from an inlet. As for the question if 3D swirling flow can be calculated on a 2D-wedge domain, Hrv suggests that it can be done in FOAM (just like I did it in CFX) Quote:
http://www.cfd-online.com/Forums/ope...tml#post185824 I suspect that the strong radial pressure gradient causes trouble here, or that some general problem with disctretization or solution procedure exists... but I have not been able to point it out... Kalle |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFL Condition | Matt Umbel | Main CFD Forum | 19 | June 30, 2020 08:20 |
grid dependancy | gueynard a. | Main CFD Forum | 19 | June 27, 2014 21:22 |
Doubt on Implicit Methods | analyse In India | Main CFD Forum | 10 | March 9, 2007 03:01 |
Discussion about Mesh independant solution | Seb | Main CFD Forum | 13 | May 22, 2001 13:37 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 01:16 |