Commit Graph

43 Commits

Author SHA1 Message Date
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry Weller
42fb1b9e8e Updated notImplemented -> NotImplemented
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
Henry Weller
6f6c2ab024 twoPhaseEulerFoam: Added support for alphat and thermal wall-functions 2015-08-26 18:06:43 +01:00
Henry Weller
251526e024 Removed trailing whitespace
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1805
2015-08-01 15:43:05 +01:00
Henry Weller
365f9b0006 dimensioned<Type>: Added constructor from name, dimensions and dictionary
to simplify construction of dimensionedScalar properties and avoid the
duplication of the name string in the constructor call.
2015-07-21 12:57:07 +01:00
Henry Weller
69d994e794 twoPhaseEulerFoam: Change the implicit particle-pressure and turbulence dispersion
to be phase-symmetric so that the results are independent of which
phase-fraction is solved.
2015-06-25 16:08:21 +01:00
Henry
61e52b2cb4 twoPhaseEulerFoam: Move the residualAlpha used for drag into the phaseModel
This is necessary to guarantee consistency between the residualAlpha
used for drag and buoyancy in a multi-phase system
2015-06-07 18:55:24 +01:00
Henry
cd2aa39eda Update header 2015-05-08 10:10:47 +01:00
Henry
6b2fb4664c twoPhaseEulerFoam: Update only the fixed-value phi patch fields before constructing the pressure eqn
Avoids small continuity error in parallel
2015-05-08 09:51:36 +01:00
Henry
9284d856b9 Updated header 2015-04-28 18:19:13 +01:00
Henry
9655398064 twoPhaseEulerFoam: Improvements to implicitPhasePressure 2015-04-28 18:18:34 +01:00
Henry
fc6b44ee3c twoPhaseEulerFoam: Added experimental face-based momentum equation formulation
This formulation provides C-grid like pressure-flux staggering on an
unstructured mesh which is hugely beneficial for Euler-Euler multiphase
equations as it allows for all forces to be treated in a consistent
manner on the cell-faces which provides better balance, stability and
accuracy.  However, to achieve face-force consistency the momentum
transport terms must be interpolated to the faces reducing accuracy of
this part of the system but this is offset by the increase in accuracy
of the force-balance.

Currently it is not clear if this face-based momentum equation
formulation is preferable for all Euler-Euler simulations so I have
included it on a switch to allow evaluation and comparison with the
previous cell-based formulation.  To try the new algorithm simply switch
it on, e.g.:

PIMPLE
{
    nOuterCorrectors 3;
    nCorrectors      1;
    nNonOrthogonalCorrectors 0;
    faceMomentum     yes;
}

It is proving particularly good for bubbly flows, eliminating the
staggering patterns often seen in the air velocity field with the
previous algorithm, removing other spurious numerical artifacts in the
velocity fields and improving stability and allowing larger time-steps
For particle-gas flows the advantage is noticeable but not nearly as
pronounced as in the bubbly flow cases.

Please test the new algorithm on your cases and provide feedback.

Henry G. Weller
CFD Direct
2015-04-27 21:33:58 +01:00
Henry
f5bb944965 twoPhaseEulerFoam: Improved handling of velocity/flux boundary conditions
Updated tutorials to converge pressure during PIMPLE loop to avoid
phase-fraction unboundedness which limits thermodynamics convergence.
2015-04-12 09:57:56 +01:00
Henry
5688e3daa7 Updated headers 2015-04-08 12:22:15 +01:00
Henry
0be1e89204 twoPhaseEulerFoam: Interpolate lift, wall-lubrication and turbulent dispersion forces
Reduces or eliminates staggering patterns due to cell-force imbalances
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1363
2015-04-08 12:19:23 +01:00
Henry
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
f86f904d7d 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:23:22 +00:00
Henry
573829b60b twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter: Do not register the temporary diameter field 2015-02-11 14:48:34 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
5c77a34f5a twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:44:18 +00:00
Henry
5252c800eb twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Added fvOptions support
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1402
2015-01-22 10:59:45 +00:00
Henry
9a40fb787e multiphase solvers: print phase-name rather than alpha1/2 when printing max and min phase-fraction 2015-01-21 20:07:15 +00:00
Henry
aceb69149e Reformat references 2014-12-19 21:33:16 +00:00
Henry
090768c0b3 Reformatted references 2014-12-19 11:55:16 +00:00
william
4b30be42ff BUG: mantis #1365: switched to using wall reflection to calculate wall normals, and added caching of the wall values 2014-08-14 12:45:57 +01:00
Henry
99d47d85a8 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
85da9e6a54 twoPhaseEulerFoam: Now in fully-conservative form 2014-04-29 15:47:39 +01:00
mattijs
17df849a1a COMP: linear: single precision build 2014-04-01 15:06:19 +01:00
william
37c75a8b18 BUG: twoPhaseEulerFoam: removed multiple of the continuous phase fraction from force and heat transfer models 2014-03-17 16:34:32 +00:00
Henry
dd0efd159d twoPhaseEulerFoam: added optional alphaMax to phaseModel for MULES limiter
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1209
2014-03-07 23:32:00 +00:00
william
10f31ddaea ENH: twoPhaseEulerFoam: modified noBlending to handle cases where only the segregated model is used 2014-02-19 14:19:46 +00:00
william
2843ceff2f ENH: twoPhaseEulerFoam: made blending methods multiphase, and associated them with model types 2014-01-24 09:09:51 +00:00
william
87115af2d0 ENH: twoPhaseEulerFoam: Removed requirement that a model (most likely "none") had to be specified for all pairs 2014-01-23 16:37:16 +00:00
william
ff9366cb81 ENH: twoPhaseEulerFoam: Added noBlending model for cases with a guaranteed continuous phase 2014-01-23 10:58:24 +00:00
william
60b8939e1b BUG: twoPhaseEulerFoam: fixed definition of Prandtl number in phase pair 2014-01-23 10:51:06 +00:00
william
509529cab8 ENH: Added bubble library functionality to twoPhaseEulerFoam 2014-01-22 17:46:17 +00:00
william
b842081c35 BUG: fixed referencing of drag model in two phase system 2014-01-03 11:49:00 +00:00
william
475e885772 ENH: Abstracted and made run-time selectable the lift models in twoPhaseEulerFoam 2014-01-02 16:53:37 +00:00
Henry
79467c20ae twoPhaseEulerFoam: Added IATE 2013-10-10 16:29:21 +01:00
Henry
046f740f0e Renamed relativeFlux -> makeRelative and absoluteFlux -> makeAbsolute 2013-08-20 15:40:00 +01:00
Henry
e0dbbdfbb7 Updated headers 2013-08-15 10:30:50 +01:00
Henry
175f03f87d Removed twoPhaseEulerFoam and renamed compressibleTwoPhaseEulerFoam -> twoPhaseEulerFoam 2013-08-15 10:30:09 +01:00