Commit graph

87 commits

Author SHA1 Message Date
Henry
1cacdf0d89 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.

This development is back-ported from OpenFOAM-dev:
f78d33b634
2015-02-25 16:32:06 +00:00
Henry
b3e08bb2b8 Update header 2015-02-16 21:39:20 +00:00
Henry
84cdf51d40 interPhaseChangeDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute 2015-02-16 21:38:55 +00:00
Henry
ef5faef7d2 Update header 2015-02-16 16:22:13 +00:00
Henry
c1417d4c56 compressibleInterDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1531
2015-02-16 16:20:51 +00:00
Henry
b17c4b7e04 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Corrected sign of random coalescence source
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1382
2015-02-13 09:19:48 +00:00
Henry
1baba9a2d1 twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:37:25 +00:00
Henry
d728810dd7 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Added fvOptions support
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1402
2015-01-22 10:41:36 +00:00
Henry
110339227f Updated header 2015-01-21 16:03:01 +00:00
Henry
e1690cf2ac multiphase solvers: print phase-name rather than alpha1/2 when printing max and min phase-fraction
Resolves request https://github.com/OpenFOAM/OpenFOAM-2.3.x/pull/5
2015-01-21 15:59:54 +00:00
Henry
15fd058d8e Added newline 2014-12-16 08:43:27 +00:00
Henry
6aaac1d264 Updated copyright following transfer from OpenCFD 2014-12-10 12:41:41 +00:00
andy
ccc9593194 ENH: chtMultiRegionFoam solvers - added option to calculate using frozen flow 2014-10-16 10:20:19 +01:00
Henry
365b20becb driftFluxFoam: separate advection and diffusion for predictor-corrector MULES to reduce operator-splitting error 2014-10-13 21:12:51 +01:00
sergio
25b713bebf BUG: mantis 1397. volSymmTensorField not found for cht problems with two coupled solids 2014-09-15 17:19:57 +01:00
Henry
2a185786c1 twoPhaseEulerFoam: Improve stability in the limit alpha -> 0 2014-08-20 11:59:53 +01:00
william
173b252629 BUG: mantis #1365: switched to using wall reflection to calculate wall normals, and added caching of the wall values 2014-08-14 12:46:24 +01:00
william
a026250b41 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x 2014-07-30 12:59:40 +01:00
william
929c23fc19 BUG: mantis #1362: wrong sign in turbulent dispersion models 2014-07-30 12:59:35 +01:00
Henry
da760d57af sonicFoam family: updated 2014-07-29 15:17:50 +01:00
Henry
e3464c2375 compressibleInterFoam: write min(T) 2014-07-26 21:30:14 +01:00
Henry
882f5a35b4 rhoPimpleDyMFoam: Update correctPhi for morphing meshes 2014-06-19 15:19:13 +01:00
william
ddafa9836a BUG: Mantis 1325: laplacian name in kinetic theory model incorrectly formatted 2014-06-11 11:31:12 +01:00
william
c70020edae BUG: Mantis 1325: Johnson Jackson BCs evaluating before dependent sub model data is created 2014-06-11 11:22:33 +01:00
william
ebd467ed80 BUG: twoPhaseEulerFoam: bug fixes and bounding improvements to interfacal models 2014-06-05 16:08:39 +01:00
Henry
c29bc5995c interPhaseChangeFoam: Do not correct phi at start of run
During restart correct phi would need the dilatation from the previous time-step.
Alternative is to run potentialFoam on 0 fields to initialise phi.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1299
2014-05-20 16:15:07 +01:00
Henry
137bb2e4a6 rhoPimpleDyMFoam/pEqn: Filter use of meshPhi 2014-05-18 21:31:44 +01:00
Henry
86498d3dbe rhoPimpleDyMFoam/correctPhi.H: Add compressibility term in pcorr equation 2014-05-18 21:19:26 +01:00
Henry
979da78e59 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Correct coefficient on dilatation term
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1291
2014-05-16 13:15:11 +01:00
Henry
b211c5d5a2 multiphaseInterFoam: cache the mixture kinematic viscosity for use in fvOptions etc. 2014-05-13 10:34:33 +01:00
Henry
8e686b3b2d rhoPorousSimpleFoam: remove optional constraints on pEqn as this would violate continuity 2014-05-08 11:55:55 +01:00
Henry
72576fdce9 twoPhaseEulerFoam: Add fvOptions support and tutorial 2014-05-08 11:45:50 +01:00
Henry
94b017308d fvOptions: Rationalise the rhoEqn.H so that all compressible solvers support mass-sources correctly 2014-05-01 16:11:03 +01:00
Henry
3c17dd8490 potentialFreeSurfaceDyMFoam: New DyM version of potentialFreeSurfaceFoam
with tutorial
2014-04-30 16:08:03 +01:00
Henry
9484478a01 driftFluxFoam/relativeVelocityModels: added access to mixture 2014-04-30 14:49:38 +01:00
Henry
abcc7428ac twoPhaseEulerFoam: Now in fully-conservative form 2014-04-29 15:47:39 +01:00
Henry
779ec19183 Retire settlingFoam: replaced by driftFluxFoam 2014-04-29 14:18:57 +01:00
Henry
bc8b8db1b8 driftFluxFoam: write Udm 2014-04-29 14:18:13 +01:00
Henry
b8e1108ed6 VoF solvers: rationalize the relationship between VoF solvers
Improve code reuse
Add multiphaseInterDyMFoam
Retire MRFinterFoam -> now handled by interFoam with fvOptions
Update tutorials
2014-04-29 14:16:41 +01:00
Henry
ddf38857fc driftFluxFoam: add support for alphaMax and d of the dispersed-phase 2014-04-29 11:42:13 +01:00
Henry
cecec9a479 driftFluxFoam: Change turbulence modelling to new templated framework
Added k-epsilon model with buoyancy correction
2014-04-28 15:31:28 +01:00
Henry
6f6bc2f786 multiphaseInterFoam: Added fvOptions support for MRF etc. and added MRF tutorial
Deleted MRFMultiphaseInterFoam
2014-04-23 14:34:07 +01:00
william
1115c18a81 BUG: Mantis #1259: created lagrangian turbulence library for new turbulent structure 2014-04-15 16:38:06 +01:00
andy
6459a1d179 BUG: heat transfer Boussinesq solvers - added fvOptions MRF support - mantis #1267 2014-04-11 12:11:36 +01:00
william
968f865db5 ENH: twoPhaseEulerFoam: added new interfacial models 2014-04-07 10:23:02 +01:00
william
eb086ae455 BUG: JohnsonJacksonParticleSlipFvPatchVectorField: using solid turbulent visocity rather than thermo viscosity 2014-04-07 09:30:47 +01:00
william
4f8337cf8b BUG: twoPhaseEulerFoam: fixed definition of Nu in RanzMarshall heat transfer model 2014-04-04 11:57:39 +01:00
mattijs
4d6f4a3115 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x 2014-04-01 15:06:35 +01:00
mattijs
ffdde441c2 COMP: linear: single precision build 2014-04-01 15:06:19 +01:00
william
fb9dec077b BUG: twoPhaseEulerFoam: fixed definition of drag in kineticTheory turbulence model 2014-04-01 09:12:03 +01:00