Commit Graph

3505 Commits

Author SHA1 Message Date
79771811d8 thermophysicalModels/specie/transport: Added WLF transport model
Description
    Transport package using the Williams-Landel-Ferry model.

    Templated into a given thermodynamics package (needed for thermal
    conductivity).

    Dynamic viscosity [kg/m.s]
    \f[
        \mu = \mu_0 \exp \left(\frac{-C_1 ( T - T_r )}{C_2 + T - T_r}\right)
    \f]

    References:
    \verbatim
        Williams, M. L., Landel, R. F., & Ferry, J. D. (1955).
        The temperature dependence of relaxation mechanisms
        in amorphous polymers and other glass-forming liquids.
        Journal of the American Chemical society, 77(14), 3701-3707.
    \endverbatim
2018-10-04 22:29:38 +01:00
a7520838f9 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-10-04 22:25:11 +01:00
c9ae73f1e1 SingleKineticRateDevolatilisation.H: Corrected documentation 2018-10-04 22:24:09 +01:00
5dd31a06d8 sonicFoam: Corrected banner 2018-10-03 14:20:20 +01:00
6aa4fe45f8 Corrected line lengths over 80 characters 2018-10-03 12:18:58 +01:00
39ad49bc34 meshSearch: Prevent hang in calculation of line-boundary intersections
This fix changes how the intersections loop ignores previously
intersected faces. It now marks them by their index so that subsequent
iterations ignore them.

Before this change, after an intersection was found the start point was
advanced by a small amount to move the past the intersection. The
problem with this was if multiple boundary faces or the end point were
in close proximity to the intersection then the move forward might span
them. This could lead to intersections being missed or counted multiple
times, in some cases indefinitely.

Based on a patch contributed by Mattijs Janssens
Resolves bug report https://bugs.openfoam.org/view.php?id=1147
2018-10-03 08:48:21 +01:00
80df54208f foamMonitor: Added -ascii and -size options
These options add the ability to show the plot in the terminal, and at
any size. This is intended to facilitate monitoring on remote machines
where launching an X11 application may not be convenient or possible.

Resolves feature request https://bugs.openfoam.org/view.php?id=3080
2018-10-02 19:49:59 +01:00
507b209de6 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-10-02 14:25:46 +01:00
f1a742a130 Upgraded Scotch to 6.0.6 2018-10-02 14:25:18 +01:00
13fe8ed035 VectorSpace: Return result of normalise in the original form 2018-10-02 11:47:01 +01:00
ba83933aa2 template cases for rotating geometry: modify fields with AMI creation 2018-10-01 14:33:05 +01:00
5830a73334 template cases for rotating geometry: updated for #neg directive 2018-10-01 14:30:35 +01:00
ee3431d2c8 template cases: updated for change from pimpleDyMFoam to pimpleFoam 2018-10-01 14:26:21 +01:00
36ac553826 primitives:1️⃣ Specialize the '+' and '-' operators for scalar 2018-10-01 10:36:44 +01:00
de1621ee65 POSIX::readDir: Simplified handling of dirEntries 2018-09-29 10:33:50 +01:00
0c866b5e10 POSIX::readDir: Filter duplicates generated by the filtering of variants
Resolves bug-report https://bugs.openfoam.org/view.php?id=3078
2018-09-28 16:32:57 +01:00
774f76fc66 primitives/one: Corrected return type of '+' and '-' operators 2018-09-28 14:37:22 +01:00
fb173af944 postProcess: Updated to allow functionObjects to access fields on construction 2018-09-28 10:29:22 +01:00
6388a1d5d0 driftFluxFoam::BinghamPlastic: added limiter to avoid floating point exception for high phase fraction
Patch contributed by Juho Peltola, VTT.
2018-09-27 15:38:08 +01:00
441b7e041b MULES: Added optional boundaryExtremaCoeff
This provides more flexibility in specifying the allowed internal and boundary
extrema.

For driftFluxFoam and other settling problems it is beneficial to set the
boundaryExtremaCoeff to 1 to allow rapid accumulation of the partials on the
bottom wall (which was the previous default behaviour) but this is not suitable
for many Euler-Euler cases for which a uniform etrema coefficient is preferable,
either 0 or a small value.

Now by default boundaryExtremaCoeff is set to extremaCoeff which defaults to 0
which provides the behaviour before

OpenFOAM-dev commit cb2bc60fa5

and the driftFluxFoam tutorials have been updated adding

        boundaryExtremaCoeff 1;

to the MULES controls in fvSolution so reproduce the previous behaviour.
2018-09-27 15:03:01 +01:00
314336cb6e Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-09-25 11:07:10 +01:00
9d97dc9ffd tutorials/incompressible/SRF.*: Removed spurious "U" entries in BCs
Resolves bug-report https://bugs.openfoam.org/view.php?id=3076
2018-09-25 11:06:01 +01:00
f68b9cd80f InterfaceCompositionModel: Constant thermo instantiations 2018-09-25 09:33:48 +01:00
2a28182f87 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2018-09-25 08:29:44 +01:00
529010cb5b Doxyfile: Added amsmath to EXTRA_PACKAGES for complex equation formatting 2018-09-25 08:27:19 +01:00
e3672a7e4f reactingTwoPhaseEulerFoam: Prevent error in LBend tutorial
The LBend was set to run for 2 s, but at about 1.95 s the packed region
builds up to the inlet and the simulation diverges. The end time has
been reduced to 1.9 s so that this does not occur.
2018-09-24 15:26:58 +01:00
2d3e7e9981 reactingEulerFoam/phaseModels: Added multi-component isothermal phase 2018-09-24 11:24:25 +01:00
eaa089e38c InterfaceCompositionPhaseChangePhaseSystem: Two sided mass transfer fix
This change fixes an issue where mass transfer models were being looked
up on the wrong side of the interface. This also means that specifying
mass transfer just on one side of an interface is now possible without
generating errors.
2018-09-24 11:21:27 +01:00
819c24869e singleRegionCorrectorConvergenceControl: Typo in error message 2018-09-24 09:54:53 +01:00
1c0256ffab InterfaceCompositionPhaseChangePhaseSystem: Typo in error message 2018-09-24 09:54:34 +01:00
1c26ed2d31 particle: Added logic to break closed loops
When a part of the tetrahedral decomposition is inverted, tracking along
a straight line can result in a closed loop which never ends.

This change adds a limit to the number of tracks that are done that end
before or at the maximum distance already achieved. This breaks these
closed loops and prevents the simulation from hanging. The particles do,
however, end up in an incorrect position as a result of the tracking
being abandoned at an intermediate point in the step. A warning is
printed to indicate when this is occuring.

This resolves bug report https://bugs.openfoam.org/view.php?id=3056
2018-09-24 09:19:21 +01:00
a098cdb710 hydrostaticDisplacementFvPatchVectorField: New experimental traction boundary condition for solidDisplacementFoam
Description
    Fixed traction boundary condition for the standard linear elastic, fixed
    coefficient displacement equation in which the traction is caused by
    the hydrostatic pressure of an external liquid reservoir.
20180922
2018-09-21 22:12:21 +01:00
82d8784901 solidDisplacementFoam: Added support for fvOptions in both D and T equations 2018-09-21 14:52:46 +01:00
3a7b76198e Downgraded OpenMPI to 2.1.1 to avoid bug in the new "vader" shared memory module
Resolves bug-report https://bugs.openfoam.org/view.php?id=3071
2018-09-21 09:58:31 +01:00
721b807122 Downgraded OpenMPI to 3.0.2 to avoid bug in latest version
Resolves bug-report https://bugs.openfoam.org/view.php?id=3071
2018-09-13 23:59:48 +01:00
0cdea3c64e gambitToFoam: Removed \file statement in header 2018-09-07 16:35:34 +01:00
26478060e0 Created .C files corresponding to the <application>.L files for Doxygen and -doc option
Resolves bug-report https://bugs.openfoam.org/view.php?id=3070
2018-09-07 15:07:19 +01:00
490a297190 Doxyfile: include .L files and exclude .C files which clash with application source files
Resolves bug-report https://bugs.openfoam.org/view.php?id=3070
2018-09-06 18:05:22 +01:00
0dfcae6a26 doc/Doxygen/Doxyfile: Exclude src/mesh/blockMesh/blockMesh/blockMesh.C
to avoid clash with the blockMesh.C application source file
2018-09-06 00:00:19 +01:00
e757d5210e functionObjects::log: New functionObject to calculate the natural logarithm of a scalar field
Description
    Calculates the natural logarithm of the specified scalar field.

    Performs \f$ln(max(x, a))\f$ where \f$x\f$ is the field and \f$a\f$ an
    optional clip to handle 0 or negative \f$x\f$.

The etc/caseDicts/postProcessing/fields/log configuration file is provided so
that the simple #includeFunc can be used to execute this functionObject during
the run, e.g. for some dimensionless field x

functions
{
    #includeFunc log(x)
}

or if x might be 0 or negative in some regions the optional clip may be applied:

functions
{
    #includeFunc log(p,clip=1e-6)
}
2018-09-05 23:43:54 +01:00
53ee32d5c2 pimpleFoam: Corrected application name 2018-09-05 18:05:34 +01:00
c75f7b6e19 LESdeltas::PrandtlDelta: Corrected documentation
Resolves bug-report https://bugs.openfoam.org/view.php?id=3066
2018-09-04 14:46:54 +01:00
3fc52f94d7 Function1/Scale: Added optional scaling of the 'x' argument to the scale and value functions
Resolves feature request https://bugs.openfoam.org/view.php?id=3053#c10023
2018-09-03 18:40:21 +01:00
c7e2611975 radiationCoupledBase: Corrected scope of the NamedEnum definition 20180902 2018-08-31 22:09:05 +01:00
187557eb4a radiation/derivedFvPatchFields: Rationalised namespace of the BCs 2018-08-31 17:04:32 +01:00
90c74d8c7c Function1/CSV: Allow reference column index to be higher than highest component column index
Patch contributed by Juho Peltola, VTT.
Resolves patch request https://bugs.openfoam.org/view.php?id=3053
2018-08-31 16:47:36 +01:00
e750f2555c src/OpenFOAM: Rationalised use of enumerations by using the C++11 scoped form
for Time, treeBoundBox, indexedOctree, dynamicIndexedOctree, CirculatorBase
2018-08-31 16:11:16 +01:00
de456c4f94 applications/test/wordRe: Updated for changes to enum in class wordRe 2018-08-31 16:10:23 +01:00
9581ec1384 applications/test/alloc: Avoid compilation warning 2018-08-31 16:10:05 +01:00
f8ecf8f98e applications/test/ensightFoamReader: Removed due the large number of compilation issues 2018-08-31 16:09:32 +01:00