Commit Graph

7140 Commits

Author SHA1 Message Date
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
c79d2566b0 twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:44:18 +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
88a021bd4f 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
cb23867daa 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
4d142dacb5 tutorials/incompressible/simpleFoam/pitzDaily: Setup to run with range of turbulence models 2015-01-28 18:36:03 +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
eb4ed526cc tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D: add gravity in direction of drift 2015-01-28 16:37:36 +00:00
cf26b7db6b Updated header 2015-01-28 16:37:24 +00:00
e6123b4b95 Minor style changes 2015-01-28 16:37:09 +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
3ecb02c4f0 tutorials/incompressible/pimpleFoam/elipsekkLOmega: added non-orthogonal correctors to improve stability when running longer 2015-01-28 09:19:20 +00:00
53a0e4a2f3 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
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
2737053906 tutorials/incompressible/pimpleFoam/elipsekkLOmega: Updated 2015-01-27 15:09:03 +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
597343dfc7 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
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
070fe069ac atmBoundaryLayer: updated for SP compilation 2015-01-23 14:06:02 +00:00
90e78229d5 controlDict: change timeStampMaster -> timeStamp
Currently timeStampMaster does not support re-reading of IOdictionaries in parallel
2015-01-23 09:21:39 +00:00
9714a61e9e Updated header 2015-01-23 09:21:26 +00:00
26e9586324 turbulenceModels: minor function reorganization 2015-01-23 09:21:01 +00:00
1f7b744212 LESModel: correct delta 2015-01-23 09:18:36 +00:00
a6b9d2a490 turbulenceModels/LES: Added WALE model
Changed the tutorials/incompressible/pimpleFoam/channel395 to demonstrate the WALE model
2015-01-23 09:17:33 +00:00