|
[Sponsors] |
June 8, 2008, 22:29 |
Hello
I find the line
flux
|
#1 |
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17 |
Hello
I find the line fluxrequired { p } found in many system/fvSchemes, quite puzzling. What does this mean? Does it mean p is required on the boundaries? |
|
June 19, 2008, 12:44 |
Srinath,
If the code is sol
|
#2 |
Member
David P. Schmidt
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Srinath,
If the code is solving a transport equation, it also calculates the fluxes at each cell face. If this information is useful to you after the solution of the equation, then you add it to the fluxrequired list in fvSchemes. The pressure equation has div(grad(p)). So the flux here is a gradient of p that is located at the faces. This is quite different than the gradient of pressure at cell centers, that you would get with the normal fvc::grad(p). The gradient at p from the faces is very useful for updating fluxes. -DPS |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to specify p in the flux required subdictionary | amitshah | OpenFOAM Running, Solving & CFD | 4 | February 15, 2016 01:34 |
FvSchemes | sega | OpenFOAM Running, Solving & CFD | 2 | February 15, 2010 12:07 |
[Gmsh] GmshToFoam keyword patch0 is undefined | steve999 | OpenFOAM Meshing & Mesh Conversion | 5 | September 14, 2008 15:45 |
FvSchemes from 12 to 11 | fedegavo | OpenFOAM Running, Solving & CFD | 1 | January 20, 2006 14:49 |
Keyword Search of Discussion Forums | Jonas Larsson | Main CFD Forum | 0 | June 28, 2000 04:08 |