Commit Graph

16829 Commits

Author SHA1 Message Date
mattijs
8d5800c5f8 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
mattijs
29b5340b05 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
Mattijs Janssens
3ab09ea9d7 Merge branch 'feature-potentialFoam' into 'develop'
ENH: potentialFoam updates migrated from internal development line

Added:
- header documentation
- pressure reference cell and value for -writep option
- removed unused createControls.H file - now uses pisoControl control structure

See merge request !14
2015-11-26 12:55:49 +00:00
Andrew Heather
8317038ac9 Merge branch 'feature-sampledSurfaces' into 'develop'
Feature sampled surfaces

Bounds handling for sampledSurfaces only (so not for streamlines)

See merge request !13
2015-11-26 12:55:09 +00:00
Mattijs Janssens
11204d2a23 Merge branch 'feature-error' into 'develop'
ENH: Foam abort - reading from env(FOAM_ABORT) instead of caching value on construction

As discussed - no longer caching value of FOAM_ABORT on construction of error class; instead, always read from FOAM_ABORT.  Should be no perceived performance impact since this is only triggered on exit/abort.

See merge request !15
2015-11-26 12:53:49 +00:00
mattijs
5d69e4ebaa ENH: triSurface: reading obj files with <cr> ending
- read nastran (NAS) surfaces in comma-separated free format
2015-11-26 12:23:58 +00:00
Andrew Heather
7cb56873ee ENH: Foam abort - reading from env(FOAM_ABORT) instead of caching value on construction 2015-11-26 12:12:51 +00:00
mattijs
cded6aafd6 STYLE: isoSurface: remove unusued code 2015-11-26 11:53:16 +00:00
Andrew Heather
85dce06b0a ENH: potentialFoam updates migrated from internal development line 2015-11-26 11:28:45 +00:00
Henry Weller
2588d78906 waveDisplacementPointPatchVectorField: Corrected "waveLength" -> "waveNumber"
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1929
2015-11-26 10:54:14 +00:00
mattijs
9762ae0435 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-26 10:47:59 +00:00
mattijs
0c75963de1 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-26 10:44:01 +00:00
mattijs
cee6887d68 ENH: sampledSurfaces: added 'bounds' option
- bounds option (see $FOAM_UTILITIES/postProcessing/sampling/sample/sampleDict)
- fixes memory error http://www.openfoam.org/mantisbt/view.php?id=1487
- cleans up iso surface normal orientation
2015-11-26 10:41:34 +00:00
Andrew Heather
3e7375e061 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 10:20:35 +00:00
Andrew Heather
bfdecaf46f ENH: Updated turbulence model Doxygen module documentation 2015-11-26 10:19:25 +00:00
Andrew Heather
e67ee68033 ENH: createExternalCoupledPatchGeometry updates 2015-11-26 10:18:42 +00:00
Andrew Heather
cfe8704418 BUG: streamLine function object - added missing file to Make/files 2015-11-26 10:13:54 +00:00
Andrew Heather
6cd823494e GIT: Resolve comflict on pull from remote 2015-11-26 09:26:02 +00:00
Andrew Heather
c383d05686 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 09:24:15 +00:00
Mattijs Janssens
98a8e54a5f Merge branch 'feature-functionObjects' into 'develop'
Feature function objects

Lots of code migrated from internal development line, code tidying and a few fixes

Updated objects
- corrected Peclet number for compressible cases
- propagated log flag and resultName across objects

New function objects
- new fluxSummary:
  - calculates positive, negative, absolute and net flux across face
    zones
- new runTimeControl
  - abort the calculation when a user-defined metric is achieved.
    Available options include:
    - average value remains unchanged wrt a given threshold
    - equation initial residual exceeds a threshold - useful to abort
      diverging cases
    - equation max iterations exceeds a threshold - useful to abort
      diverging cases
    - min/max of a function object value
    - min time step exceeds a threshold - useful to abort diverging
      cases
- new valueAverage:
  - average singular values from other function objects, e.g. Cd, Cl and
    Cm from the forceCoeffs function object


See merge request !12
2015-11-25 19:46:41 +00:00
Andrew Heather
6838df9cd2 ENH: Multiple updates to function objects
Updated objects
- corrected Peclet number for compressible cases
- propagated log flag and resultName across objects

New function objects
- new fluxSummary:
  - calculates positive, negative, absolute and net flux across face
    zones
- new runTimeControl
  - abort the calculation when a user-defined metric is achieved.
    Available options include:
    - average value remains unchanged wrt a given threshold
    - equation initial residual exceeds a threshold - useful to abort
      diverging cases
    - equation max iterations exceeds a threshold - useful to abort
      diverging cases
    - min/max of a function object value
    - min time step exceeds a threshold - useful to abort diverging
      cases
- new valueAverage:
  - average singular values from other function objects, e.g. Cd, Cl and
    Cm from the forceCoeffs function object
2015-11-25 17:19:06 +00:00
mattijs
907c9390e3 BUG: sampledSet: restore moving flag 2015-11-25 17:17:29 +00:00
Andrew Heather
f4de5d17e4 ENH: fvcCellReduce - allow setting of initial value, and loop over surface field boundaries 2015-11-25 17:05:13 +00:00
Henry Weller
660b54b728 moveDynamicMesh: Iterate over mesh.update() according to the PIMPLE settings
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1926
2015-11-25 16:54:14 +00:00
Henry Weller
7e7c27d09b moveDynamicMesh: Iterate over mesh.update() according to the PIMPLE settings Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1926 2015-11-25 16:54:14 +00:00
Andrew Heather
e488da366f Merge branch 'feature-decomposeParDict' into 'develop'
Feature decompose par dict

Merging remaining functionality to do with -decomposeParDict parallel argList option.

See merge request !10
2015-11-25 15:35:21 +00:00
Andrew Heather
629b43be6f Merge branch 'feature-patchProbes' into 'develop'
ENH: patchProbes: allow wildcards for patches

Also write out snapped location.

Probe location output kept as in Foundation

See merge request !11
2015-11-25 15:32:52 +00:00
Andrew Heather
be4f282273 Merge branch 'feature-windTunnelBC' into 'develop'
Feature wind tunnel bc

pressurePIDControlInletVelocity bc

See merge request !9
2015-11-25 15:28:29 +00:00
mattijs
2688080701 ENH: patchProbes: allow wildcards for patches
Also write out snapped location.
2015-11-25 14:41:37 +00:00
mattijs
d5d35cd1e8 BUG: checkMesh: sets written only on master 2015-11-25 10:41:30 +00:00
Andrew Heather
2830985ba9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-25 10:07:13 +00:00
mattijs
019ffcc456 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-25 09:23:23 +00:00
Andrew Heather
8b79219950 ENH: Updated/clean-up header documentation 2015-11-25 09:05:28 +00:00
Andrew Heather
6c1b2f4edc ENH: forces|forceCoeffs - updated header documentation to include porosity effects. Fixes #6 2015-11-25 08:22:13 +00:00
Andrew Heather
7b23ac7503 ENH: runTimePostProcessing - updated CMakeLists.txt for cmake > 3 2015-11-25 08:13:27 +00:00
Andrew Heather
3cab2b6027 GIT: Resolve conflict on merge from upstream 2015-11-25 07:58:29 +00:00
Andrew Heather
de42f4f5d2 ENH: boundaryDataSurfaceWriter - updated header documentation 2015-11-25 07:57:05 +00:00
Henry Weller
d812879fdb TurbulenceModels: updated the mapping of k to R BCs
Now k BCs which do not have a symmTensor equivalent are converted to "calculated"
2015-11-24 22:36:50 +00:00
mattijs
f0bc2d9faa ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
mattijs
c020702403 ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
Henry Weller
7321a5eeb3 fvPatchFields/derived/fixedProfile: New BC which applies the specified 1D profile
This is useful when applying an experimentally obtained profile as an
inlet condition:

    Example of the boundary condition specification:
    \verbatim
    myPatch
    {
        type            fixedProfile;
        profile    csvFile;

        profileCoeffs
        {
            nHeaderLine         0;          // Number of header lines
            refColumn           0;          // Reference column index
            componentColumns    (1 2 3);    // Component column indices
            separator           ",";        // Optional (defaults to ",")
            mergeSeparators     no;         // Merge multiple separators
            fileName            "Uprofile.csv";  // name of csv data file
            outOfBounds         clamp;      // Optional out-of-bounds handling
            interpolationScheme linear;     // Optional interpolation scheme
        }
        direction        (0 1 0);
        origin           0;
    }
    \endverbatim

or a simple polynomial profile:

    Example setting a parabolic inlet profile for the PitzDaily case:
    \verbatim
    inlet
    {
        type            fixedProfile;

        profile         polynomial
        (
            ((1 0 0)        (0 0 0))
            ((-6200 0 0)    (2 0 0))
        );
        direction       (0 1 0);
        origin          0.0127;
    }
    \endverbatim

Based on code provided by Hassan Kassem:
http://www.openfoam.org/mantisbt/view.php?id=1922
2015-11-24 16:35:45 +00:00
Henry Weller
6a0df8a470 fvPatchFields: Rationalized the construction of DataEntry values 2015-11-24 16:35:11 +00:00
mattijs
f0cf39e020 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-24 16:19:17 +00:00
mattijs
251839df0d ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
5c459f7f61 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
5e4d40ba70 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
f3787e5722 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
mattijs
1fcd27af2a STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
mattijs
b6f350f6f7 STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
mattijs
0483f8c445 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-24 12:52:17 +00:00