Commit Graph

803 Commits

Author SHA1 Message Date
391d5b9a18 epsilonLowReWallFunction: Debugged and changed handling of G in the low-Re limit to leave unchanged 2015-03-01 22:16:06 +00:00
2398798419 LamBremhorstKE: Updated and added support for epsilonLowReWallFunction 2015-03-01 22:15:12 +00:00
53711ff598 TurbulenceModels: LienCubicKE, ShihQuadraticKE and LienLeschziner models rewritten
The implementation now correspond to the definitions in the readily
available reference:

http://personalpages.manchester.ac.uk/staff/david.d.apsley/specturb.pdf

in which a large number of linear and non-linear models are presented in
a clean and consistent manner.  This has made re-implementation and
checking far easier than working from the original references which anyway
are no longer available for the LienCubicKE and ShihQuadraticKE models.
2015-03-01 17:55:16 +00:00
9b99bbf312 Reynolds stress turbulence models: Add laminar diffusion of R and epsilon
Also use the innerSqr function where appropriate
2015-02-28 16:11:57 +00:00
a145dee287 TurbulenceModels: Update non-linear models to use the new innerSqr function 2015-02-28 16:11:24 +00:00
9d9dbffdad symmTensor: Add support for the innerSqr function
which takes the inner product of a symmTensor with itself and returns a symmTensor
2015-02-28 16:09:55 +00:00
3b11abd26e Turbulence models: minor clean-up 2015-02-27 19:23:39 +00:00
cd6f4049ef non-linear turbulence models: corrected generation term and tested 2015-02-27 19:22:53 +00:00
f2b4e22f90 ShihQuadraticKE: Rewritten and tested on the boundaryWallFunctions and pitzDaily cases 2015-02-27 18:13:30 +00:00
6f3a93c986 ShihQuadraticKE: renamed from nonlinearKEShih and added reference 2015-02-27 11:29:45 +00:00
d99958d424 TurbulenceModels: Updated documentation for incompressible models 2015-02-26 20:03:48 +00:00
763ecdc0f4 rhoCentralFoam: Corrected the BCs for positive (outgoing) fluxes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548
2015-02-26 17:00:36 +00:00
c9de6d8ca5 Corrected warning message 2015-02-25 23:29:33 +00:00
9054c7e78c cyclicACMIPolyPatch: Hacked to avoid sigSegv during decomposition
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1450
2015-02-25 20:51:37 +00:00
0f49a15c35 primitiveMeshTools: VSMALL -> ROOTVSMALL
Proposed resolution of http://www.openfoam.org/mantisbt/view.php?id=1509
2015-02-25 18:18:23 +00:00
e980cd5a60 CrankNicolsonDdtScheme: Clarified the relationship between the
off-centre coefficient and the coefficient for the implicit part
2015-02-25 16:54:05 +00:00
0577cdb3cd rhoCentralDyMFoam: Add support for morphing-meshes and provide movingCone tutorial case 2015-02-25 12:20:12 +00:00
de2c2fb007 Rationalize position searching and add cell->tet decomposition as the default cell-search algorithm
Resolves issues with probes and findRefCell for meshes in which all cell face-pyramids are positive.
2015-02-25 10:57:06 +00:00
25ab8a1a07 codingStyleGuide: Minor updates 2015-02-25 10:55:51 +00:00
e01696bfb5 liquidMixtureProperties: Improve comments 2015-02-25 10:55:33 +00:00
99965b01c4 constTransport: Handle the case of nMoles = 0 in += and -= operators
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1348
2015-02-25 10:54:50 +00:00
d5970175a5 heThermo: Correct kappaEff 2015-02-23 18:57:57 +00:00
8fa5a2b76a constTransport: Correct kappa 2015-02-23 18:57:33 +00:00
d2fbdcb9a9 Added support for gcc-5.0.0
Tested with snapshot gcc-5-20150215.tar.bz2
2015-02-23 08:44:18 +00:00
0ae18335f6 tutorials/compressible/sonicDyMFoam/movingCone: sonic version of the pimpleDyMFoam/movingCone tutorial 2015-02-22 16:53:33 +00:00
5d3bb28994 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
64ec856d60 rhoEqn: Do not constrain; would violate conservation 2015-02-22 16:50:48 +00:00
51abd7e807 CrankNicolsonDdtScheme: Added "see also" 2015-02-22 15:29:37 +00:00
5ee73b2e9b CrankNicolsonDdtScheme: Add documentation 2015-02-22 15:25:32 +00:00
fa346ae539 tutorials/multiphase/interDyMFoam/ras/floatingObject: Update to demonstrate MULES with Crank-Nicolson 2015-02-22 12:53:34 +00:00
cf07fdc957 lagrangian: Improved handling of binary transfers
Now using memory offsets to calculate transfer block sizes rather than
sum of 'sizeof' to ensure word alignment is accounted for
2015-02-22 12:14:46 +00:00
5daf22d9d7 interFoam/alphaEqn: Corrected handling of the off-centreing coefficient for Crank-Nicolson 2015-02-22 12:13:19 +00:00
ff8978dba5 interFoam/alphaEqn: Updated phiCN 2015-02-22 10:25:30 +00:00
9b7079ff8f timeVaryingMappedFixedValueFvPatchField: Updated documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1545
2015-02-21 21:41:48 +00:00
9fc5f5c1db interFoam/alphaEqn: Update explicit corrector to use the Crank-Nicolson flux 2015-02-21 21:39:59 +00:00
5f24612805 icoFoam/nonNewtonianIcoFoam: Update to use pisoControl 2015-02-21 21:39:01 +00:00
47482b9246 LTSinterFoam: test for localEuler as a valid scheme in the new alphaEqn 2015-02-20 22:47:51 +00:00
218875bf40 DSMC: Rationalization and addition of mapping support 2015-02-20 17:24:14 +00:00
5cd0083db0 Update headers 2015-02-20 16:09:32 +00:00
5fca41e1a7 CrankNicolsonDdtScheme: provide access to the off-centreing coefficient 2015-02-20 16:08:56 +00:00
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
514f905758 Updated header 2015-02-19 19:07:14 +00:00
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
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
6be514684a tutorials: rationalized log 2015-02-19 08:39:32 +00:00
0ca9a1fb09 Integer read: use strtoimax rather than strtol and check explicitly for overflow of int32_t 2015-02-18 21:24:09 +00:00
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
9cd665988d tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet: Added a potentialFoam initializer step 2015-02-18 10:01:05 +00:00
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
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