Commit graph

316 commits

Author SHA1 Message Date
Henry
218875bf40 DSMC: Rationalization and addition of mapping support 2015-02-20 17:24:14 +00:00
Henry
5cd0083db0 Update headers 2015-02-20 16:09:32 +00:00
Henry
5fca41e1a7 CrankNicolsonDdtScheme: provide access to the off-centreing coefficient 2015-02-20 16:08:56 +00:00
Henry
f78d33b634 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.
2015-02-20 15:59:43 +00:00
Henry
514f905758 Updated header 2015-02-19 19:07:14 +00:00
Henry
e593fef659 potentialFoam: Added new method to estimate the static pressure field from the velocity
Uses a form of the Euler equation in which only variation along the streamlines is considered
2015-02-19 19:05:17 +00:00
Henry
f43abd9f3b tutorials/basic/laplacianFoam/flange/Allrun: Updated for consistent output
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1543
2015-02-19 09:56:50 +00:00
Henry
6be514684a tutorials: rationalized log 2015-02-19 08:39:32 +00:00
Henry
0ca9a1fb09 Integer read: use strtoimax rather than strtol and check explicitly for overflow of int32_t 2015-02-18 21:24:09 +00:00
Henry
4db6925cee Thermodyamics: Add support for multiphase
Pass the phase-name through hierarchy
Add phase-name to variables
Split basicCombustionMixture
Update applications accordingly
2015-02-18 21:21:22 +00:00
Henry
9cd665988d tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet: Added a potentialFoam initializer step 2015-02-18 10:01:05 +00:00
Henry
b44acdb03e PtrList: Check for EOF while reading to avoid run-on and infinite loop when reading list of dictionaries.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1538
2015-02-18 08:12:01 +00:00
Henry
3482e22bc6 tutorials: corrected comments in snappyHexMeshDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1541
2015-02-17 23:59:59 +00:00
Henry
16c7318aee outletInletFvPatchField: store Field<scalar> rather than fvsPatchField<scalar> for phip
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1539
2015-02-17 23:59:21 +00:00
Henry
f5c0684463 Updated header 2015-02-17 23:59:13 +00:00
Henry
e9f2981d85 driftFluxFoam: Updated base-class of incompressibleTwoPhaseInteractingMixture 2015-02-17 23:58:44 +00:00
Henry
76c7f68ac1 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
3429d2dd80 chtMultiRegionSimpleFoam: Support simpler input for rhoMax and rhoMin 2015-02-17 15:06:31 +00:00
Henry
c328c54680 tutorials: Simplify rhoMax and rhoMin specification 2015-02-17 10:55:02 +00:00
Henry
b0bd25ad32 tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit: simplify rhoMax and rhoMin specification 2015-02-17 10:49:07 +00:00
Henry
5804b901c5 RectangularMatrix: Corrected documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1535
2015-02-17 10:48:36 +00:00
Henry
c7f5b4ce17 applications/solvers: Update trans-sonic option in pEqns to by consistent with sonic-solvers 2015-02-17 10:47:34 +00:00
Henry
50a2e36cf8 dimensionedType: Extend lookupOrDefault to handle any form of dimensioned type input
e.g.
     Not specified: default used.
     Fully specified: rhoMax          rhoMax [ 1 -3 0 0 0 ] 2.0;
     Without name:    rhoMax          [ 1 -3 0 0 0 ] 2.0;
     Value only:      rhoMax          2.0;
2015-02-17 10:16:01 +00:00
Henry
da42029f98 seulex: Reduce the underflow time-step 2015-02-16 22:16:50 +00:00
Henry
cc6341a9d3 int??IO: handle overflow errors 2015-02-16 22:16:21 +00:00
Henry
9617b8f559 surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
2015-02-16 22:15:54 +00:00
Henry
e8e0c99790 DyM solvers: rationalized handling of time update 2015-02-16 21:48:00 +00:00
Henry
74990ee915 Rationalized sprayFoam family of solvers and added sprayDyMFoam 2015-02-16 21:47:15 +00:00
Henry
5a9fc9a3e9 Rationalized pEqn in sprayFoam solvers 2015-02-16 21:45:28 +00:00
Henry
cec56de03e Compressible solvers: rhoMax and rhoMin now optional and may be supplied without dimensions 2015-02-16 21:43:40 +00:00
Henry
cd5ade6c44 compressibleInterDyMFoam and interPhaseChangeDyMFoam: 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 21:42:09 +00:00
Henry
f99884de00 turbulenceModels/RAS/kOmegaSSTSAS/kOmegaSSTSAS: Added the k-omega-SST-SAS model
Egorov, Y., & Menter F.R. (2008).
    Development and Application of SST-SAS Model in the DESIDER Project.
    Advances in Hybrid RANS-LES Modelling,
    Notes on Num. Fluid Mech. And Multidisciplinary Design,
    Volume 97, 261-270.
2015-02-16 09:24:01 +00:00
Henry
913e515fef turbulenceModels/LES/dynamicLagrangian/dynamicLagrangian: Removed unused declaration 2015-02-16 09:22:59 +00:00
Henry
af43b377c9 refineWallLayer: Rationalize and add support for operating on a list of patch name regular expressions
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1525
2015-02-14 22:50:59 +00:00
Henry
e777778762 polyMeshModifier: Corrected member function documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1143
2015-02-14 22:50:28 +00:00
Henry
cec7f52d96 Update header 2015-02-14 17:19:35 +00:00
Henry
de6ef3d551 grpIcoRASBoundaryConditions -> grpRASBoundaryConditions 2015-02-14 17:19:01 +00:00
Henry
885125e333 atomicWeights: Put in ascending order 2015-02-14 17:11:23 +00:00
Henry
7dfad7a74f atomicWeights: Put in ascending order 2015-02-14 17:09:29 +00:00
Henry
9ac15414bf Update header 2015-02-14 17:09:21 +00:00
Henry
e44376d363 Correct Info message 2015-02-14 17:09:07 +00:00
Henry
f9a8cb7cfc dynamicLagrangian: Added template include 2015-02-14 16:43:27 +00:00
Henry
74a8a6f996 doc/Doxygen/Allwmake: Automated the setting of FOAM_ONLINE_REPO
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1528
2015-02-14 16:04:01 +00:00
Henry
d9cc06f9f3 solidBodyMotionFunctions/SDA: Corrected the "See also"
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1529
2015-02-14 15:58:09 +00:00
Henry
0ddae8ba2c turbulenceModels/LES/dynamicLagrangian: Added the Lagrangian averaged form of the dynamic Smagorinsky eddy-viscosity SGS model for LES 2015-02-14 15:52:08 +00:00
Henry
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
fb68661de8 turbulenceModels/LES/dynamicKEqn/dynamicKEqn: Added dynamic version of the one-equation SGS model 2015-02-14 13:08:08 +00:00
Henry
3f7e377240 Minor correction 2015-02-14 11:07:57 +00:00
Henry
cdadf4865d potentialFoam: Solve for velocity potential named Phi rather than using the pressure field for this purpose
The Phi field is read if available otherwise created automatically with
boundary conditions obtained automatically from the pressure field if
available (with optional name) otherwise inferred from the velocity
field.  Phi Laplacian scheme and solver specification are required.  See
tutorials for examples.
2015-02-14 11:03:37 +00:00
Henry
2edacf0ceb Correct Doxygen multiline comments 2015-02-14 10:59:29 +00:00