Commit Graph

274 Commits

Author SHA1 Message Date
a20b46df89 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
e5d44a0e0b multiphaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
2015-03-19 21:40:41 +00:00
13d4f5c386 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
d3212910cb JohnsonJacksonFrictionalStress: alphaDeltaMax -> alphaDeltaMin (it is the lower limit) 2015-03-18 15:40:39 +00:00
2c41e510af twoPhaseEulerFoam JohnsonJacksonFrictionalStress: alphaDeltaMax now user input (previously hard-coded to 5e-2) 2015-03-18 15:03:10 +00:00
247efed12b twoPhaseEulerFoam: Rationalize the particle-pressure flux BCs and correct for coupled-patches 2015-03-18 11:53:23 +00:00
50b2edbedc twoPhaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1379
2015-03-17 22:40:09 +00:00
afcd290d75 Solvers based on p_rgh: Added support for optional hRef
Allows the specification of a reference height, for example the height
of the free-surface in a VoF simulation, which reduces the range of p_rgh.

hRef is a uniformDimensionedScalarField specified via the constant/hRef
file, equivalent to the way in which g is specified, so that it can be
looked-up from the database.  For example see the constant/hRef file in
the DTCHull LTSInterFoam and interDyMFoam cases.
2015-03-17 17:15:11 +00:00
e20e69992d shallowWaterFoam: Read hU rather than U to support complex e.g. time-varying BCs
Disadvantage is that the BC values have to be specified in terms of hU
rather than U.  The alternative would be to add complex code to map h
and U BCs into the equivalent for hU.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1566
2015-03-13 22:14:08 +00:00
de9ebcc299 Revert "Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"""
This reverts commit c935f83ece.
2015-03-13 14:39:01 +00:00
fd069939c1 rhoCentralFoam: Correct handling of single-cell meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548
2015-03-13 09:51:33 +00:00
43aec8425b TomiyamaLift: Updated coefficient to make the model continuous at EoH = 10.7
Correction provided by Juho Peltola
2015-03-11 18:06:04 +00:00
c935f83ece Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction""
This reverts commit f5d26ab69b.
2015-03-11 17:33:14 +00:00
f5d26ab69b Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"
This reverts commit 49fbe73ac0.
2015-03-11 15:47:29 +00:00
49fbe73ac0 DPMFoam: Multiply the gravitational force by the gas phase fraction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1563
2015-03-11 10:50:32 +00:00
2e2cbe50c6 TomiyamaLift: Corrected coefficients to correspond exactly to the original paper cited
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1564
2015-03-10 19:57:42 +00:00
c239b0ebe0 Update Header 2015-03-02 22:30:29 +00:00
b82911b3cf BinghamPlastic: Change definition of shear-rate by 1/sqrt(2)
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1552
2015-03-02 22:27:39 +00:00
a12281827e Removed temporary Info 2015-03-02 22:26:24 +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
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
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
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
64ec856d60 rhoEqn: Do not constrain; would violate conservation 2015-02-22 16:50:48 +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
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
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
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
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
f5c0684463 Updated header 2015-02-17 23:59:13 +00:00
e9f2981d85 driftFluxFoam: Updated base-class of incompressibleTwoPhaseInteractingMixture 2015-02-17 23:58:44 +00:00
76c7f68ac1 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
3429d2dd80 chtMultiRegionSimpleFoam: Support simpler input for rhoMax and rhoMin 2015-02-17 15:06:31 +00:00
c7f5b4ce17 applications/solvers: Update trans-sonic option in pEqns to by consistent with sonic-solvers 2015-02-17 10:47:34 +00:00
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
e8e0c99790 DyM solvers: rationalized handling of time update 2015-02-16 21:48:00 +00:00
74990ee915 Rationalized sprayFoam family of solvers and added sprayDyMFoam 2015-02-16 21:47:15 +00:00
5a9fc9a3e9 Rationalized pEqn in sprayFoam solvers 2015-02-16 21:45:28 +00:00
cec56de03e Compressible solvers: rhoMax and rhoMin now optional and may be supplied without dimensions 2015-02-16 21:43:40 +00:00
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
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
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
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
2edacf0ceb Correct Doxygen multiline comments 2015-02-14 10:59:29 +00:00
aee9511710 porousInterFoam is no longer needed
Use interFoam with fvOptions
2015-02-13 21:39:48 +00:00