Commit graph

574 commits

Author SHA1 Message Date
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
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
8072a9ad3a tutorials: corrected comments in snappyHexMeshDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1541
2015-02-17 23:21:55 +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
8d28dc8ad4 surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
2015-02-16 22:07:07 +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
b3e08bb2b8 Update header 2015-02-16 21:39:20 +00:00
Henry
84cdf51d40 interPhaseChangeDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute 2015-02-16 21:38:55 +00:00
Henry
ef5faef7d2 Update header 2015-02-16 16:22:13 +00:00
Henry
c1417d4c56 compressibleInterDyMFoam: 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 16:20:51 +00:00
Henry
6dc299f6f8 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:53:57 +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
d90d9290c4 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:02:18 +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
b17c4b7e04 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Corrected sign of random coalescence source
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1382
2015-02-13 09:19:48 +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
24f0273b92 Doxygen: Updated scripts and css files to process OpenFOAM header files more robustly
and generate cleaner HTML files.
Thanks to Bruno Santos for various fixes and improvements.
Resolves bug reports:
    http://www.openfoam.org/mantisbt/view.php?id=1516
    http://www.openfoam.org/mantisbt/view.php?id=1016
    http://www.openfoam.org/mantisbt/view.php?id=1512
2015-02-09 18:59:22 +00:00
Henry
deda1362c3 regionCoupledBase: corrected output name for nbrRegionName_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1511
2015-02-06 15:38:26 +00:00
Henry
369605c630 Rationalize foamJob and foamExec
Patches provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=231
2015-02-06 10:13:17 +00:00
Henry
993cd4ee12 Updated header 2015-02-05 19:05:38 +00:00
Henry
a9d1333171 paraview: Standardize the naming of the ParaView installation directory
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1201
2015-02-05 19:04:05 +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