CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Call face value of a parameter (http://www.cfd-online.com/Forums/openfoam/107572-call-face-value-parameter.html)

hawkeye321 October 1, 2012 13:26

Call face value of a parameter
 
Hi FOAMERS
I am trying to solve a set of equations in the following form
--------
(Density)*fvm::ddt(U)
+ (Density/gL)*fvm::div(phi, U)
- (Visc)*(fvm::laplacian(U))
- GravityVector*g*Density*((BetaT*(T-TNot))+BetaC*(C-CNot))
+ fvm::Sp(gL*Visc/Perm,U)
--------
Perm is the permeability which is calculated by the following relation

Perm[celli] = (pow(SDAS.value(),2))*pow((gL[celli]),3)/(180*(pow((1-gL[celli]),2)));

Is there any way to make sure that the permeability at the cell face is calculated by mean harmonic interpolation?


All times are GMT -4. The time now is 21:41.