Commit graph

413 commits

Author SHA1 Message Date
Henry
fdfc124848 GAMG solver: Set the following defaults:
cacheAgglomeration true;
    agglomerator    faceAreaPair;
    nCellsInCoarsestLevel 10;
    mergeLevels     1;
2015-05-03 18:10:05 +01:00
Henry
46abaef7f1 sampledSets, sampledSurfaces: Provide warning message if field cannot be found
Generate fatal error if iso-surface field cannot be found
2015-05-03 16:55:38 +01:00
Henry
c2aebc2ef1 pimpleControl: Support field relaxation when the number of PIMPLE iterations = 1
This allows PIMPLE solvers to operate in SIMPLE mode
2015-05-03 11:51:42 +01:00
Henry
b9f67ecadb steadyStateDdtScheme: Corrected dimensions of ddtCorr for compressible flow 2015-05-02 17:39:22 +01:00
Henry
439a04b3a5 patchInteractionDataList: Ignore empty patches 2015-04-29 23:07:33 +01:00
Henry
62f0ad175f surfaceNormalFixedValueFvPatchVectorField: Update fixedValue field to handle mesh-motion
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1667
2015-04-28 22:27:24 +01:00
Henry
fd0b7d87c6 sixDoFRigidBodyMotion: Apply accelerationDamping to the acceleration only
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1675
2015-04-28 15:00:19 +01:00
Henry
00eea57685 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-27 12:10:03 +01:00
Henry
105f106f30 patchInteractionDataList: Remove default patch interaction method
Now interaction methods must be specified for all non-coupled patches.
If this approach proves irritating a warning rather than an error could
be generated.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1670
2015-04-27 11:38:39 +01:00
Henry
4de360804e AMIMethod: Corrected type of tgtPatch_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1669
2015-04-27 11:11:16 +01:00
Henry
6b8cab4b61 cellSource: Writing the volume of the cellSource (sum(V)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeVolume  yes;

The initial volume is written in the log and data file header e.g.:

 #   Source : all
 #   Cells  : 3829
 #   Volume : 9.943164e-01

Also added
    sumMag        | sum of component magnitudes
2015-04-26 22:08:51 +01:00
Henry
c92401a598 faceSource: Writing the total area of the faceSource (sum(magSf)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeArea  yes;

The initial total area is written in the log and data file header e.g.:

 #   Source : faceZone f0
 #   Faces  : 8
 #   Area   : 1.063860e-02
2015-04-26 22:06:56 +01:00
Henry
0a5f0be87c MRFZone: Add regex and group support to the specification of nonRotatingPatches 2015-04-26 16:44:01 +01:00
Henry
8f3c293472 faceSource: Writing the total area of the faceSource (sum(magSf)) for each time is now optional
Previous behavior which may be useful for moving-mesh cases can be
selected using the optional entry:
    writeTotalArea  yes;

The initial total area is written in the log and data file header e.g.:

 #   Source : faceZone f0
 #   Faces  : 8
 #   Area   : 1.063860e-02
2015-04-26 16:43:29 +01:00
Henry
95cb20b5ef SRFModel: Changes origin to be user-input rather than hard-coded to (0 0 0)
Updated tutorials
2015-04-26 11:26:25 +01:00
Henry
1f4766ece2 codedFunctionObject: Add meshTools library to include and link line 2015-04-25 22:01:16 +01:00
Henry
364c3e4ae9 Update header 2015-04-25 22:01:07 +01:00
Henry
1f28b87185 potentialFoam: Upgrade to version in OpenFOAM-dev:
commit e593fef659bcd71028e0e66a70510de2c34888e2
Author: Henry <Henry>
Date:   Thu Feb 19 19:05:17 2015 +0000

    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

commit cdadf4865de4808d6fe5c2a7eb5f5deaefe83b66
Author: Henry <Henry>
Date:   Sat Feb 14 11:03:37 2015 +0000

    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-04-25 21:59:15 +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
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