Commit graph

449 commits

Author SHA1 Message Date
Henry Weller
c80e7cd4e5 ThermalDiffusivity: Refactored to support phase turbulence models 2015-08-20 17:54:51 +01:00
Henry Weller
3ecf04d441 src/TurbulenceModels: Renamed template classes to start with capital letter 2015-08-20 15:30:53 +01:00
Henry Weller
4f87b904e5 perfectFluidI.H: Corrected return type
Patch provided by Juho Peltola
2015-08-19 13:43:59 +01:00
Henry Weller
9e12d62156 hRefConstThermo: New constant coefficient thermodynamics model for phase-change
Provided by Juho Peltola
2015-08-19 13:42:46 +01:00
Henry Weller
2828d82cba utilities/postProcessing/noise: Corrected documentation
Patches provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1832
2015-08-19 11:37:27 +01:00
Henry Weller
e3e4d72551 functionObjects/fvTools/calcFvcGrad: Avoid clash with cached gradient field
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1828
2015-08-18 12:13:09 +01:00
Henry Weller
2916f043b3 uniformFixedGradientFvPatchField: Corrected constructor
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1827
2015-08-13 19:08:52 +01:00
Henry Weller
24495c009c Rename localAxesRotation -> cylindrical
This class does not simply rotate the coordinate system is also changes
it from Cartesian to cylindrical which is not clear from the original name.

We plan to rewrite the coordinateRotation classes to be
coordinateTransformation classes and massively simplify the interface
from the currently unintelligible mess.
2015-08-13 09:25:28 +01:00
Henry Weller
32b7a26b72 transformFvPatchField: Specialize valueInternalCoeffs for scalar
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1820
2015-08-10 12:06:13 +01:00
Henry Weller
36b1c587a8 face: Add handling for duplicate vertices in sameVertices
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1821
2015-08-10 10:01:36 +01:00
Henry Weller
23f4ce9871 polyMeshFromShapeMesh: Set patch-face to corresponding cell-face
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1818
2015-08-08 14:30:06 +01:00
Henry Weller
44e7fc454d ints: Add support for mag(int32_t) and mag(int64_t)
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1817
2015-08-07 15:52:22 +01:00
Henry Weller
9a32ae3754 Rename circulators to be consistent with the standard OpenFOAM class naming convention 2015-08-06 16:54:47 +01:00
Henry Weller
28955589d2 polyMeshFromShapeMesh: Change patch face matching to be vertex ordering independent
This simplifies the specification of patch faces in blockMeshDict which
now do need not have any particular ordering of the block vertices.
2015-08-06 16:51:56 +01:00
Henry Weller
690decf5a3 cloudInfo: Updated for changes to functionObjectFile 2015-08-05 18:01:50 +01:00
Henry Weller
fdd1beccf4 functionObjectFile: Use wordList rather than wordHashSet to maintain order
Change based on patch provided by Hassan Kassem
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1796
2015-08-05 17:38:31 +01:00
Henry Weller
091a78d316 blockMesh: Correct multi-grading support for polyLine
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1809
2015-08-04 19:34:24 +01:00
Henry Weller
18ac24b2ca blockMesh: Improve multi-grading so that the divisions are independent of section ordering
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1809
2015-08-02 22:14:26 +01:00
Henry Weller
00b6400860 Removed trailing whitespace
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1805
2015-08-01 15:43:05 +01:00
Henry Weller
df666ec9a2 Updated header 2015-08-01 15:42:41 +01:00
Henry Weller
b3f9b1bc60 hexRef8: Corrected template specialization to support 64bit labels
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1807
2015-08-01 15:41:50 +01:00
Henry Weller
b38b44a9cb ReversibleReaction: Corrected test
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1804
2015-08-01 15:40:52 +01:00
Henry Weller
609f43ec69 waveSurfacePressureFvPatchScalarField: Upgrade timeScheme -> ddtScheme 2015-07-24 11:30:48 +01:00
Henry Weller
8325e8b91f fvSchemes: Handle merging of fluxRequired settings
during re-reading of the fvSchemes dictionary
2015-07-24 11:30:08 +01:00
Henry Weller
40ae36b5f6 dimensioned<Type>: Added constructor from name, dimensions and dictionary
to simplify construction of dimensionedScalar properties and avoid the
duplication of the name string in the constructor call.
2015-07-21 12:57:07 +01:00
Henry Weller
ecee2d275e Input of dimensionedScalars: update read-construction of dimensionedScalar in applications
so that the specification of the name and dimensions are optional in property dictionaries.

Update tutorials so that the name of the dimensionedScalar property is
no longer duplicated but optional dimensions are still provided and are
checked on read.
2015-07-20 22:52:53 +01:00
Henry Weller
5e51d937ee seulex: initialize errOld to avoid warning from gcc-4.7.? 2015-07-19 14:14:57 +01:00
Henry Weller
2ae2423f5d ptscotchDecomp.C: include mpi.h as a system header 2015-07-19 14:14:36 +01:00
Henry Weller
3445854850 dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:44:15 +01:00
Henry Weller
5df2ec93ea dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:43:47 +01:00
Henry Weller
6ffe339556 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
Henry Weller
36ae54f803 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
Henry Weller
beb92b4fa8 thermophysicalModels: Correcting handling of the inheritance of virtual functions
to avoid warnings from Clang
2015-07-18 12:26:25 +01:00
Henry Weller
d6e6e2bf70 Remove unnecessary use of keyword "explicit" 2015-07-17 18:26:58 +01:00
Henry Weller
e6e7820ae5 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
Henry Weller
feebe8d30a 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
Henry Weller
77bf182edc 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
Henry Weller
8e7c777ec5 UList::swap: implemented fast version which swaps the size and storage pointer 2015-07-16 11:52:11 +01:00
Henry Weller
9f58f7ede4 filmViscosityModel/constantViscosity/constantViscosity: Add dimensions to mu0 2015-07-16 10:54:23 +01:00
Henry Weller
bb12051b95 Updated headers 2015-07-15 21:58:29 +01:00
Henry Weller
dc0523643f 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
Henry Weller
65d9aacd22 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
Henry Weller
3599b8918b 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
Henry Weller
30af1cdbc4 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
Henry Weller
7044767525 filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification 2015-07-12 20:44:55 +01:00
Henry Weller
a8f61f210f 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
Henry Weller
24a666a6c2 blockMesh: Improve block merge face correspondence test 2015-07-05 18:23:37 +01:00
Henry Weller
43030b7fbc 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
Henry Weller
3c209a32e9 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
Henry Weller
9794225b49 meanVelocityForce: Added selectionMode to example dict 2015-07-02 09:46:56 +01:00