|
[Sponsors] |
January 21, 2016, 01:17 |
Advective BC with Zero Gradient for Pressure
|
#1 |
Member
DB
Join Date: Apr 2011
Posts: 87
Rep Power: 15 |
Hi All,
I am trying to simulate laminar flow over a flat plate using Icofoam. The problem I am facing is that I need to apply advective BC at the outlet to avoid any reflections. When I use a zero Gradient condition for pressure it doesn't work and gives the error as below Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 0.0223463493786885 Specified mass inflow : 5e-05 Specified mass outflow : 4.99988894160287e-05 Adjustable mass outflow : 0 My initial condition is uniform (1 0 0) and inlet BC is the same. Strangely when I use fixed Value uniform 0; for pressure it works just fine. On the contrary it even runs fine when I give advective BC for pressure ( even though it is an absolutely horrendous and incorrect BC). Can someone help me understand the reason behind it and if its possible some way to run a simulation with advective BC for U and zeroGradient for p. Cheers,
__________________
-D.B |
|
January 22, 2016, 05:46 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
maybe fixedFluxPressure work for you , the problem usually happens when the solver can not preserve global continuity for your simulation
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
February 4, 2016, 00:43 |
|
#3 |
Member
DB
Join Date: Apr 2011
Posts: 87
Rep Power: 15 |
Hi,
But doesn't the data shown mean that the continuity is already satisfied and the solver is not able to proceed further ?
__________________
-D.B |
|
Tags |
advective bc, mass error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question regarding LES of pipe flow - pimpleFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 37 | December 26, 2017 15:42 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 06:35 |
[General] Problem in calculating Gradient | masaaki | ParaView | 0 | March 16, 2015 07:38 |
vortex cause pressure gradient or pressure gradient induce vortex? | fruitkiwi | Main CFD Forum | 4 | June 12, 2012 02:12 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 05:52 |