Fluctuating Pressure with porousSimpleFoam
Hello,
I'm running a channel-case with a smaller cross-section in between. The little box in the middle is filled with a porous zone. Furthermore there are also other geometric details, which shouldn't influence the results. The problem is, that the pressure values which I'm recording right in front of the porous zone are fluctuating considerable, aroung +/- 50 Pa. The values behind the zone are pretty continuous. Any Ideas? My fvSchemes: Code:
ddtSchemes Code:
solvers |
Hi MB,
A simple test you can perform to see whether the fluctuations are caused by numerical instabilities (wiggles), is to set all 'Gauss gamma 0.5' to 'Gauss upwind'. From accuracy point of view, this is certainly not interesting. But if the wiggles disappear you know it is related to the discretization and not the case setup (BC, initial conditions, ...). If this solves the problem, replace the upwind scheme by a 2nd order one other than the gamma 0.5. Cheers, L |
Quote:
thanks four your reply. I already did a simulation with 'Gamma upwind' for k and omega, but the fluctuations are the same. So I have to check my BC, initial conditions etc.? I don't think that I made a mistake there... Regards, MB |
Hi MB,
Do it also for div(phi,U). Since the velocity field is directly coupled with the pressure, I even expect this to have a much bigger effect than k and omega. Cheers, L |
Quote:
Regards, MB |
Did you do set all three to upwind at the same time?
What about the quality of the mesh? Hexahedral? Non-orthogonality? Coarse/fine? Somewhere conflicting boundary conditions? All steady BC? Cheers, L |
Quote:
Regards, MB |
This is not so trivial to say but if the fluctuations and/or the prisms or skew faces are near each other this might indeed be the cause...
|
Quote:
|
Quote:
Regards MB |
Mmm, do you include the porous zone explicitly or implicitly in the momentum equation?
|
Quote:
|
Ok, I'm kind of running out of ideas. Anyone else maybe?
|
From my experience on rhoPimpleFoam, you can try to set the pressure relaxation factor to 0.5 and also change the laplacian to 0.5.
I often face "oscillations" on the pressure field that disappear when I rise the relaxation factor. Maybe you can try it. |
Quote:
|
laplacianSchemes { default Gauss linear limited 0.5; }
|
Hello everyone,
I' m experiencing exactly the same problem. When I plot the pressure inside the porous region everything looks fine but A LOT of wiggling happens in the non-porous region. I experimented myself with both implicit and explicit posousSimpleFoam solver but without any luck. I also tried different schemes in the fvSchemes dictionary but the wiggling still exists. I do not have any turbulence models on (laminar flow) and I simply cannot understand why this wiggling takes place. The mesh was generated via Gmsh with prismatic cells filling the computational domain which very dense cell arrangements in some regions. Can anybody shed some light regarding this issue? From the BC's point of view I don't think I 've made any mistake. The flow behaviour generally looks..."realistic" short of, and as expected. But the pressure produces oscillations. Thanks in advance, Nickolas |
All times are GMT -4. The time now is 05:25. |