Commit Graph

542 Commits

Author SHA1 Message Date
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
1976c0f298 Upgrade OpenMPI to 1.8.5 to resolve issue compiling 32bit on 64bit machine 2015-05-16 15:28:26 +01:00
a95250995a Script to monitor data with Gnuplot from time-value(s) graphs
e.g. data files written by functionObjects
Attempts to interpret automatically the format of time-data files
Works successfully with majority of time-data output, e.g. forceCoeffs,
but will be unsuccesful on files with inconsistent output format
2015-05-15 11:30:24 +01:00
457288b585 Script to help load VTK images into ParaView as a sequence for animation
Creates symbolic links to all VTK files in a post-processing directory
Links form a sequence like name.0000.vtk, name.0001.vtk, etc.
Paraview recognises link names as a sequence which can be animated.
The sequence of links can be used to create a video from the images.
2015-05-15 11:22:12 +01:00
29394db3d3 Script to create an MPEG-4 (.mp4) video from PNG-format images 2015-05-15 11:13:25 +01:00
966c1590b2 Script to clone an OpenFOAM case including system, constant and one time directory.
Time directory is first time directory (0) by default
Alternatively the user can specify the latest time directory
Requires the latest (2.3.x) foamListTimes utility
2015-05-15 10:05:45 +01:00
7b2451f925 ReversibleReaction: Protect against /0 2015-05-14 18:51:26 +01:00
4c51cba64a externalWallHeatFluxTemperature: Correct docs
Resolved part of bug-report http://www.openfoam.org/mantisbt/view.php?id=1690
2015-05-14 18:50:47 +01:00
18705e2a77 chemistryModel: Improve efficiency of reversible reaction-rate evaluation 2015-05-14 18:49:18 +01:00
a25b0978a6 printStack, ptscotchDecomp: Correct integer type used to hold memory addresses 2015-05-14 18:48:35 +01:00
30a1b7e56f Startup scripts: Add documentation for WM_ARCH_OPTION 2015-05-14 18:47:48 +01:00
aec185cbdc Update header 2015-05-14 12:13:22 +01:00
5d5d41e940 bin/tools/RunFunctions: handle tabs and spaces
when retrieving entries from dictionaries

Patch supplied by Timm Severin
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1689
2015-05-14 12:11:44 +01:00
b6ebf4bdaa Update header 2015-05-10 12:33:33 +01:00
5acc3dbdd5 chemistryModel: Added optional Treact to reduce the time of chemistry evaluation
Treact: Temperature below which the reaction rates are assumed 0
2015-05-10 12:31:17 +01:00
ca07af4e64 twoPhaseEulerFoam fluidisedBed tutorials: increase residualAlpha for phase heat transfer
to improve stability of the thermal system
2015-05-09 23:46:28 +01:00
bfb726aba3 twoPhaseEulerFoam: rationalize handling of fixed-flux BC update 2015-05-09 23:45:15 +01:00
227f3a33f5 foamListTimes: Added '-rm' option to remove the selected time directories
If -rm is specified with the -processor option the selected time
directories are removed from all the processor directories.
2015-05-08 22:47:31 +01:00
c9d9ba0b6c surfaceFilmModels: Replaced removeInjection with patchInjection
patchInjection accumulates mass exchanges on a per-patch basis which are
reported by injectionModelList
2015-05-08 16:40:03 +01:00
5c2fa016e4 Update header 2015-05-08 10:10:47 +01:00
cd245e9a3f twoPhaseEulerFoam: Update only the fixed-value phi patch fields before constructing the pressure eqn
Avoids small continuity error in parallel
2015-05-08 09:51:36 +01:00
e1d88f18bd Update header 2015-05-05 15:46:52 +01:00
08cc46689b Correct comment 2015-05-05 15:46:38 +01:00
8dee55bc99 fieldMinMax: add optional switch to control the output of max/min location
and simplify output format for graphing

With "location yes;"

log:
    fieldMinMax fieldMinMax output:
        min/max(mag(U.air)) = 0 28.309442
        min/max(mag(U.water)) = 0 27.221734

file:
    # Field minima and maxima
    # Time          min(U.air)      max(U.air)      min(U.water)    max(U.water)
    4.00061050e-01  0.00000000e+00  2.87015987e+01  0.00000000e+00  2.71025731e+01
    4.00134265e-01  0.00000000e+00  2.86505310e+01  0.00000000e+00  2.71134246e+01
    4.00222098e-01  0.00000000e+00  2.85937449e+01  0.00000000e+00  2.71255302e+01

With "location no;"

log:
    fieldMinMax fieldMinMax output:
        min(mag(U.air)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
        max(mag(U.air)) = 28.701599 at location (-0.24002836 0.0053456235 3.8964638)
        min(mag(U.water)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
        max(mag(U.water)) = 27.102573 at location (-0.24002836 0.0053456235 3.8964638)

file:
    # Field minima and maxima
    # Time          field           min             location(min)   max             location(max)
    4.00061050e-01  U.air           0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.87015987e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
    4.00061050e-01  U.water         0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.71025731e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
2015-05-05 15:41:32 +01:00
05cd20d826 probes: Improved formatting of header to make it easier to parse and read probe locations
New layout:

    # Probe 0 (0.0254 0.0253 0)
    # Probe 1 (0.0508 0.0253 0)
    # Probe 2 (0.0762 0.0253 0)
    #       Probe             0             1             2
    #        Time
            1e-05        142974        128861        115934
            2e-05      -69444.1        -62541      -56395.7
            3e-05      -1546.81      -1445.94      -1154.79
2015-05-05 12:26:28 +01:00
57b25f22b3 planeExtrusion.[HC]: Renamed from plane.[HC] to avoid name clash 2015-05-04 21:16:44 +01:00
c28730251c extrudeMesh: Add sector extrusion type and specialize wedge and plane
to create single layer extrusions with wedge and empty front and back
patches respectively.
2015-05-04 20:54:39 +01:00
1211b2ecd4 refineMesh: Improved command-line argument handling to be more consistent with other OpenFOAM utilities
Command-line option handling:
    + If -all specified or no refineMeshDict exists or, refine all cells
    + If -dict <file> specified refine according to <file>
    + If refineMeshDict exists refine according to refineMeshDict

    When the refinement or all cells is selected apply 3D refinement for 3D
    cases and 2D refinement for 2D cases.
2015-05-04 16:38:03 +01:00
14fe8ad7e2 polyTopoChange: Corrected layout for Doxygen 2015-05-04 16:37:20 +01:00
26aeb7ec89 Minor cleanup 2015-05-03 18:11:53 +01:00
767e1a4e69 GAMG solver: Set the following defaults:
cacheAgglomeration true;
    agglomerator    faceAreaPair;
    nCellsInCoarsestLevel 10;
    mergeLevels     1;
2015-05-03 18:11:25 +01:00
b06c078607 sampledSets, sampledSurfaces: Provide warning message if field cannot be found
Generate fatal error if iso-surface field cannot be found
2015-05-03 16:52:37 +01:00
e558e900ef pimpleControl: Support field relaxation when the number of PIMPLE iterations = 1
This allows PIMPLE solvers to operate in SIMPLE mode
2015-05-03 11:50:05 +01:00