CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   A question on fvm::Sp(epsilon/k, k) (https://www.cfd-online.com/Forums/openfoam-programming-development/114622-question-fvm-sp-epsilon-k-k.html)

GerhardHolzinger March 14, 2013 07:18

A question on fvm::Sp(epsilon/k, k)
 
Hello,

this is more a question of how to understand this term:

Code:

fvm::Sp(epsilon/k, k)
This term is on the rhs of the kEqn of the kEpsilon model.

Why is this form used?

Mathematically, one could also write:

Code:

fvm::Sp(epsilon)

Chris Lucas March 18, 2013 03:08

Hi

the reason is stability of the linear equation system

this would go into the source vector
fvm::Sp(epsilon)

and this in the matrix of the linear equation system.
fvm::Sp(epsilon/k, k)

Regards,
Christian

sharonyue April 14, 2014 20:26

Quote:

Originally Posted by Chris Lucas (Post 414614)
Hi

the reason is stability of the linear equation system

this would go into the source vector
fvm::Sp(epsilon)

and this in the matrix of the linear equation system.
fvm::Sp(epsilon/k, k)

Regards,
Christian

Hi Christian,

If this fvm::Sp(epsilon) go into the source vector, why dont we use epsilon instead?


All times are GMT -4. The time now is 18:25.