Commit graph

394 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Henry
95211a103e constTransport: Correct kappa 2015-02-23 18:56:11 +00:00
Henry
c0932d3f80 timeVaryingMappedFixedValueFvPatchField: Updated documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1545
2015-02-21 14:05:56 +00:00
Henry
88ac82c689 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:10:13 +00:00
Henry
ba8c218ad5 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:31:28 +00:00
Henry
449c461a29 atmBoundaryLayer: Correct for SP compilation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1536
2015-02-17 13:38:00 +00:00
Henry
9af2d6e22e RectangularMatrix: Corrected documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1535
2015-02-17 10:44:19 +00:00
Henry
7173b12456 Update header 2015-02-16 22:02:33 +00:00
Henry
57407a029c intIO: handle overflow errors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1532
2015-02-16 22:01:53 +00:00
Henry
ac39cc3015 polyMeshModifier: Corrected member function documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1143
2015-02-14 22:32:08 +00:00
Henry
927c539d8b solidBodyMotionFunctions/SDA: Corrected the "See also"
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1529
2015-02-14 15:56:53 +00:00
Henry
9fd04eb6ba mapFields: Corrected handling of fixed value BCs
Fix provided by Mattijs Janssens
2015-02-13 12:37:06 +00:00
Henry
cf37088364 blockMesh: Add support for multi/sectional grading in a block
Consider a block describing a channel with two opposite walls.
Currently in order to grade the mesh towards the walls and have a
uniform region in the centre the channel would need to be spit into 3
blocks.  With the new multi/sectional grading this can be achieved in a
single block e.g.

blocks
(
    hex (0 1 2 3 4 5 6 7) (20 60 20)
    simpleGrading
    (
        1
        ((0.2 0.3 4) (0.6 0.4 1) (0.2 0.3 0.25))
        1
    )
);

In this example the block is divided uniformly in the x and z -directions
and split into three grading sections in the y-direction described by
three triples:  ((0.2 0.3 4) (0.6 0.4 1) (0.2 0.3 0.25)).  Each of the
grading sections is described by a triple consisting of the fraction of
the block, the fraction of the divisions and the grading ratio (size of
first division/size of last division).  Both the fraction of the block
and the fraction of the divisions are normalized automatically so they
can be specified scaled in anyway, e.g. as percentages:

blocks
(
    hex (0 1 2 3 4 5 6 7) (20 60 20)
    simpleGrading
    (
        1
        ((2 3 4) (6 4 1) (2 3 0.25))
        1
    )
);

and they need not sum to 1 or 100.

This is very new functionality and not well tested but backward
compatibility has been well tested so all existing blockMeshDicts should
parse correctly.
2015-02-11 12:31:09 +00:00
Henry
b9587e0ebc regionCoupledBase: Moved update to correct location
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1518
2015-02-10 08:02:06 +00:00
Henry
02c1c6d8ad Update header 2015-02-09 21:27:12 +00:00
Henry
3087fcbb1e constTransport: Avoid /0 in + and - operators averaging 1/Pr when the number of moles = 0
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1348
2015-02-09 21:25:36 +00:00
Henry
6fa7ca79e7 primitiveMeshTools: stabilize with VSMALL rather than SMALL to avoid problems with very small meshes
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1509
2015-02-05 19:03:33 +00:00
Henry
7404b42a76 mapFields: Minimum hack provided by Mattijs to get mapFields working again
This version is very inefficient in parallel and does not provide the
-parallelSource or -parallelTarget options which will need to be
reinstanted in the future or we could revert mapFields to the
OpenFOAM-2.2 version.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1495
2015-02-05 12:18:17 +00:00
Henry
31b5ea0e3a isoSurfaceCellTemplates: Skip undefined tets
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1506
2015-02-04 23:08:32 +00:00
Henry
a1b7ce2a12 Update headers 2015-02-04 22:53:02 +00:00
Henry
d34e10ca4b atmBoundaryLayer: Attempt to rationalize the inputs and documentation to make these BCs more usable
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=860
2015-02-04 22:51:31 +00:00
Henry
4f1f0816ab MRFSource: Update the velocity boundary conditions for changes in rotation speed 2015-02-04 22:23:22 +00:00
Henry
16e20e8339 fixedShearStressFvPatchVectorField.H: Removed rhoName and phiName 2015-02-02 12:28:47 +00:00
Henry
e0d4d0af31 Update header 2015-02-02 12:17:32 +00:00
Henry
8efea303d3 porousBafflePressure: Correct both implementations 2015-02-02 12:17:04 +00:00
Henry
4ebfa9210b fixedShearStressFvPatchVectorField: Remove rhoName and phiName which are no longer needed 2015-02-02 12:16:27 +00:00