Commit Graph

1674 Commits

Author SHA1 Message Date
4192e0bce4 tutorials/incompressible/simpleFoam/pitzDaily/0/omega: Correct value to be consistent with epsilon
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1720
2015-05-29 21:26:49 +01:00
8b7e02167f MRFZone: rationalize to allow support for general frame acceleration 2015-05-29 15:31:53 +01:00
1b6f46fae0 simpleFoam/SRFSimpleFoam: Added support for SIMPLEC
SIMPLEC (SIMPLE-consistent) is selected by setting "consistent" option true/yes:

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    consistent yes;
}

which relaxes the pressure in a "consistent" manner and additional
relaxation of the pressure is not generally necessary.  In addition
convergence of the p-U system is better and reliable with less
aggressive relaxation of the momentum equation, e.g. for the motorbike
tutorial:

relaxationFactors
{
    equations
    {
        U               0.9;
        k               0.7;
        omega           0.7;
    }
}

The cost per iteration is marginally higher but the convergence rate is
better so the number of iterations can be reduced.

The SIMPLEC algorithm also provides benefit for cases with large
body-forces, e.g. SRF, see tutorials/incompressible/SRFSimpleFoam/mixer
and feature request http://www.openfoam.org/mantisbt/view.php?id=1714
2015-05-29 11:30:40 +01:00
80f923d0f1 fvPatchFields: Support explicitly named U, phi and rho in all BCs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1717
2015-05-28 20:42:47 +01:00
a1fec8bacd tutorials/lagrangian/MPPICFoam: Remove spurious phi specifications in p BCs 2015-05-28 17:09:55 +01:00
e8c7aac911 DPMFoam, MPPICFoam: Corrected contiuousPhaseName -> continuousPhaseName
Resolves second part of http://www.openfoam.org/mantisbt/view.php?id=1717
2015-05-28 17:01:18 +01:00
c54cc16017 cyclicAMIPolyPatch: Correct report of sweep angle
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1716
2015-05-28 16:29:06 +01:00
59134ff9f8 viewFactorsGen: Correct container resizing
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1712
2015-05-28 16:13:29 +01:00
7a4b3ce655 tabulatedAccelerationSource: New fvOption to support 6-DoF solid-body motion
Example usage:

SBM
{
    type            tabulatedAccelerationSource;
    active          true;
    selectionMode   all;

    tabulatedAccelerationSourceCoeffs
    {
        timeDataFileName "constant/acceleration.dat";
    }
}

Where the file constant/acceleration.dat contains a list of tuples
containing time and a vector of the linear acceleration, angular
velocity and angular acceleration e.g.

100
(
(0 ((0 0 0) (0 0 0) (0 0 0)))
(0.001 ((-0.0001 0 4e-05) (5e-5 -0.0002 -3e-8) (0.24 -0.8 -1e-4)))
.
.
.
)
2015-05-28 15:25:22 +01:00
71c6af8fe9 mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar
This required the addition of the meshToMesh class in the sampling
library from OpenFOAM-2.2.x which is now named meshToMesh0.
2015-05-26 11:32:46 +01:00
526d7efeb0 Updated header 2015-05-26 11:32:04 +01:00
a917fbdf53 Corrected comment 2015-05-26 11:31:54 +01:00
95bc70a9f8 externalWallHeatFluxTemperature: Added support for relaxing the radiative contribution
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1704
2015-05-25 21:46:48 +01:00
9c08ae6fac MRFZone: Synchronize the faceType across processor patches
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1685
2015-05-25 11:33:11 +01:00
d667eec0e0 tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/0/N2: Correct name
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1706
2015-05-25 10:39:50 +01:00
b1cfbcf4c8 radiationModels/derivedFvPatchFields: Corrected documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1687
2015-05-24 19:02:41 +01:00
f60808b4b8 streamFunction: Evaluate which coordinate plan the 2D geometry is in filter-out the normal component
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1703
2015-05-22 22:38:39 +01:00
e02530a0ac src/parallel/decompose/Allwmake: remove redundant -lscotch condition 2015-05-21 17:58:43 +01:00
fee9b188f6 cyclicAMIPolyPatch: Correct particle transformations across cyclic AMI patches
Patch provided by Daniel Jasiński
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1694
2015-05-20 12:44:31 +01:00
54af0e3359 Time: Correct precision adjustment for user-time 2015-05-20 12:43:54 +01:00
31fbd774b7 Updated kivaTest to run without restart at CA = -15 degs
using coded function object to change time step at CA = -15 degs
Also updated incorrect scheme keywords in fvSchemes
2015-05-20 08:28:03 +01:00
f6be0d888e windAroundBuildings: example case of wind flow around buildings 2015-05-19 17:12:33 +01:00
78d98ca482 Modified waterChannel tutorial to make case better posed
Existing case did not properly converge and suffered slow convergence
with the water level failing to reach an equilibrium.  A slight rise in
the channel appears to help the water level reach an equlibrium when the flow
rate over the rise matches the inlet flow rate.
2015-05-19 15:01:10 +01:00
997b3e7e2c ODESolver: Add more diagnostics when the max number of iterations is reached 2015-05-19 14:35:15 +01:00
4c256a3a5d ptscotchDecomp: link scotch library to resolve undefined symbol 2015-05-19 14:34:49 +01:00
658af8b5b2 driftFluxFoam/relativeVelocityModels/Make/options: add newline 2015-05-19 14:34:37 +01:00
218dafd76b printStack: rewritten to utilize dladdr for resolution of the stack addresses
Patch provided by Alexey Matveichev
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1676
2015-05-19 08:41:59 +01:00
8b9a57af74 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-18 22:36:17 +01:00
6281619fb9 Upgraded gcc from 5.0.0 to 5.1.0 2015-05-18 22:35:48 +01:00
f3767b6e45 Upgraded gcc from 5.0.0 to 5.1.0 2015-05-18 22:35:20 +01:00
38415f8839 Upgraded scotch to 6.0.3 (6.0.4 failed to compile) 2015-05-18 22:34:39 +01:00
b69a283081 Upgraded CGAL to 4.6 2015-05-18 22:34:23 +01:00
1cb715186d Template case files to help general setup of OpenFOAM cases
The templates include a stategy to simplify meshing with snappyHexMesh,
particularly to help generate an initial mesh quickly that can subsequently be
improved.  The templates are setup to enable rapid initial simulations, typically
with simpleFoam.  The initial templates cover simple inflow-outflow and closed
domains, including rotating geometry, and an example axisymmetric flow.  For
more details, consult the README file accompanying each template case.
The cases are located in $FOAM_ETC/templates
2015-05-18 18:34:09 +01:00
95ae555848 thermalBaffle1DFvPatchScalarField: Correct handling of relaxation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1696
2015-05-18 16:32:43 +01:00
176441090c foamyQuadMesh/square: Updated extrude2DMeshDict 2015-05-18 13:58:33 +01:00
5ecb900eb4 Default expansionRatio to 1 for mesh extrusion 2015-05-18 13:18:03 +01:00
8824f2e310 Update headers 2015-05-18 12:10:10 +01:00
d9090fcf42 messageStream: Remove confusing argument-based conditional output
This had been used in functionObjects:

    Info(log)<< "messages" << data << ....

in which it is not at all clear what the "log" argument does whereas

    if (log) Info<< "messages" << data << ....

is totally clear and more efficient.
2015-05-18 11:54:56 +01:00
f6c679f79b Upgrade Clang -> 3.6.0 2015-05-18 11:54:15 +01:00
11a0aa03ba extrudeMesh: Add wedge patches after edge collapse 2015-05-18 11:54:03 +01:00
4aed56e67d makeSolidChemistryModel: Separate solid-only and solid-gas instantiation macros
Avoids duplicate typedefs.
Thanks to Bruno Santo for patch
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1694
2015-05-17 22:04:36 +01:00
e54868da7e Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-17 18:30:45 +01:00
25c09da260 etc/config/settings: Set WM_ARCH_OPTION=32 on 32bit OSs 2015-05-17 18:30:11 +01:00
e60cdeb72f Configuration settings of some dictionaries, e.g. snappyHexMeshDict
for more convenient case setup
2015-05-17 18:30:11 +01:00
cacf165afc Packaged function objects to plug into OpenFOAM cases
See $FOAM_ETC/caseDicts/postProcessing/README for details
2015-05-17 18:22:27 +01:00
7018a6a5e0 Function object that writes out the initial residual for specified fields
For vector/tensor fields, e.g. U, the largest residual of all components is written out
2015-05-17 16:48:55 +01:00
869bf2216b faceSource: Corrected handling of totalArea in parallel
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1693
2015-05-17 14:57:33 +01:00
262ad3f005 functionObjects: Upgrade to use new turbulence modeling library 2015-05-17 14:56:40 +01:00
48a2213965 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-16 15:34:47 +01:00
372dc26c8d int32: Add IO operators for long on 32bit OS
On 32bit OSs long is not unambiguously int32_t (or int64_t) causing
problems for IO operator resolution.  This problem is avoided by
explicitly defining the following operators:
2015-05-16 15:29:34 +01:00