I'm thinking out loud here. Say you start with
ddt(beta k)
+ div(beta U_b k)
= ...
This can be expanded to:
beta ddt(k) + k ddt(beta)
+ (beta U_b) . grad(k) + k beta div(U_b) + (k U_b) . grad(beta)
= ...
then
beta ddt(k) + k ddt(beta)
+ (beta U_b) . grad(k) + k div(beta U_b)
= ...
then due to continuity:
beta ddt(k)
+ (beta U_b) . grad(k)
= ...
You can divide through by beta now. I'm not sure why beta is still in the time derivative in the code?
For the mixture model I used similar arguments to the above and I have the k equation as:
| Code: |
kEqn ( fvm::ddt(k_) + fvm::div(phiMixture, k_) - fvm::laplacian(alphak_*nut_, k_) == G - fvm::Sp(epsilon_/k_, k_) );
|
I'm not so sure if that's actually equivalent to not dividing by rho_mixture anymore.