Commit Graph

15778 Commits

Author SHA1 Message Date
7ec17dfd79 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
f6421f108d POSIX.C findEtcFiles: Revert change to read system/controlDict
Causes problems if the controlDict contains # entries
2015-02-03 11:59:43 +00:00
f2f4c00e24 porousBafflePressure: Corrected and added support for compressible flow 2015-02-02 12:23:31 +00:00
b382579cf0 fixedShearStressFvPatchVectorField: Remove rhoName and phiName which are no longer needed 2015-02-02 12:22:52 +00:00
47a820e3b9 Remove duplicate include
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1507
2015-02-02 09:45:25 +00:00
98bcdb04d8 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
5c77a34f5a twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:44:18 +00:00
324d54feb9 eddyViscosity: Allow external classes to modify nut 2015-02-01 12:38:50 +00:00
b04b8eb594 Update header 2015-02-01 12:38:39 +00:00
5f188b0aa9 Relocate LESeddyViscosity 2015-02-01 12:38:23 +00:00
173004a87a Updated header 2015-02-01 12:38:12 +00:00
4022238dec 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
ee60ed72f1 foamInstallationTest: Add support for gcc named with extension
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=452
2015-01-31 22:39:23 +00:00
e1c2251176 bin/tools/doxyFilter.sed: Add support for 2-line Class name:
Class
     Foam::className
 =>
 \\class Foam::className

 Class
     Foam::namespaceName::
         className
 =>
 \\class Foam::namespaceName::className

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=252
2015-01-29 08:16:59 +00:00
acbd73cb5b tutorials/incompressible/simpleFoam/pitzDaily: Setup to run with range of turbulence models 2015-01-28 18:36:03 +00:00
06e4f4db6e 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
52eb0c837a tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D: add gravity in direction of drift 2015-01-28 16:37:36 +00:00
8849ad20e9 Updated header 2015-01-28 16:37:24 +00:00
724c66fdb7 Minor style changes 2015-01-28 16:37:09 +00:00
33b1bf4c87 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
f97e276039 Add missing header 2015-01-28 16:35:15 +00:00
e0911c9139 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
fb30659b25 tutorials/incompressible/pimpleFoam/elipsekkLOmega: added non-orthogonal correctors to improve stability when running longer 2015-01-28 09:19:20 +00:00
656dc54f71 Icc support: added floating-point exception trapping and accurate maths
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1432
2015-01-28 09:18:47 +00:00
5f464d1169 TurbulenceModels: Templated kOmega and instantiated both incompressible and compressible forms 2015-01-28 09:18:06 +00:00
158a73ee33 kkLOmega.C: Corrected formatting error 2015-01-27 15:11:50 +00:00
d815440f52 tutorials/incompressible/pimpleFoam/elipsekkLOmega: Updated 2015-01-27 15:09:03 +00:00
79ec421e55 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
a9352a19ff TurbulenceModels/incompressible: RNGkEpsilon now tepmlated 2015-01-27 15:04:56 +00:00
fcfccd47f1 TurbulenceModels: Add compressible v2f 2015-01-27 15:04:32 +00:00
d3c40298db viewFactorsGen/shootRays: Allow the specification of maxDynListLength in viewFactorsDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1501
2015-01-27 10:49:23 +00:00
ebce7b57ae TurbulenceModels: separated v2fBase.H from v2f.H 2015-01-26 10:30:58 +00:00
277351c875 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
823b562265 v2f: separate instantiation of v2fBase from fWallFunction 2015-01-25 22:31:14 +00:00
efe6fc3848 Updated headers 2015-01-25 22:27:03 +00:00
30e91088b2 TurbulenceModels: Added templated v2f for incompressible and compressible flow 2015-01-25 22:26:16 +00:00
a3d70945bc TurbulenceModels: Updated documentation 2015-01-25 12:40:25 +00:00
b1905a3b1d 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
e6125d4eb9 TurbulenceModels: Added RNGkEpsilon 2015-01-24 22:49:04 +00:00
4f048a8d9c TurbulenceModels: Added LRR model with Daly-Harlow generalized gradient diffusion 2015-01-24 22:10:17 +00:00
7424d3c1bc 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
58c15f176d Updated header 2015-01-23 23:34:05 +00:00
55bcc01b58 TurbulenceModels: Added DeardorffDiffStress LES model
Now using the Daly-Harlow generalized gradient diffusion model
2015-01-23 23:32:38 +00:00
ce539bcd13 atmBoundaryLayer: updated for SP compilation 2015-01-23 14:06:02 +00:00
912c6e5926 controlDict: change timeStampMaster -> timeStamp
Currently timeStampMaster does not support re-reading of IOdictionaries in parallel
2015-01-23 09:21:39 +00:00
fa21fbc1aa Updated header 2015-01-23 09:21:26 +00:00
15410c22d7 turbulenceModels: minor function reorganization 2015-01-23 09:21:01 +00:00
f9f4128051 LESModel: correct delta 2015-01-23 09:18:36 +00:00
04eb2428ff turbulenceModels/LES: Added WALE model
Changed the tutorials/incompressible/pimpleFoam/channel395 to demonstrate the WALE model
2015-01-23 09:17:33 +00:00
ec9fc5b099 DataEntry/Table: provide dictionary to base-class to allow the specification of outOfBounds
Resolves bug-reports:
    http://www.openfoam.org/mantisbt/view.php?id=888
    http://www.openfoam.org/mantisbt/view.php?id=788
2015-01-22 13:32:30 +00:00