CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   flux required keyword in fvSchemes (http://www.cfd-online.com/Forums/openfoam-solving/58788-flux-required-keyword-fvschemes.html)

srinath June 8, 2008 21:29

Hello I find the line flux
 
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?

schmidt_d June 19, 2008 11:44

Srinath, If the code is sol
 
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


All times are GMT -4. The time now is 11:33.