CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   fvm::Sp (A , B) (

nimasam November 5, 2010 09:26

fvm::Sp (A , B)
hi foamer

could u please tell me whats the functionality of fvm::Sp (A,B) ?

whats the difference between fvm::Sp (A,B) and A*B ?

thanks in advance

akidess November 5, 2010 11:51

fvm::Sp(A, B) is used for an implicit source term, so "B" is the variable you are solving for. Using A*B will leave the term on the right hand side of the equations. Depending on the sign of your source term implicit treatment can help with stability.

All times are GMT -4. The time now is 05:12.