interFoam family: Add support for MULES-bounded Crank-Nicolson 2nd-order ddt(alpha)
This is an experimental feature demonstrating the potential of MULES to create bounded solution which are 2nd-order in time AND space. Crank-Nicolson may be selected on U and/or alpha but will only be fully 2nd-order if used on both within the PIMPLE-loop to converge the interaction between the flux and phase-fraction. Note also that Crank-Nicolson may not be used with sub-cycling but all the features of semi-implicit MULES are available in particular MULESCorr and alphaApplyPrevCorr. Examples of ddt specification: ddtSchemes { default Euler; } ddtSchemes { default CrankNicolson 0.9; } ddtSchemes { default none; ddt(alpha) CrankNicolson 0.9; ddt(rho,U) CrankNicolson 0.9; } ddtSchemes { default none; ddt(alpha) Euler; ddt(rho,U) CrankNicolson 0.9; } ddtSchemes { default none; ddt(alpha) CrankNicolson 0.9; ddt(rho,U) Euler; } In these examples a small amount of off-centering in used to stabilize the Crank-Nicolson scheme. Also the specification for alpha1 is via the generic phase-fraction name to ensure in multiphase solvers (when Crank-Nicolson support is added) the scheme is identical for all phase fractions.
Showing
- applications/solvers/multiphase/interFoam/LTSInterFoam/LTSInterFoam.C 2 additions, 0 deletions.../solvers/multiphase/interFoam/LTSInterFoam/LTSInterFoam.C
- applications/solvers/multiphase/interFoam/alphaEqn.H 106 additions, 21 deletionsapplications/solvers/multiphase/interFoam/alphaEqn.H
- applications/solvers/multiphase/interFoam/createFields.H 13 additions, 10 deletionsapplications/solvers/multiphase/interFoam/createFields.H
- applications/solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C 2 additions, 0 deletions.../solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C
- applications/solvers/multiphase/interFoam/interFoam.C 2 additions, 0 deletionsapplications/solvers/multiphase/interFoam/interFoam.C
Please register or sign in to comment