CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   On Darcy Navier-Stokes equations for Porous Media (https://www.cfd-online.com/Forums/openfoam/190111-darcy-navier-stokes-equations-porous-media.html)

Omarspace July 5, 2017 08:57

On Navier-Stokes Brinkman equations for Porous Media
 
Hello Dear Foamers,

I apologize if this question which may have been answered before but I can't figure out yet how to solve this issue.

I am trying to modify the momentum equation by adding a source term such K*U but I would like to model this constant (K) as a tensor (Matrix 3X3). Any idea how to perform this ? Also, how will OpenFoam deal with this ? as far as I know, it solves in a segregated manner so :
will it solve implicitly for one componenet of the velocity and used explicit values for the rest ?
i.e,

K11*Up(n+1)+K12*Vp(n)+K13*Wp(n)
then
K21*Up(n+1)+K22*Vp(n+1)+K23*Wp(n)
and finally
K31*Up(n+1)+K32*Vp(n+1)+K33*Wp(n+1)

where Kij is the component of the tensor, n is the iteration number and Up,Vp and Wp stands for the velocity components at the specified cell / control volume.

Also, I will be highly grateful if anyone can let me know where in the documentation or links to find the detailed way openFoam calculates the ap and H(U).

Respectfully,
-Omar


All times are GMT -4. The time now is 09:54.