Commit Graph

16805 Commits

Author SHA1 Message Date
Henry
776e82f34b 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
Henry
cfe1163dc8 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
Henry
1c2b2f2fa9 Updated header 2015-05-26 11:32:04 +01:00
Henry
7b7682513b Corrected comment 2015-05-26 11:31:54 +01:00
Henry
010ab8ad97 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
Henry
766383bb90 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
Henry
d36657a9f1 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
Henry
03b11e37ad radiationModels/derivedFvPatchFields: Corrected documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1687
2015-05-24 19:02:41 +01:00
Henry
605b3ff820 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
Henry
37eb604536 src/parallel/decompose/Allwmake: remove redundant -lscotch condition 2015-05-21 17:58:43 +01:00
Henry
a3232e5de7 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
Henry
36ca836f28 Time: Correct precision adjustment for user-time 2015-05-20 12:43:54 +01:00
Chris Greenshields
295a357a02 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
Chris Greenshields
a28ac315ff windAroundBuildings: example case of wind flow around buildings 2015-05-19 17:12:33 +01:00
Chris Greenshields
5577458f28 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
Henry
9f3b170085 ODESolver: Add more diagnostics when the max number of iterations is reached 2015-05-19 14:35:15 +01:00
Henry
549e419a23 ptscotchDecomp: link scotch library to resolve undefined symbol 2015-05-19 14:34:49 +01:00
Henry
7ddeaa3777 driftFluxFoam/relativeVelocityModels/Make/options: add newline 2015-05-19 14:34:37 +01:00
Henry
5892c58b04 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
Henry
cd67567508 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-18 22:36:17 +01:00
Henry
80f1c7e497 Upgraded gcc from 5.0.0 to 5.1.0 2015-05-18 22:35:48 +01:00
Henry
ee2b4c30bb Upgraded gcc from 5.0.0 to 5.1.0 2015-05-18 22:35:20 +01:00
Henry
c06f127703 Upgraded scotch to 6.0.3 (6.0.4 failed to compile) 2015-05-18 22:34:39 +01:00
Henry
fed394d799 Upgraded CGAL to 4.6 2015-05-18 22:34:23 +01:00
Chris Greenshields
6f82273f8c 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:01 +01:00
Henry
93b3113b04 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
Henry
d93063e238 foamyQuadMesh/square: Updated extrude2DMeshDict 2015-05-18 13:58:33 +01:00
Chris Greenshields
83f36adb8e Default expansionRatio to 1 for mesh extrusion 2015-05-18 13:18:03 +01:00
Henry
afe7e3eee9 Update headers 2015-05-18 12:10:10 +01:00
Henry
dd04dd9c2c 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
Henry
0beb7e7b56 Upgrade Clang -> 3.6.0 2015-05-18 11:54:15 +01:00
Henry
9f89faaa69 extrudeMesh: Add wedge patches after edge collapse 2015-05-18 11:54:03 +01:00
Henry
850ad0913c 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
Henry
438312ea26 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-17 18:30:45 +01:00
Henry
e9e1bfb5f7 etc/config/settings: Set WM_ARCH_OPTION=32 on 32bit OSs 2015-05-17 18:30:11 +01:00
Chris Greenshields
6b8b938c79 Configuration settings of some dictionaries, e.g. snappyHexMeshDict
for more convenient case setup
2015-05-17 18:30:11 +01:00
Chris Greenshields
7283ecbd2a Packaged function objects to plug into OpenFOAM cases
See $FOAM_ETC/caseDicts/postProcessing/README for details
2015-05-17 18:22:13 +01:00
Chris Greenshields
46a4446587 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
Henry
7edfb4d08d 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
Henry
b5d3f85bd4 functionObjects: Upgrade to use new turbulence modeling library 2015-05-17 14:56:40 +01:00
Henry
03264802a3 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-05-16 15:34:47 +01:00
Henry
84486a4234 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
Henry
6ef4cd1873 Upgrade OpenMPI to 1.8.5 to resolve issue compiling 32bit on 64bit machine 2015-05-16 15:28:26 +01:00
Chris Greenshields
0723207431 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
Chris Greenshields
03b6f9e379 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
Chris Greenshields
41818290b4 Script to create an MPEG-4 (.mp4) video from PNG-format images 2015-05-15 11:13:25 +01:00
Chris Greenshields
cca5fe4e0f 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
Henry
8a00315137 ReversibleReaction: Protect against /0 2015-05-14 18:51:26 +01:00
Henry
78a9d61418 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
Henry
b41be21430 chemistryModel: Improve efficiency of reversible reaction-rate evaluation 2015-05-14 18:49:18 +01:00