Commit Graph

16763 Commits

Author SHA1 Message Date
cfe8704418 BUG: streamLine function object - added missing file to Make/files 2015-11-26 10:13:54 +00:00
6cd823494e GIT: Resolve comflict on pull from remote 2015-11-26 09:26:02 +00:00
c383d05686 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 09:24:15 +00:00
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
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
907c9390e3 BUG: sampledSet: restore moving flag 2015-11-25 17:17:29 +00:00
f4de5d17e4 ENH: fvcCellReduce - allow setting of initial value, and loop over surface field boundaries 2015-11-25 17:05:13 +00:00
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
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
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
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
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
2688080701 ENH: patchProbes: allow wildcards for patches
Also write out snapped location.
2015-11-25 14:41:37 +00:00
d5d35cd1e8 BUG: checkMesh: sets written only on master 2015-11-25 10:41:30 +00:00
2830985ba9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-25 10:07:13 +00:00
019ffcc456 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-25 09:23:23 +00:00
8b79219950 ENH: Updated/clean-up header documentation 2015-11-25 09:05:28 +00:00
6c1b2f4edc ENH: forces|forceCoeffs - updated header documentation to include porosity effects. Fixes #6 2015-11-25 08:22:13 +00:00
7b23ac7503 ENH: runTimePostProcessing - updated CMakeLists.txt for cmake > 3 2015-11-25 08:13:27 +00:00
3cab2b6027 GIT: Resolve conflict on merge from upstream 2015-11-25 07:58:29 +00:00
de42f4f5d2 ENH: boundaryDataSurfaceWriter - updated header documentation 2015-11-25 07:57:05 +00:00
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
f0bc2d9faa ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
c020702403 ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
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
6a0df8a470 fvPatchFields: Rationalized the construction of DataEntry values 2015-11-24 16:35:11 +00:00
f0cf39e020 Merge branch 'feature-decomposeParDict' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-decomposeParDict 2015-11-24 16:19:17 +00:00
251839df0d ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
5c459f7f61 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
5e4d40ba70 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
f3787e5722 ENH: offsetSurface: new extrusion model to extrude inbetween two surfaces 2015-11-24 13:46:48 +00:00
1fcd27af2a STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
b6f350f6f7 STYLE: viewFactorsGen: spelling 2015-11-24 13:42:58 +00:00
0483f8c445 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-24 12:52:17 +00:00
fca33d213e ENH: bezier: added bezier curves in blockMesh edges 2015-11-24 12:52:01 +00:00
6c3f12bfda Merge branch 'feature-checkMesh' into 'develop'
ENH: checkMesh: have -writeSets option

- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers

See merge request !8
2015-11-24 11:12:20 +00:00
8952b0eeac Merge branch 'feature-motionSolvers' into 'develop'
Feature motion solvers

Wrapping of displacement based fvMotionSolvers such that they can be used inside snappyHexMesh

See merge request !7
2015-11-24 11:10:09 +00:00
0a7ce682d2 fixedMultiPhaseHeatFlux: Corrected patch kappaEff evaluation 2015-11-24 11:09:50 +00:00
c62cced6a2 ENH: velocityDampingConstraint: damping of excess velocity in steady-state calculations 2015-11-24 10:28:07 +00:00
8a85050665 Merge branch 'feature-windTunnelBC' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-windTunnelBC 2015-11-24 04:59:08 +00:00
f6abc9b471 ENH: pressurePIDControlInletVelocity: new BC to match velocity to user-provided pressure drop
- user provides two planes and pressure drop across these
- bc assume potential flow and works out inlet velocity that would cause
an equivalent pressure drop
2015-11-23 17:39:43 +00:00
44c2bc6a72 ENH: pressurePIDControlInletVelocity: new BC to match velocity to user-provided pressure drop
- user provides two planes and pressure drop across these
- bc assume potential flow and works out inlet velocity that would cause
an equivalent pressure drop
2015-11-23 17:39:43 +00:00
2ecc5396aa Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-23 17:37:47 +00:00
83e11f2d5a COMP: regionSplit: tag inline functions as inline 2015-11-23 17:37:26 +00:00
c40faa99e6 fixedMultiPhaseHeatFlux: Added optional relaxation 2015-11-23 16:52:18 +00:00
346b31d9e9 snappyHexMesh layerParameters: Increased maxIters to 20
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1918
Patch provided by Richard Jones

maxIters could be made an option input if 20 is not sufficient for
difficult cases.
2015-11-23 16:48:05 +00:00
61dd625227 ENH: checkMesh: have -writeSets option
- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.

    mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel

- fixed order writing of symmTensor in Ensight writers
2015-11-23 15:24:33 +00:00
cb04874671 alphatFixedDmdtWallBoilingWallFunction: Obtain the turbulence model directly from the phase 2015-11-23 14:59:46 +00:00
64690f39cc fixedMultiPhaseHeatFlux: Calculates a wall temperature that produces the specified overall wall heat flux
across all the phases in an Eulerian multi-phase simulation.

Intended to be used with copiedFixedValue to ensure that phase wall
temperature are consistent:
    - Set 'fixedMultiPhaseHeatFlux' boundary for one of the phases
    - Use 'copiedFixedValue' for all the other phases.

Based on code provided by Juho Peltola
2015-11-23 14:50:05 +00:00
f147cba245 alphatFixedDmdtWallBoilingWallFunction: Added relaxation
Patch provided by Juho Peltola
2015-11-23 14:22:36 +00:00