Commit Graph

137 Commits

Author SHA1 Message Date
e18ebd2a38 LRR: added comment 2015-02-06 20:41:33 +00:00
b255f54120 turbulenceModels/RAS/LRR: Added optional Gibson-Launder wall-reflection 2015-02-06 17:38:04 +00:00
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
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
0b7c2ee470 registerSwitch: rationalization of info and optimization switch registration
plus support for other than integer types
2015-02-05 18:10:42 +00:00
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
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
c328c68638 gradingDescriptor: support SP compilation 2015-02-05 12:11:55 +00:00
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
02ba39d93c Rationalized handling of debug, info and opt switches 2015-02-05 10:43:10 +00:00
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
ebc88a4680 MRFSource: Update the velocity boundary conditions for changes in rotation speed 2015-02-04 23:03:45 +00:00
c481b625ef kLowReWallFunction: Limit k to avoid failure of the turbulence model due to division by k 2015-02-04 22:11:15 +00:00
287e970b18 Update headers 2015-02-04 22:11:06 +00:00
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
0296a4ed9e Updated headers 2015-02-04 16:33:26 +00:00
a716ef7d82 UILList: Updated 2015-02-04 16:33:12 +00:00
076fde91b9 Update headers 2015-02-03 12:12:07 +00:00
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
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
5eafa16bc6 porousBafflePressure: Corrected and added support for compressible flow 2015-02-02 12:23:31 +00:00
a79b912a31 fixedShearStressFvPatchVectorField: Remove rhoName and phiName which are no longer needed 2015-02-02 12:22:52 +00:00
11aed73678 Remove duplicate include
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1507
2015-02-02 09:45:25 +00:00
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
1471d3df87 eddyViscosity: Allow external classes to modify nut 2015-02-01 12:38:50 +00:00
3d8f0aa575 Update header 2015-02-01 12:38:39 +00:00
9eff3f968d Relocate LESeddyViscosity 2015-02-01 12:38:23 +00:00
d9b1ea4dea Updated header 2015-02-01 12:38:12 +00:00
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
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
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
cb1e8f08ba Add missing header 2015-01-28 16:35:15 +00:00
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
96ab642efc TurbulenceModels: Templated kOmega and instantiated both incompressible and compressible forms 2015-01-28 09:18:06 +00:00
62261c9822 kkLOmega.C: Corrected formatting error 2015-01-27 15:11:50 +00:00
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
94d113faf3 TurbulenceModels/incompressible: RNGkEpsilon now tepmlated 2015-01-27 15:04:56 +00:00
ee213908ad TurbulenceModels: Add compressible v2f 2015-01-27 15:04:32 +00:00
4f4b2e9112 TurbulenceModels: separated v2fBase.H from v2f.H 2015-01-26 10:30:58 +00:00
cda60031b9 TurbulenceModels: ensure alphat is corrected after nut by arranging the call from correctNut
This is as temporary fix pending the completion of the selectable thermal transport layer
2015-01-25 22:52:33 +00:00
3e4a059e7d v2f: separate instantiation of v2fBase from fWallFunction 2015-01-25 22:31:14 +00:00
d9e4918cda Updated headers 2015-01-25 22:27:03 +00:00
924ddccad5 TurbulenceModels: Added templated v2f for incompressible and compressible flow 2015-01-25 22:26:16 +00:00
f1dddcfa40 TurbulenceModels: Updated documentation 2015-01-25 12:40:25 +00:00
f50d23f859 buoyantKEpsilon: Changed the additional buoyancy generation/dissipation
term to the more commonly used form of Henkes, R.A.W.M., Van Der Vlugt, F.F. & Hoogendoorn, C.J. (1991).
2015-01-25 12:37:37 +00:00
2fb88d3e4e TurbulenceModels: Added RNGkEpsilon 2015-01-24 22:49:04 +00:00
f8efe93ffd TurbulenceModels: Added LRR model with Daly-Harlow generalized gradient diffusion 2015-01-24 22:10:17 +00:00
19b92a4931 DeardorffDiffStress: updated to correspond more closely to the original paper
Added references to the generalized gradient diffusion model
2015-01-24 18:44:44 +00:00
980b554166 Updated header 2015-01-23 23:34:05 +00:00
b62acf9cb6 TurbulenceModels: Added DeardorffDiffStress LES model
Now using the Daly-Harlow generalized gradient diffusion model
2015-01-23 23:32:38 +00:00