Commit graph

150 commits

Author SHA1 Message Date
Henry
356cbd27f7 TurbulenceModels: No need to explicitly correct for boundedness, use the "bounded" scheme instead 2015-02-12 09:58:17 +00:00
Henry
6f63b722e0 TurbulenceModels: Do not register temporaries 2015-02-12 09:57:45 +00:00
Henry
ee9bef30fe TurbulenceModels/turbulenceModels/RAS/v2f: Name the Ts variable Ts 2015-02-12 09:56:47 +00:00
Henry
43012d3833 kOmegaSST: correct nut from the S2 already available 2015-02-12 09:55:52 +00:00
Henry
c13136511a kOmegaSST: Updated to be consistent with the latest version in OpenFOAM-2.3.x 2015-02-11 15:59:16 +00:00
Henry
e939d1de79 Solvers: Rationalized correctPhi 2015-02-11 13:22:24 +00:00
Henry
50c38dfdaa LESModel and RASModel: Call read for immediate base-class rather than for the turbulenceModel class 2015-02-10 17:33:04 +00:00
Henry
5944f12a38 turbulenceModel: Correct handling of IOdictionary writing to support timeStampMaster 2015-02-10 17:32:27 +00:00
Henry
78f8e84d01 pimpleControl and pisoControl: Rationalize PISO and PIMPLE control 2015-02-10 13:47:18 +00:00
Henry
ca026b5dc7 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
Henry
121a8f32bd Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1514
2015-02-08 20:27:22 +00:00
Henry
1a05f2ad42 turbulenceModels/RAS/SSG: Added Speziale, Sarkar and Gatski pressure-strain based Reynolds-stress turbulence model 2015-02-06 23:08:45 +00:00
Henry
e5d9392caa turbulenceModels/RAS/LRR: Added re-reading of wall-reflection coefficients 2015-02-06 20:50:20 +00:00
Henry
e18ebd2a38 LRR: added comment 2015-02-06 20:41:33 +00:00
Henry
b255f54120 turbulenceModels/RAS/LRR: Added optional Gibson-Launder wall-reflection 2015-02-06 17:38:04 +00:00
Henry
9d575335e1 regionCoupledBase: corrected output name for nbrRegionName_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1511
2015-02-06 15:30:47 +00:00
Henry
e72b2557d5 PolynomialEntry: Templated polynomial DataEntry to support all basic field types from scalar to tensor
This allows polynomial functions for e.g. velocity to be specified in the uniformFixedValue BC

Consider a linear function for Ux(t) with Uy and Uz = 0:

    inlet
    {
        type            uniformFixedValue;
        uniformValue    polynomial
        (
            ((10 0 0)   (0 0 0))
            ((100 0 0)  (1 0 0))
        );
    }

Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1508
2015-02-06 09:57:20 +00:00
Henry
0b7c2ee470 registerSwitch: rationalization of info and optimization switch registration
plus support for other than integer types
2015-02-05 18:10:42 +00:00
Henry
8e77fbc222 primitiveMeshTools: stabilize with VSMALL rather than SMALL to avoid problems with very small meshes
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1509
2015-02-05 16:31:29 +00:00
Henry
608145622b fvMotionSolverEngineMesh: construct the motionSolver from the engineTime IOdictionary
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=774
2015-02-05 12:27:46 +00:00
Henry
c328c68638 gradingDescriptor: support SP compilation 2015-02-05 12:11:55 +00:00
Henry
c2aee2f2e2 mapFields: Minimum hack provided by Mattijs to get mapFields working again
This version is very inefficient in parallel and does not provide the
-parallelSource or -parallelTarget options which will need to be
reinstanted in the future or we could revert mapFields to the
OpenFOAM-2.2 version.
2015-02-05 12:09:34 +00:00
Henry
02ba39d93c Rationalized handling of debug, info and opt switches 2015-02-05 10:43:10 +00:00
Henry
ec922fb419 isoSurfaceCellTemplates: Skip undefined tets
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1506
2015-02-04 23:06:31 +00:00
Henry
ebc88a4680 MRFSource: Update the velocity boundary conditions for changes in rotation speed 2015-02-04 23:03:45 +00:00
Henry
c481b625ef kLowReWallFunction: Limit k to avoid failure of the turbulence model due to division by k 2015-02-04 22:11:15 +00:00
Henry
287e970b18 Update headers 2015-02-04 22:11:06 +00:00
Henry
2c25b8db52 Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +00:00
Henry
0296a4ed9e Updated headers 2015-02-04 16:33:26 +00:00
Henry
a716ef7d82 UILList: Updated 2015-02-04 16:33:12 +00:00
Henry
076fde91b9 Update headers 2015-02-03 12:12:07 +00:00
Henry
86d7f7208a blockMesh: Add support for multi/sectional grading in a block
Consider a block describing a channel with two opposite walls.
Currently in order to grade the mesh towards the walls and have a
uniform region in the centre the channel would need to be spit into 3
blocks.  With the new multi/sectional grading this can be achieved in a
single block e.g.

blocks
(
    hex (0 1 2 3 4 5 6 7) (20 60 20)
    simpleGrading
    (
        1
        ((0.2 0.3 4) (0.6 0.4 1) (0.2 0.3 0.25))
        1
    )
);

In this example the block is divided uniformly in the x and z -directions
and split into three grading sections in the y-direction described by
three triples:  ((0.2 0.3 4) (0.6 0.4 1) (0.2 0.3 0.25)).  Each of the
grading sections is described by a triple consisting of the fraction of
the block, the fraction of the divisions and the grading ratio (size of
first division/size of last division).  Both the fraction of the block
and the fraction of the divisions are normalized automatically so they
can be specified scaled in anyway, e.g. as percentages:

blocks
(
    hex (0 1 2 3 4 5 6 7) (20 60 20)
    simpleGrading
    (
        1
        ((2 3 4) (6 4 1) (2 3 0.25))
        1
    )
);

and they need not sum to 1 or 100.

This is very new functionality and not well tested but backward
compatibility has been well tested so all existing blockMeshDicts should
parse correctly.
2015-02-03 12:01:55 +00:00
Henry
3b60a97831 POSIX.C findEtcFiles: Revert change to read system/controlDict
Causes problems if the controlDict contains # entries
2015-02-03 11:59:43 +00:00
Henry
5eafa16bc6 porousBafflePressure: Corrected and added support for compressible flow 2015-02-02 12:23:31 +00:00
Henry
a79b912a31 fixedShearStressFvPatchVectorField: Remove rhoName and phiName which are no longer needed 2015-02-02 12:22:52 +00:00
Henry
11aed73678 Remove duplicate include
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1507
2015-02-02 09:45:25 +00:00
Henry
baf914f390 transform: Handle codirectional and contradirectional transformation vectors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=416
2015-02-02 09:44:59 +00:00
Henry
1471d3df87 eddyViscosity: Allow external classes to modify nut 2015-02-01 12:38:50 +00:00
Henry
3d8f0aa575 Update header 2015-02-01 12:38:39 +00:00
Henry
9eff3f968d Relocate LESeddyViscosity 2015-02-01 12:38:23 +00:00
Henry
d9b1ea4dea Updated header 2015-02-01 12:38:12 +00:00
Henry
d77218b427 POSIX/debug: Add ./system on the list of etc directories
in particular to pick-up the DebugSwitches from system/controlDict at
global construction time.

Disadvantage is that system/controlDict is only picked-up if the
OpenFOAM application is executed IN the case directory.  The directory
provided by the -case option is not yet known as the arguments have not
yet been parsed.
2015-02-01 12:34:19 +00:00
Henry
ad03953433 thermoSingleLayer: revert change to q function made shortly before the release of OpenFOAM-2.3.1
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1502
2015-01-28 18:02:56 +00:00
Henry
a788fa2764 regExp: Add support for case-insensitive patterns
From https://github.com/OpenFOAM/OpenFOAM-2.2.x/pull/1
2015-01-28 16:35:36 +00:00
Henry
cb1e8f08ba Add missing header 2015-01-28 16:35:15 +00:00
Henry
870d71db1f buoyantKEpsilon: filter sources depending on mag(g) so that it operates as kEpsilon if mag(g) = 0 2015-01-28 16:34:18 +00:00
Henry
96ab642efc TurbulenceModels: Templated kOmega and instantiated both incompressible and compressible forms 2015-01-28 09:18:06 +00:00
Henry
62261c9822 kkLOmega.C: Corrected formatting error 2015-01-27 15:11:50 +00:00
Henry
901d7cd579 src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/kkLOmega: Corrected errors in implementation and from original paper according to
Furst, J. (2013).
    Numerical simulation of transitional flows with laminar kinetic energy.
    Engineering MECHANICS, 20(5), 379-388.

Thanks to Jan-Niklas Klatt for analysing problems with and correcting
the implementation and testing corrections to the model proposed by
Furst.
2015-01-27 15:06:03 +00:00
Henry
94d113faf3 TurbulenceModels/incompressible: RNGkEpsilon now tepmlated 2015-01-27 15:04:56 +00:00