Commit graph

607 commits

Author SHA1 Message Date
Henry
3c24c64edb Pe: Correct turbulence model includes 2015-04-25 16:34:44 +01:00
Henry
6cc8fc128f Pe: Create and write volScalarField in addition to the surfaceScalarField for ease of post-processing 2015-04-25 16:31:54 +01:00
Henry
3f249821ce foamListTimes: Change the default behavior to not include 0 in the list
To include 0 use the -withZero option
2015-04-25 15:15:40 +01:00
Henry
f130edc9ac timeSelector: Change select0 to return 'constant' if no times are specified or available
This allows checkMesh and other mesh manipulation utilities to operate
on the mesh without any time directories being present.

Also renamed option zeroTime -> withZero for consistency with the noZero option
2015-04-25 15:14:31 +01:00
Henry
2edb12fa80 foamyHexMesh/Make/options: Added ${CGAL_LIBS} 2015-04-21 16:29:23 +01:00
Henry
7d3568787e applications/solvers/multiphase: for MRF make phiHbyA relative BEFORE adjustPhi
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1665
2015-04-20 16:44:44 +01:00
Henry
8e6264ed2d reconstructParMesh: Correct handling of time and constant command-line options
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1641
2015-04-18 11:34:52 +01:00
Henry
b6a133e7bf Updated header 2015-04-17 17:29:54 +01:00
Henry
96c31095fb Corrected docs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1658
2015-04-17 17:29:16 +01:00
Henry
7445bfe634 reconstructParMesh: Enable -constant and -zeroTime options 2015-04-12 17:50:49 +01:00
Henry
559ca6d585 DataEntry: Base the name of the coefficients sub-dicts on the entry name rather than the type name
This allows for more than one of these data types to be specified in a dictionary
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1652

e.g.
        <entryName> csvFile;
        <entryName>Coeffs
        {
            nHeaderLine         4;
            refColumn           0;          // reference column index
            componentColumns    (1 2 3);    // component column indices
            separator           ",";        // optional (defaults to ",")
            mergeSeparators     no;         // merge multiple separators
            fileName            "fileXYZ";  // name of csv data file
            outOfBounds         clamp;      // optional out-of-bounds handling
            interpolationScheme linear;     // optional interpolation scheme
        }
2015-04-12 17:50:01 +01:00
Henry
5d4398371e viewFactorsGen: Add support for 2D slab geometries
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1649
2015-04-11 11:41:41 +01:00
Henry
a869754bc4 StochasticDispersionRAS: Corrected spherical distribution of UTurb direction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-08 13:08:08 +01:00
Henry
d7d91261a9 refineMesh: Correct and simplify check for 2D mesh
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1112
2015-03-29 21:51:51 +01:00
Henry
a79b45c611 vtkPV?FoamMeshVolume: Corrected conversion of tetWedge to VTK_WEDGE
Thanks to Bruno Santos for analysing and fixing this
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1633
2015-03-29 20:14:38 +01:00
Henry
3b4870d706 TableFile: Correct example in documentation 2015-03-29 19:51:25 +01:00
Henry
1449a67364 atmBoundaryLayer: Removed the hard-coded limit on z0
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1638
2015-03-27 15:20:18 +00:00
Henry
c08a8c97a0 mpi/UPstream:: Correct debug
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1637
2015-03-26 17:23:02 +00:00
Henry
719bf1b4e7 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:16:22 +00:00
Henry
6f86ad2099 tutorials/multiphase/twoPhaseEulerFoam/laminar: corrected setFieldsDict
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1579
2015-03-20 16:59:01 +00:00
Henry
2bd5085835 Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
2015-03-15 22:08:43 +00:00
Henry
7077338993 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:19:01 +00:00
Henry
7768097e1a Update headers 2015-03-13 17:56:19 +00:00
Henry
dc1008b705 Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:55:27 +00:00
Henry
a5f0644976 Revert "Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"""
This reverts commit 883438d463.
2015-03-13 14:39:46 +00:00
Henry
19fbe17af2 stochasticDispersionRAS: Distribute UTurb uniformly
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1568
2015-03-13 13:00:51 +00:00
Henry
13bd74c439 rhoCentralFoam: Correct handling of single-cell meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548
2015-03-13 11:54:29 +00:00
Henry
96b1bb0b27 TomiyamaLift: Updated coefficient to make the model continuous at EoH = 10.7
Correction provided by Juho Peltola
2015-03-11 18:09:12 +00:00
Henry
883438d463 Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction""
This reverts commit 48e47d8998.
2015-03-11 17:34:20 +00:00
Henry
48e47d8998 Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"
This reverts commit 5c68a98799.
2015-03-11 15:47:59 +00:00
Henry
5c68a98799 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:52:16 +00:00
Henry
1f187d6f9e thermoSingleLayer: Revert q back to the working version in OpenFOAM-2.1.x
Revert changes in tutorial to correspond to the version in OpenFOAM-2.1.x
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1207
2015-03-10 20:01:35 +00:00
Henry
520f26d1f4 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 20:01:09 +00:00
Henry
c70d1f3c1b functionObjects/forces: correct upper-limit for bins 2015-03-09 14:34:20 +00:00
Henry
5179e8ea3b functionObjects/forces: limit the bins to handle moving meshes
This approach simply accumulates data outside the range of the bins into
the first or last bin which may be OK for small motions.  For larger
motions it may be better if the bins are updated or operate in a
coordinate system attached to the body for solid-body motion.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1560
2015-03-09 10:47:13 +00:00
Henry
ae9a670c99 MPI configuration: Added support for SYSTEMMPI
Provided by Bruno Santos
Also some general cleaning and update of comment.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1167
2015-03-08 22:37:25 +00:00
Henry
ade709a58e adjustPhi: Test for coupled rather than processor BCs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1553
2015-03-05 20:22:10 +00:00
Henry
390055bdf0 blockMeshMerge: Adjusted merge-tolerance
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1443
2015-03-05 17:54:24 +00:00
Henry
fe29caafb0 tetOverlapVolume: adjust tolerance
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1347
2015-03-05 17:51:01 +00:00
Henry
4e8fad3a72 meshCutter: Correct zone of cut-cells
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1524
2015-03-05 17:49:15 +00:00
Henry
b6a9960198 patchInjectionBase: ensure areaFraction is the same on all processors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1556
2015-03-05 17:18:54 +00:00
Henry
7d4f8d7aac 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:48:45 +00:00
Henry
11ddd07109 rhoCentralFoam: Corrected the BCs for positive (outgoing) fluxes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1548

Also upgraded rhoCentralDyMFoam to the version in OpenFOAM-dev which
support mesh-motion and topology change
2015-02-26 17:08:09 +00:00
Henry
f219e26d11 Corrected warning message 2015-02-25 23:29:56 +00:00
Henry
ea9cfb1213 cyclicACMIPolyPatch: Hacked to avoid sigSegv during decomposition
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1450
2015-02-25 20:49:56 +00:00
Henry
f33ec09da8 primitiveMeshTools: VSMALL -> ROOTVSMALL
Proposed resolution of http://www.openfoam.org/mantisbt/view.php?id=1509
2015-02-25 18:15:39 +00:00
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
59603afc8f constTransport: Handle the case of nMoles = 0 in += and -= operators
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1348
2015-02-24 20:06:30 +00:00
Henry
3321553039 polyMesh::findCell: Add support for octree search and cell tet-decomposition
Make this new method the default so that probes find the locations more reliably
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1544
2015-02-24 16:52:51 +00:00
Henry
ab7c7a7d1c heThermo: Correct kappaEff 2015-02-23 18:56:39 +00:00