Commit Graph

803 Commits

Author SHA1 Message Date
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
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
48b96926c6 foamCreateVideo: fix framerate option with avconv 2015-07-14 09:28:03 +01:00
7044767525 filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification 2015-07-12 20:44:55 +01:00
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
45abf98521 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
37cde0ce8b paraFoam: added option to open ParaView
when OpenFOAM-format case files are not located
2015-07-07 10:56:11 +01:00
407dccefce Updated template cases for new turbulenceProperties file, fvSchemes syntax and MRFProperties.
With contribution from Richard Jones
2015-07-06 10:23:40 +01:00
24a666a6c2 blockMesh: Improve block merge face correspondence test 2015-07-05 18:23:37 +01:00
3a6f0ac896 tutorials/compressible/rhoSimpleFoam/squareBend: update application 2015-07-05 18:23:05 +01:00
3f4dc50d8a 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
5b9303962b saturationModels: Added a model for constant pSat and Tsat 2015-07-04 14:48:19 +01:00
b020234d39 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
007451a616 reactingTwoPhaseEulerFoam: Completed mass-transfer terms in both forms of momentum equations 2015-07-03 23:18:25 +01:00
e8d45b1d3c reactingTwoPhaseEulerFoam: Replace x*pos(x) with posPart(x) and same for neg 2015-07-03 18:04:34 +01:00
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
89bce95441 reactingTwoPhaseEulerFoam: Updated wmake files 2015-07-03 17:44:34 +01:00
025fe65d02 reactingTwoPhaseEulerFoam: Renamed saturationPressureModel -> saturationModel
In preparation for adding the Tsat function
2015-07-03 16:15:09 +01:00
52cde47fc5 Removed temporary Info statement 2015-07-03 15:47:25 +01:00
3966ffc0db reactingTwoPhaseEulerFoam: Added mass-exchange contribution to the cell-based momentum equations 2015-07-03 15:46:52 +01:00
678a50bd06 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
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
bb5bc559d4 reactingTwoPhaseEulerFoam: Corrected handling of heat-transfer caused by mass-transfer 2015-07-02 22:51:06 +01:00
f1f2c0a9f1 reactingTwoPhaseEulerFoam/pU/pEqn: Added missing dmdt terms 2015-07-02 22:50:44 +01:00
9794225b49 meanVelocityForce: Added selectionMode to example dict 2015-07-02 09:46:56 +01:00
83961e1de1 tutorials/incompressible/simpleFoam/rotorDisk: Tutorial for the rotorDiskSource functionObject
Provided by Richard Jones
2015-07-01 12:37:21 +01:00
7bf57f6b2b fvOptions/sources/derived/rotorDiskSource: Added more documentation
Provided by Richard Jones
2015-07-01 11:02:32 +01:00
d5c8a45f5c EEqn: Added rho*(U&g) source term
Generally this term has a VERY small effect on temperature, it is only
important for low-speed buoyancy-dominated flows.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1755

See also http://cfd.direct/openfoam/energy-equation/
2015-07-01 10:53:37 +01:00
6b4ff9fca5 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
3255714f72 meanVelocityForce: Updated and corrected documentation 2015-06-30 19:20:08 +01:00
6897692212 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
f741f546fd pimpleFoam: Caching 1/A is no longer necessary 2015-06-30 16:07:42 +01:00
75bddf1c63 pisoFoam: Added MRF and fvOptions support 2015-06-30 15:21:00 +01:00
f275efddfa kOmegaSSTSato: Cannot correct nut in the constructor
construction of the phases is not complete
2015-06-30 13:07:01 +01:00
a77070cde6 kOmegaSSTSato: Relocated to src/TurbulenceModels/phaseCompressible/RAS 2015-06-30 13:04:27 +01:00
2127051ad5 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
0d024dd37d 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
6f53722dab tutorials/multiphase/.*woPhaseEulerFoam/: Change outlet p_rgh BC to prghPressure 2015-06-29 19:36:57 +01:00
1f158f8f52 tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/bubbleColumnEvaporatingReacting: Correct initial pressure to 10bar 2015-06-29 16:09:33 +01:00
b8465c8469 localEulerDdt: Removed unnecessary template qualifiers 2015-06-29 14:18:24 +01:00
44c040dfda LTS: Simplify the selection of LTS operation 2015-06-29 11:53:20 +01:00
5e3a0cdbbd 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
8d49122685 Updated header 2015-06-28 21:43:54 +01:00
8b9163b5c7 Corrected the "See Also" 2015-06-28 21:43:32 +01:00
8d962c97ad Update header 2015-06-28 21:43:21 +01:00
8729455377 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
6043a0f3a8 reactingParcelFoam, coalChemistryFoam: Added LTS support
Replaces LTSReactingParcelFoam and LTSCoalChemistryFoam

    Select LTS via the ddtScheme:

        ddtSchemes
        {
            default         localEuler rDeltaT;
        }
2015-06-28 11:01:04 +01:00
bc840e8528 rhoReactingFoam, rhoReactingBuoyantFoam: Added LTS support
Select LTS via the ddtScheme:

    ddtSchemes
    {
        default         localEuler rDeltaT;
    }
2015-06-27 22:41:00 +01:00
a11cf24741 reactingFoam: Added run-time selectable LTS support replacing LTSReactingFoam
Select LTS via the ddtScheme:

    ddtSchemes
    {
        default         localEuler rDeltaT;
    }
2015-06-27 22:35:49 +01:00
0acc57e105 rhoPimpleFoam: Added run-time selectable LTS support replacing rhoLTSPimpleFoam
Select LTS via the ddtScheme:

        ddtSchemes
        {
            default         localEuler rDeltaT;
        }
2015-06-27 22:08:43 +01:00