Commit Graph

16320 Commits

Author SHA1 Message Date
7810d4327c SRFSimpleFoam, SRFPimpleFoam: Use absolute U for the production term in turbulence models
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1788
2015-07-19 19:05:06 +01:00
5f865a4472 seulex: initialize errOld to avoid warning from gcc-4.7.? 2015-07-19 14:14:57 +01:00
ecb6bb66b9 ptscotchDecomp.C: include mpi.h as a system header 2015-07-19 14:14:36 +01:00
e81e6155db dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:44:15 +01:00
99d72cee8a dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:43:47 +01:00
00279d617a sigFpe: Replace the deprecated __malloc_hook with a special malloc
This malloc overrides the one provided by GLIBC and calls mallocNan
which initializes the allocated block of memory to NaN if enabled by the
FOAM_SETNAN environment variable.
2015-07-19 12:39:44 +01:00
a316fa6a09 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-07-19 11:33:09 +01:00
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
efe7713d9b surfaceFeatureExtractDict templates: added trimFeatures options 2015-07-18 18:58:20 +01:00
6555f605f0 thermophysicalModels: Correcting handling of the inheritance of virtual functions
to avoid warnings from Clang
2015-07-18 12:26:25 +01:00
7b605ce50e Updated warning suppression for CGAL 2015-07-17 23:10:10 +01:00
6dc3a889df Suppress compiler warnings from CGAL 2015-07-17 21:38:25 +01:00
a96bfa5f49 Icpc 15: -no-prec-div optimization causes snappyHexMesh to fail -- removed 2015-07-17 19:34:19 +01:00
6d4422f4b0 wmake rules for icpc: suppress warnings from CGAL 2015-07-17 18:27:30 +01:00
98685bd6b3 Remove unnecessary use of keyword "explicit" 2015-07-17 18:26:58 +01:00
50894bcc9f Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-07-17 16:53:42 +01:00
6b706cfa78 Upgrade Intel C++ compiler to icpc (ICC) 15.0.3 20150407
This resolves a whole range of issues and work-arounds with earlier
releases.  This version of icpc is more or less compatible with the
latest gcc and clang compilers and only required one hack to avoid
warnings from PackedBoolList.H.
2015-07-17 16:50:40 +01:00
69243fda22 OpenFOAM/primitives/functions/DataEntry/Table: Removed unnecessary multiple inheritance
This resolves issues with and complexities in the virtual function inheritance
2015-07-17 16:48:35 +01:00
f548abaa38 patchAverage: pre-packaged function object
calculates average value on a patch
2015-07-17 14:19:58 +01:00
94401af010 Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
f3f35e8f39 applications/test: Updated include and link options 2015-07-16 14:37:19 +01:00
d47a42458f reactingTwoPhaseEulerFoam: Added support for thermally-driven phase-change (boiling)
The interfacial temperature is assumed equal to the saturation
temperature.  Only a single species is considered volatile and the other
species to not affect the mass-transfer.
2015-07-16 14:12:03 +01:00
82241e646f UList::swap: implemented fast version which swaps the size and storage pointer 2015-07-16 11:52:11 +01:00
4cd1e85311 fvSchemes: Removed fluxRequired entries 2015-07-16 10:55:49 +01:00
7c03689569 filmViscosityModel/constantViscosity/constantViscosity: Add dimensions to mu0 2015-07-16 10:54:23 +01:00
eda10cde43 Updated headers 2015-07-15 21:58:29 +01:00
0fb6a01280 fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p, p_rgh etc. in all solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionaries.
2015-07-15 21:57:16 +01:00
15198a34bd fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p in all incompressible solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionary.

Will add calls to setFluxRequired to the rest of the solvers.
2015-07-15 15:04:51 +01:00
542c05adda UList, FixedList: Correct swap member function
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1787
2015-07-15 12:10:05 +01:00
da8db9ff15 cellCoBlended: New surfaceInterpolation scheme based on CoBlended using the cell-based Courant number
This scheme is equivalent to the CoBlended scheme except that the Courant
    number is evaluated for cells using the same approach as use in the
    finite-volume solvers and then interpolated to the faces rather than being
    estimated directly at the faces based on the flux.  This is a more
    consistent method for evaluating the Courant number but suffers from the
    need to interpolate which introduces a degree of freedom.  However, the
    interpolation scheme for "Co" is run-time selected and may be specified in
    "interpolationSchemes" and "localMax" might be most appropriate.

    Example of the cellCoBlended scheme specification using LUST for Courant
    numbers less than 1 and linearUpwind for Courant numbers greater than 10:
    \verbatim
    divSchemes
    {
        .
        .
        div(phi,U)  Gauss cellCoBlended 1 LUST grad(U) 10 linearUpwind grad(U);
        .
        .
    }

    interpolationSchemes
    {
        .
        .
        interpolate(Co) localMax;
        .
        .
    }
    \endverbatim
2015-07-14 13:39:57 +01:00
fe1477546e foamCreateVideo: fix framerate option with avconv 2015-07-14 09:28:03 +01:00
a1797e9264 filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification 2015-07-12 20:44:55 +01:00
171c25ab76 blockMesh: added experimental fast-merge algorithm
The standard merge-algorithm is N^2 over the face-points and uses a
geometric proximity test for the merge.  These are both choices for
implementation simplicity and are rather inefficient for large meshes.
I have now implemented an experimental linear topological merge
algorithm which is VERY fast and effective for meshes of any size.
Currently it will merge internal faces on meshes of arbitrary complexity
but does not yet handle edge or face collapse needed for wedges and
other degenerate blocks.

The new fast-merge algorithm may be selected using the optional
"fastMerge" entry:

fastMerge yes;

and if not present the standard N^2 algorithm will be used.

Henry G. Weller
CFD Direct
2015-07-12 20:32:25 +01:00
b2968f3bda foamCreateVideo: enabled to use avconv and output WebM format
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1722
2015-07-12 12:58:50 +01:00
7c5a34d51c paraFoam: added option to open ParaView
when OpenFOAM-format case files are not located
2015-07-07 10:56:11 +01:00
189b8a4e84 Updated template cases for new turbulenceProperties file, fvSchemes syntax and MRFProperties.
With contribution from Richard Jones
2015-07-06 10:23:40 +01:00
109d84104f blockMesh: Improve block merge face correspondence test 2015-07-05 18:23:37 +01:00
722a824b44 tutorials/compressible/rhoSimpleFoam/squareBend: update application 2015-07-05 18:23:05 +01:00
bcee47d5ed blockMesh: Correct handling of the -case option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1773
2015-07-04 23:35:16 +01:00
0ce5742d6a saturationModels: Added a model for constant pSat and Tsat 2015-07-04 14:48:19 +01:00
a752d3e588 saturationModels: Added Tsat function
Currently this is implemented only for the Antoine equation, for the
other more complex models an iterative inversion from pressure to
temperature is required.
2015-07-04 14:46:55 +01:00
7c6e1386f1 reactingTwoPhaseEulerFoam: Completed mass-transfer terms in both forms of momentum equations 2015-07-03 23:18:25 +01:00
9c9ac368fe reactingTwoPhaseEulerFoam: Replace x*pos(x) with posPart(x) and same for neg 2015-07-03 18:04:34 +01:00
3adf33da54 src/OpenFOAM: Added posPart and negPart functions
posPart returns a value or field in which the value or values are set to
0 if negative

negPart returns a value or field in which the value or values are set to
0 if positive
2015-07-03 18:02:24 +01:00
2ee2a52fff reactingTwoPhaseEulerFoam: Updated wmake files 2015-07-03 17:44:34 +01:00
243accc6f6 reactingTwoPhaseEulerFoam: Renamed saturationPressureModel -> saturationModel
In preparation for adding the Tsat function
2015-07-03 16:15:09 +01:00
08682ca3eb Removed temporary Info statement 2015-07-03 15:47:25 +01:00
a92691b0dd reactingTwoPhaseEulerFoam: Added mass-exchange contribution to the cell-based momentum equations 2015-07-03 15:46:52 +01:00
b0d107499b reactingTwoPhaseEulerFoam: Changed the handling of the energy transfer
for consistency with the evaluation of the interface temperature.
2015-07-03 15:45:56 +01:00
59f17355cf rotorDiskSource: Debugged the duplicated interpolation functions
Needs rewriting to avoid unnecessary code duplication, preferably using
standard OpenFOAM interpolation functionality.
2015-07-03 12:41:25 +01:00