Commit Graph

10204 Commits

Author SHA1 Message Date
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
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
109d84104f blockMesh: Improve block merge face correspondence test 2015-07-05 18:23:37 +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
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
67c780a878 meanVelocityForce: Added selectionMode to example dict 2015-07-02 09:46:56 +01:00
8c8a3a162f tutorials/incompressible/simpleFoam/rotorDisk: Tutorial for the rotorDiskSource functionObject
Provided by Richard Jones
2015-07-01 12:37:21 +01:00
c77e033ae0 fvOptions/sources/derived/rotorDiskSource: Added more documentation
Provided by Richard Jones
2015-07-01 11:02:32 +01:00
b0719c3531 patchMeanVelocityForce: Variant of patchMeanVelocityForce in which the velocity is averaged over a patch
rather than a cellSet

This is useful to drive mean flow in a duct with a non-uniform
cross-section.
2015-06-30 22:39:59 +01:00
82ccea2a49 meanVelocityForce: Updated and corrected documentation 2015-06-30 19:20:08 +01:00
256be2641f Renamed pressureGradientExplicitSource to meanVelocityForce
as it is the applied the force necessary to maintain the specified mean velocity
2015-06-30 19:13:16 +01:00
9c874b71b1 kOmegaSSTSato: Cannot correct nut in the constructor
construction of the phases is not complete
2015-06-30 13:07:01 +01:00
aa42c1f906 kOmegaSSTSato: Relocated to src/TurbulenceModels/phaseCompressible/RAS 2015-06-30 13:04:27 +01:00
ce844e6f5b cellSource: Added weightedVolAverage option
faceSource: Added weightedAreaAverage option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1769
2015-06-30 11:20:02 +01:00
72300041df Removed use of the deprecated "register" keyword
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
2015-06-30 10:26:44 +01:00
2aa91c8f40 localEulerDdt: Removed unnecessary template qualifiers 2015-06-29 14:18:24 +01:00
fd9d07413a LTS: Simplify the selection of LTS operation 2015-06-29 11:53:20 +01:00
34c3b2f656 Pstream/mpi: Move mpi.h include to after the OpenFOAM includes
Resolves additional report http://www.openfoam.org/mantisbt/view.php?id=1474
2015-06-28 22:55:22 +01:00
bbad3b05e4 Updated header 2015-06-28 21:43:54 +01:00
ea5f34cc4a Corrected the "See Also" 2015-06-28 21:43:32 +01:00
7dd93ce434 Update header 2015-06-28 21:43:21 +01:00
f92d657ab7 LTS: Formalize the naming of the rDeltaT and rSubDeltaT fields
Now the specification of the LTS time scheme is simply:

ddtSchemes
{
    default         localEuler;
}
2015-06-28 21:41:40 +01:00
587c93574a LTS, MULES and sub-cycling: Improved the handling of the rSubDeltaT field 2015-06-26 21:58:27 +01:00
e00ae44ad0 interFoam family: Added run-time selectable LTS support
LTS is selected by the ddt scheme e.g. in the
tutorials/multiphase/interFoam/ras/DTCHull case:

ddtSchemes
{
    default         localEuler rDeltaT;
}

LTSInterFoam is no longer needed now that interFoam includes LTS
support.
2015-06-26 18:32:20 +01:00
d9b186e9d1 Update header 2015-06-25 22:04:28 +01:00
c981db68c7 sampledPlane: Correct handling of coordinate system specification
Patches provided by Timm Severin
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1764
2015-06-25 22:04:00 +01:00
0f8d7e677d reactingTwoPhaseEulerFoam: Construct MRF and fvOptions in phaseSystem 2015-06-25 19:22:47 +01:00
ad40e110df Update headers 2015-06-24 10:45:42 +01:00
5e05479e2a Use basicThermo::dictName rather than hard-coding "thermophysicalProperties" 2015-06-24 10:44:57 +01:00
cdd4f69212 Correct typo 2015-06-24 10:06:56 +01:00
5c6203309b timeSelector: Add support for -newTimes option
//- Return the set of times selected based on the argList options
    //  including support for \b -newTimes in which times are selected
    //  if the file <fName> does not exist in the time directory.
    //  Also set the runTime to the first instance or the
    //  \c constant/ directory if no instances are specified or available
    static instantList select
    (
        Time& runTime,
        const argList& args,
        const word& fName
    );

This is experimental functionality and currently on test in the yPlus
post-processing utility.
2015-06-24 10:04:29 +01:00
22eec28121 meshToMeshTemplates: Fix bug in mapTgtToSrc 2015-06-23 10:55:17 +01:00
68b0c866a4 surfaceToCell, surfaceToPoint: Add surface file name expansion
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1754
2015-06-19 15:49:10 +01:00
d1c18321a7 LimitedScheme/LimitFuncs: Make the limiter function for symmTensor consistent with tensor
Use the trace as the limiter function for both symmTensor and tensor to
bound the normal stresses rather than the shear stresses.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1751
2015-06-18 11:45:40 +01:00
280f0fbf31 PatchInjection::parcelsToInject: Ensure parallel consistency
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1746
2015-06-16 15:14:15 +01:00
b1a1a0c60d filmViscosityModel/thixotropicViscosity: Corrected the handling of the effect of droplet deposition
on the lambda of the film
2015-06-16 12:43:40 +01:00
fc8d1c4c14 externalWallHeatFluxTemperature: Correct doc
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1745
2015-06-15 19:13:31 +01:00
08191ee828 ReactingMultiphaseParcel,ReactingParcel: Use T0 for consistent radiation transfer
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1636
2015-06-15 17:40:48 +01:00
f9358d33a0 pairPatchAgglomeration: Stop agglomeration loop if no further agglomeration is achieved
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1157
2015-06-15 17:14:24 +01:00
57e5a11041 Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1741
2015-06-15 11:20:56 +01:00
406f0ab830 pairPatchAgglomeration: Do not use the result agglomeratePatch if the return indicates it is not valid
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1157
2015-06-13 23:05:45 +01:00
e9f35a9d19 Lagrangian radiation models and fvDOM: Apply updates
Applying patches provided by Timo Niemi
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1636
2015-06-12 15:35:43 +01:00
ee6660794f Updated header 2015-06-12 09:44:48 +01:00
573021c9ba TurbulenceModels/phaseCompressible: Do not call correctNut in constructor
if it depends on the availability of the physical properties of both
phases as the construction of the phase-system may not be complete.
2015-06-12 09:43:07 +01:00
d71b839320 polyMesh::findCell: Call tetBasePtIs for CELL_TETS to ensure parallel consistency
Resolves additional bug-report http://www.openfoam.org/mantisbt/view.php?id=1544
2015-06-11 17:45:25 +01:00