update cfdemSolverPimple for periodic box simulations

This commit is contained in:
BehradEsg
2023-08-21 12:52:24 +02:00
parent 9dea927b6e
commit dfccc38a3e
4 changed files with 101 additions and 1 deletions

View File

@ -4,7 +4,7 @@ tmp<fvVectorMatrix> tUEqn
(
fvm::ddt(voidfraction,U) - fvm::Sp(fvc::ddt(voidfraction),U)
+ fvm::div(phi,U) - fvm::Sp(fvc::div(phi),U)
+ particleCloud.divVoidfractionTau(U, voidfraction)
+ particleCloud.divVoidfractionTau(U, voidfraction) // in case of doing "periodic box" simulations viscous term can be commented and the solver can be compiled // again. However, the effect of this term on the results is negligible (about 1-2%).
- fOther/rho
==
fvOptions(U)