Commit Graph

3431 Commits

Author SHA1 Message Date
bc6cb51a42 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-08-07 14:36:35 +01:00
d5d304f795 tutorials/incompressible/pimpleFoam/RAS/wingMotion: Corrected U BCs
Resolves bug-report https://bugs.openfoam.org/view.php?id=3029
2018-08-07 14:34:48 +01:00
a95c904390 tutorials/propeller: Mesh AMI-s as a face-zone, rather than patches
snappyHexMesh now generates a face-zone for the AMI-s, and createBaffles
and mergeOrSplitPoints -split are used to create the patches. Before,
snappy generated AMI patches directly, which were then converted to
AMI-s with createPatch.

This way, the AMI-s match exactly at the start of the simulation. For
more complicated cases that may be derived from this tutorial, this
could be important.
2018-08-07 13:12:53 +01:00
8c152cbc38 functionObjects: Generating and storing fields on demand rather than on construction
Resolves bug report https://bugs.openfoam.org/view.php?id=3019
2018-08-06 09:31:07 +01:00
f7100178e4 thermophysicalModels: Added laminar thermal diffusivity for energy, alphahe
Needed for laminar transport of he (h or e)

Resolves bug-report https://bugs.openfoam.org/view.php?id=3025
20180710 20180805
2018-08-05 11:29:28 +01:00
d049c1b7fd etc/config.*: Added gcc-7.3.0 2018-08-05 11:29:06 +01:00
f09f526e1e GeometricField: Removed old-time reading from dictionary constructor
Resolves bug-report https://bugs.openfoam.org/view.php?id=3024
2018-08-03 21:21:14 +01:00
f3c2b2a899 Pair: Include an unused return to avoid compiler warning 2018-08-03 12:05:47 +01:00
c3fbcd7398 tutorials/multiphase/interFoam/RAS/DTCHull.*: Simplified U specification using the new #neg function 2018-08-01 09:44:16 +01:00
d57d36b30e subsetMesh: Added -noFields option
With the -noFields option the mesh is subset but the fields are not changed.
This is useful when the field fields have been created to correspond to the mesh
after the mesh subset.
2018-07-31 18:14:47 +01:00
8662f99ac1 Corrected typos in comments
Resolves bug-report https://bugs.openfoam.org/view.php?id=3017
2018-07-31 17:11:21 +01:00
429c4188db rigidBodyDynamics::compositeJoint: Reinstated setLastJoint joint assignment
Resolves bug-report https://bugs.openfoam.org/view.php?id=3016
2018-07-31 15:28:21 +01:00
2a3f5e7b79 etc/caseDicts/postProcessing/visualization/surfaces: Corrected typo in comment
Resolves bug-report https://bugs.openfoam.org/view.php?id=3013
2018-07-31 14:16:18 +01:00
b4a00c12ca sixDoFRigidBodyControl: functionObject to stop the run when the body motion converges
Description
    Convergence control based on the 6-DoF motion state.

    The body linear and angular velocities are averaged over a specified time
    window and compared to specified velocity convergence criteria and the run
    stopped after writing the current time results, if the criteria are met.

    Example of function object specification:
    \verbatim
    sixDoFRigidBodyControl
    {
        type           sixDoFRigidBodyControl;
        libs           ("libsixDoFRigidBodyState.so");

        angleFormat    degrees;

        window                      1;
        convergedVelocity           (1e-2 1e-2 1e-2);
        convergedAngularVelocity    (5 5 5);
    }
    \endverbatim

    Note the units of the \c convergedAngularVelocity are specified by the \c
    angleFormat entry.

Usage
    \table
    Property     | Description                       | Required | Default value
    type         | Type name: sixDoFRigidBodyControl | yes      |
    angleFormat  | Degrees or radians                | no       | radian
    window       | Averaging window                  | yes      |
    convergedVelocity | Linear velocity convergence criterion         | yes |
    convergedAngularVelocity | Angular velocity convergence criterion | yes |
    \endtable
2018-07-30 21:49:02 +01:00
34f0cae5a3 interpolatingSolidBodyMotionSolver: New solid-body mesh-motion solver which intepolates the motion
Description
    Solid-body motion of the mesh specified by a run-time selectable motion
    function.  Applies SLERP interpolation of movement as function of
    distance to the object surface to move the mesh points.
2018-07-26 16:15:37 +01:00
d627582dd6 combustionModel: Removed the deprecated "active" switch.
To switch-off combustion choose the "noCombustion" model selected with the name
"none" in the combustionProperties file:

combustionModel none;
2018-07-26 10:55:10 +01:00
932e0176e7 dictionary::functionEntries::negEntry: new function to negate a dictionary variable
E.g. in a velocity field file:

    Umean 5.75;
    .
    .
    .
    inlet
    {
        type            uniformFixedValue;
        uniformValue    (#neg $Umean 0 0);
    }
2018-07-26 10:52:16 +01:00
ab31777e9c radiation: Removed the redundant "radiation off" switch from radiationProperties
To switch-off radiation set

    radiationModel  none;

in radiationProperties which instantiates "null" model that does not read any
data or coefficients or evaluate any fields.
2018-07-25 08:10:30 +01:00
9cf8078fef cubicEqn, quadraticEqn: Correction to repeated roots
Also extended the cubic equation test routine and modified the error
methods so that they more accurately generate the round of error of
evaluation.

This resolves bug report https://bugs.openfoam.org/view.php?id=3015
2018-07-24 16:08:59 +01:00
fbec30c9fb HashSet: Added construct from FixedList 2018-07-24 15:56:04 +01:00
b47ed15d5e particle: Made wallData purely geometric on moving meshes
This removes a possible inconsistency in the motion at walls, preventing
certain types of infinite loop being entered.
2018-07-24 15:56:04 +01:00
35dd88e553 particle: Improvements to tracking across AMIs
The projection direction has been corrected to include the effect of
mesh motion. The case where the source and receiving faces are of
differing orientations and the particle displacement points into both is
now detected and handled.
2018-07-24 15:56:04 +01:00
fb4cb6e57a tutorials::coolingSphere/Allclean: avoid extended regular expressions in grep
Solves grep problem on Slackware 14.2

Patch contributed by Lorenzo Trevisan
Resolves patch request https://bugs.openfoam.org/view.php?id=3012
2018-07-24 11:48:08 +01:00
b08d6a2556 ListOpsTemplates::inplaceMapValue: Updated to support List 2018-07-24 11:47:32 +01:00
0e10376953 foamGet: check target directory exists and warn
only if controlDict does not exist.
2018-07-23 15:08:06 +01:00
a6f2053518 particle: Consistent return value from all track methods 2018-07-23 09:08:18 +01:00
88070d62cb Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-07-23 08:56:37 +01:00
a711cd45d1 solidificationMeltingSource: trivial reformatting of documentation
Resolves report https://bugs.openfoam.org/view.php?id=3010
2018-07-23 08:55:53 +01:00
52a6a0888e CloudFunctionObjects/ParticleErosion: Corrected field name 2018-07-19 10:32:03 +01:00
8fca751b79 CloudFunctionObjects/ParticleErosion: Added documentation 2018-07-19 09:21:45 +01:00
d7d345922a Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2018-07-18 16:48:32 +01:00
c562a46a33 foamInfo: added -k | -keyword option, searches more broadly for a
case-insensitive keyword, rather than an specific model name. For
example, to search for all k-epsilon related models:

foamInfo -k kepsilon
2018-07-18 16:46:43 +01:00
aea61ccdbf AMI: Un-templated the interpolation and method classes
AMI interpolation is only ever constructed between sets of primitive
patches, so templating on the patch type is unnecessary. Templating in
this instance is undesirable; it makes type type/debug/selection system
more complex and increases the number and compilation times of files
which need recompiling when code is modified.
2018-07-18 14:49:11 +01:00
5e8593c171 wmake/rules/linux.*Gcc: added -fuse-ld=bfd
to avoid problems on systems which use the gold linker by default.

Resolves request https://bugs.openfoam.org/view.php?id=3006
2018-07-17 23:06:45 +01:00
9d446b9dc1 foamGet: fixed when file only exists with extension,
e.g. sampleDict.cfg
2018-07-17 19:23:58 +01:00
9d185f2cb1 POSIX: Unifying checking for ".gz" and ".orig" variants 2018-07-17 16:53:21 +01:00
a9cdfa0f4e dynamicAlphaContactAngleFvPatchScalarField: Added support for alternative direction convention
Description
    A dynamic alphaContactAngle scalar boundary condition

Usage
    Standard properties:
    \table
        Property | Description                      | Required | Default value
        theta0   | Equilibrium contact angle        | yes      |
        uTheta   | Velocity scale                   | yes      |
    \endtable

    The advancing and receding contact angles can be either specified with
    respect to the interface normal direction:
    \table
        Property | Description                      | Required | Default value
        thetaA   | Limiting advancing contact angle | yes      |
        thetaR   | Limiting receding contact angle  | yes      |
    \endtable

    or with respect to the phase outward direction:
    \table
        Property | Description                      | Required | Default value
        thetaAdv | Limiting advancing contact angle | yes      |
        thetaRec | Limiting receding  contact angle | yes      |
    \endtable

    Example of the boundary condition specification using the interface
    normal direction convention:
    \verbatim
    <patchName>
    {
        type           dynamicAlphaContactAngle;
        uTheta         1;
        theta0         90;
        thetaA         70;
        thetaR         110;
        limit          gradient;
        value          uniform 0;
    }
    \endverbatim

    Example of the boundary condition specification using the phase outward
    direction convention (opposite to the normal direction):
    \verbatim
    <patchName>
    {
        type           dynamicAlphaContactAngle;
        uTheta         1;
        theta0         90;
        thetaAdv       110;
        thetaRec       70;
        limit          gradient;
        value          uniform 0;
    }
    \endverbatim

Resolves feature request https://bugs.openfoam.org/view.php?id=2864
2018-07-17 14:03:38 +01:00
4dfaf1bac6 tutorials/incompressible/simpleFoam/turbineSiting: Corrected initialization 2018-07-13 15:25:28 +01:00
669935efd6 LangmuirHinshelwoodReactionRate: corrected, rationalized and generalized
to an arbitrary pair of reacting species.

Description
    Langmuir-Hinshelwood reaction rate for gaseous reactions on surfaces.

    Reference:
    \verbatim
        Hinshelwood, C.N. (1940).
        The Kinetics of Chemical Change.
        Oxford Clarendon Press
    \endverbatim
2018-07-12 18:16:22 +01:00
bc1a536c1e pimpleDyMFoam: Link to mergedDyM 2018-07-12 18:15:50 +01:00
d75d045039 sampledSet/lineFace: Added error message 2018-07-12 11:00:03 +01:00
95cf9666e7 particle: Added some extra debugging statements 2018-07-12 09:11:21 +01:00
23d523d9bf ThermoCloud: Corrected counter data type
Resolves bug report https://bugs.openfoam.org/view.php?id=2999
2018-07-12 08:56:27 +01:00
20653ee01e semiPermeableBaffle: Added mole-fraction and partial-pressure input options
The semiPermeableBaffleMassFraction boundary condition can now calculate
the mass flux as proportional to the difference in mole fraction or
partial pressure. A mass fraction difference driven transfer is also
still possible. An additional keyword, "input" has been added which is
used to select the variable used to calculate the transfer. An example
specification is as follows:

    baffle
    {
        type            semiPermeableBaffleMassFraction;
        samplePatch     membranePipe;
        c               0.1;
        input           massFraction;
        value           uniform 0;
    }

In order to facilitate this, a "W" method to get the molar mass on a
patch has been added to the thermodynamics. To avoid name-clashes,
methods that generate per-species molar masses have been renamed "Wi".

This work was supported by Georg Skillas, at Evonik
2018-07-11 10:08:44 +01:00
e0cf9706ca Merge branch 'mergeDyM' 2018-07-11 09:48:17 +01:00
5ed4fe7017 Updated web-links 2018-07-10 21:30:42 +01:00
68f9486884 tutorials/compressible/rhoPimpleFoam/laminar/decompressionTank: Updated headers 2018-07-10 21:28:08 +01:00
29fc94d3e2 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev into mergeDyM 2018-07-10 20:10:01 +01:00
8ca408bf6c Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev version-6 2018-07-10 09:04:20 +01:00
71a4e548df Updated git hooks to check new header format 2018-07-09 16:59:03 +01:00