Commit graph

238 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
92e0c46ad1 kineticTheoryModel: Name intermediate variable and avoid duplicate registration 2015-02-11 16:51:44 +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
5a896b95df driftFluxFoam: Name ghf correctly
Avoids problem of duplicate registration
2015-02-11 14:49:23 +00:00
Henry
bdd5c4b8d3 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter: Do not register the temporary diameter field 2015-02-11 14:48:34 +00:00
Henry
e939d1de79 Solvers: Rationalized correctPhi 2015-02-11 13:22:24 +00:00
Henry
def52a306a Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
4a3dce9e8f solvers: rationalize the construction of the fvOptions 2015-02-10 18:33:45 +00:00
Henry
1b56ed238b solvers: rationalize the return statement 2015-02-10 18:20:42 +00:00
Henry
a47b212da1 threePhaseInterfaceProperties: Update constructor to be consistent with the two-phase interfaceProperties
Avoids problem of duplicate registration of K
2015-02-10 17:44:18 +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
6a1803d4aa Use old PISO control structure for teaching solvers icoFoam and nonNewtonianIcoFoam 2015-02-10 17:31:38 +00:00
Henry
78f8e84d01 pimpleControl and pisoControl: Rationalize PISO and PIMPLE control 2015-02-10 13:47:18 +00:00
Henry
927498accb Applications: use pimpleControl.dict() and simpleControl.dict() instead of looking-up the sub-dict 2015-02-09 22:15:26 +00:00
Henry
ae4cdef8b5 Doxygen: Updated scripts and css files to process OpenFOAM header files more robustly
and generate cleaner HTML files.
Thanks to Bruno Santos for various fixes and improvements.
Resolves bug reports:
    http://www.openfoam.org/mantisbt/view.php?id=1516
    http://www.openfoam.org/mantisbt/view.php?id=1016
    http://www.openfoam.org/mantisbt/view.php?id=1512
2015-02-09 18:06:35 +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
94804cc55b Update headers 2015-02-06 10:11:42 +00:00
Henry
c2c62c4b00 Rationalize foamJob and foamExec
Patches provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=231
2015-02-06 10:09:13 +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
c628b79d10 paraview: Standardize the naming of the ParaView installation directory
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1201
2015-02-05 19:18:31 +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
98bc2ef829 foamUpgradeFvSolution: No longer maintained 2015-02-05 12:12:20 +00:00
Henry
c328c68638 gradingDescriptor: support SP compilation 2015-02-05 12:11:55 +00:00
Henry
bbb6944e77 Updated header 2015-02-05 12:11:47 +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
2e2c223afa Updated headers 2015-02-04 16:33:02 +00:00
Henry
d62a13e89e applications/test: Updated to compile with Clang-3.5 2015-02-04 16:32:36 +00:00
Henry
8777c3b308 applications/test/LduMatrix: no longer compiles and needs replacing 2015-02-04 16:31:54 +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