Henry Weller
25e5f67f86
processorFvPatchField: If the value is not supplied set to the internal field
2016-09-25 18:38:06 +01:00
Henry Weller
9d3f407fc7
processorFvPatchField: Reinstate 'value' as an optional entry
2016-09-25 16:54:20 +01:00
Henry Weller
4603a8b253
fvPatchFields: Constructors from dictionary now call the corresponding constructor of the fvPatchField base-class
...
to ensure 'patchType' is set as specified.
Required substantial change to the organization of the reading of the
'value' entry requiring careful testing and there may be some residual
issues remaining. Please report any problems with the reading and
initialization of patch fields.
Resolves bug-report http://bugs.openfoam.org/view.php?id=2266
2016-09-25 09:11:53 +01:00
Henry Weller
8bbb379df0
blockMesh: Added support for (<block> <face>) specification of patch faces
...
e.g. for the cavity tutorial the moving wall patch can be specified in
terms of the block vertices as before:
boundary
(
movingWall
{
type wall;
faces
(
(3 7 6 2)
);
}
.
.
.
or the new specification of the face as block 0, block face 3:
boundary
(
movingWall
{
type wall;
faces
(
(0 3)
);
}
2016-09-24 08:40:13 +01:00
Henry Weller
c169ca14f5
Updated template formatting
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2264
2016-09-22 21:03:30 +01:00
Henry Weller
7a52d2a5b1
globalMeshData: Revert NULL -> nullptr
2016-09-22 14:22:26 +01:00
Henry Weller
521d7a4aec
globalIndexAndTransform: Support any number of transforms but no more than 3 per point
...
Patch contributed by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=1815
2016-09-22 14:10:45 +01:00
Henry Weller
a27eb13ad6
decomposePar: Corrected construction of cloud for processors
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2239
2016-09-21 17:19:58 +01:00
Henry Weller
ee3cf86008
linearUpwind: Simplified the vector specialization
2016-09-21 11:09:59 +01:00
Henry Weller
4fbdef6444
linearUpwind: Specialize for volVectorField to support cached gradients
2016-09-21 09:50:49 +01:00
Henry Weller
450779d29a
linearUpwind: Evaluate the gradient of each component of the field to provide support all field types
...
Also reduces peak-storage as it now generates a volVectorField for each component
rather than the gradient of the field type.
2016-09-20 21:34:47 +01:00
Henry Weller
2fd4b6bce4
turbulentTransportModels: Add new Maxwell model
2016-09-20 21:11:41 +01:00
Chris Greenshields
3264ba7ad5
Maxwell model for viscoelasticity using the upper-convected time
...
derivative of the stress tensor. See
http://en.wikipedia.org/wiki/Upper-convected_Maxwell_model
The model includes an additional viscosity (nu) from the transport
model from which it is instantiated, which makes it equivalent to the
Oldroyd-B model for the case of an incompressible transport model.
See https://en.wikipedia.org/wiki/Oldroyd-B_model
2016-09-20 18:38:15 +01:00
Henry Weller
855f424635
TurbulenceModels: Created a general base-class and selection mechanism for laminar stress models
...
Renamed the original 'laminar' model to 'Stokes' to indicate it is a
linear stress model supporting both Newtonian and non-Newtonian
viscosity.
This general framework will support linear, non-linear, visco-elastic
etc. laminar transport models.
For backward compatibility the 'Stokes' laminar stress model can be
selected either the original 'laminar' 'simulationType'
specification in turbulenceProperties:
simulationType laminar;
or using the new more general 'laminarModel' specification:
simulationType laminar;
laminar
{
laminarModel Stokes;
}
which allows other laminar stress models to be selected.
2016-09-20 15:05:43 +01:00
Henry Weller
87c78ca1ef
blockMesh: Added block face orientation checks to aid debugging
...
Individual inward-pointing faces are checked and if all faces are
inward-pointing the block is inside-out. These errors are fatal and the
message indicates which block the error occurs in and where in the
blockMeshDict the block is defined.
2016-09-19 07:52:42 +01:00
Henry Weller
78e7952bfc
PatchToPatchInterpolate: Update to use the tmp ref() non-const access function
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2248
2016-09-16 14:49:50 +01:00
Henry Weller
b4bf4be700
GAMGAgglomeration: corrected continueAgglomerating
...
Patch provided by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2226
2016-09-16 11:10:03 +01:00
Henry Weller
47811eae8e
rigidBodyMotion: Change the transform averaging to use approximate inverse-distance weighting
...
Now works correctly for an arbitrary number of bodies
Resolves bug-report http://bugs.openfoam.org/view.php?id=2211
2016-09-14 14:14:14 +01:00
Henry Weller
2c90bd2ee6
rigidBodyMeshMotionSolver: experimental nDoF mesh-motion solver supporting the displacement-based elliptic solvers
...
Specification for the tutorials/multiphase/interDyMFoam/ras/floatingObject case:
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("librigidBodyMeshMotion.so" "libfvMotionSolvers.so");
solver rigidBodyMotionSolver;
rigidBodyMotionSolverCoeffs
{
report on;
meshSolver
{
solver displacementLaplacian;
displacementLaplacianCoeffs
{
diffusivity inverseDistance (floatingObject);
}
}
.
.
.
2016-09-14 09:59:02 +01:00
Henry Weller
a28370dda1
MGridGenGAMGAgglomeration: Update call to continueAgglomerating
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2244
2016-09-14 09:41:03 +01:00
Henry Weller
a7210ecb1a
GAMGSolverSolve: Replace PBiCG with PBiCGStab to solve the coarsest-level of asymmetric matrices
2016-09-10 16:44:01 +01:00
Henry Weller
017281a116
combustionModels/FSD: Corrected
...
Renamed 'omega' to 'FSDomega' to avoid a clash with the k-omega
turbulence models.
Resolves bug-report http://bugs.openfoam.org/view.php?id=2237
2016-09-09 16:23:28 +01:00
Henry Weller
7531b2a4be
renumberMethods: Added missing .C file for structuredRenumber
2016-09-09 14:54:12 +01:00
Henry Weller
52323f8dd1
codedFvOption: Added cellSet support
...
Patch provided by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2240
2016-09-09 12:29:06 +01:00
Henry Weller
648c777dd0
structuredRenumber: Corrected to run in parallel
...
Patch contributed by Mattijs Janssens
2016-09-09 12:20:25 +01:00
Henry Weller
758d76c795
functionObjectList::readFunctionObject: Added support for region specification
...
Now the postProcess utility '-region' option works correctly, e.g. for
the chtMultiRegionSimpleFoam/heatExchanger case
postProcess -region air -func "mag(U)"
calculates 'mag(U)' for all the time steps in region 'air'.
2016-09-09 11:01:37 +01:00
Henry Weller
faa6d0e4da
GAMGAgglomeration: Add support for nCellsInCoarsestLevel = 1 and better agglomeration termination
...
Patch provided by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2226
2016-09-06 13:29:05 +01:00
Henry Weller
4232f90093
algebraicPairGAMGAgglomeration: agglomerate based on the maximum of the upper and lower coefficients
...
Patch provided by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2234
2016-09-06 12:56:54 +01:00
Henry Weller
cec98b2985
Solvers: Corrected typo
2016-09-05 11:58:41 +01:00
Henry Weller
bebab24133
Updated header
2016-09-05 11:57:41 +01:00
Henry Weller
c339d3018c
PBiCGStab: New preconditioned bi-conjugate gradient stabilized solver for asymmetric lduMatrices
...
using a run-time selectable preconditioner
References:
Van der Vorst, H. A. (1992).
Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG
for the solution of nonsymmetric linear systems.
SIAM Journal on scientific and Statistical Computing, 13(2), 631-644.
Barrett, R., Berry, M. W., Chan, T. F., Demmel, J., Donato, J.,
Dongarra, J., Eijkhout, V., Pozo, R., Romine, C. & Van der Vorst, H.
(1994).
Templates for the solution of linear systems:
building blocks for iterative methods
(Vol. 43). Siam.
See also: https://en.wikipedia.org/wiki/Biconjugate_gradient_stabilized_method
Tests have shown that PBiCGStab with the DILU preconditioner is more
robust, reliable and shows faster convergence (~2x) than PBiCG with
DILU, in particular in parallel where PBiCG occasionally diverges.
This remarkable improvement over PBiCG prompted the update of all
tutorial cases currently using PBiCG to use PBiCGStab instead. If any
issues arise with this update please report on Mantis: http://bugs.openfoam.org
2016-09-05 11:46:42 +01:00
Henry Weller
fec5c063f5
polyMesh: clear cellTree if mesh moves
...
Patch contributed by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2235
2016-09-04 21:16:55 +01:00
Henry Weller
77152f3f10
polyBoundaryMesh: Remove patchGroups which clash with patch names
...
This allows freedom in the naming of patches when patchGroup-based
boundary specification is not used.
Patch contributed by Mattijs Janssens
2016-09-04 10:35:19 +01:00
Henry Weller
dbe30eaef7
decomposePar: corrected decomposeParDict read using -region option
...
Patch contributed by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2227
2016-09-03 20:54:16 +01:00
Henry Weller
5507dd7868
EulerCoordinateRotation,STARCDCoordinateRotation: Corrected typo
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2225
2016-09-03 16:46:01 +01:00
Henry Weller
582f59c4cb
Revert "polyBoundaryMesh::groupPatchIDs(): Make name clash between patch and group name fatal"
...
This reverts commit 12ee017901 .
2016-08-26 11:44:56 +01:00
Henry Weller
12ee017901
polyBoundaryMesh::groupPatchIDs(): Make name clash between patch and group name fatal
...
If this clash is allowed boundary conditions set by wildcards are
processed incorrectly.
2016-08-25 16:42:08 +01:00
Henry Weller
71a646e63c
src/Pstream: Added Allwclean consistent with the Allwmake
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2218
2016-08-25 08:25:12 +01:00
Henry Weller
b37269d481
functionObjects: Improved handling of multi-file indexing and code style
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2216
2016-08-24 19:34:00 +01:00
Henry Weller
f64624924e
forceCoeffs: Removed duplicate header writing
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2216
2016-08-24 16:01:29 +01:00
Henry Weller
73eee8e542
functionObjects::forces: Corrected file names when using the 'binData' option
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2214
2016-08-24 11:24:27 +01:00
Henry Weller
8396a0faf2
functionObjects::volRegion: Cache integral properties for writeFileHeader
2016-08-24 09:32:34 +01:00
Henry Weller
68f57d3126
lagrangian::Analytical: improved analytical integration for the U-equation
...
Patch contributed by Timo Niemi
In response to bug-report http://bugs.openfoam.org/view.php?id=2199
2016-08-23 22:03:24 +01:00
Henry Weller
9354748814
src/parallel/decompose: Remove dependency on "SCOTCH_ROOT" and repair "decompose/Allwclean"
...
Patch contributed by Bruno Santos
Resolves patch request http://bugs.openfoam.org/view.php?id=2212
2016-08-23 21:53:35 +01:00
Henry Weller
b74d95b2a9
Corrected documentation in classes derived from temperatureCoupleBase
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2207
2016-08-22 14:31:40 +01:00
Henry Weller
d245a7e485
septernion: Correct quaternion normalization after averaging
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2203
2016-08-19 20:32:30 +01:00
Henry Weller
3744137dc5
/primitives/triad: Initialize array to avoid warning from icpc
2016-08-18 11:22:15 +01:00
Henry Weller
98ba05e02e
ODESolvers::adaptiveSolver: Changed functions which need not be to non-virtual
...
Resolves warnings from clang
2016-08-18 10:36:52 +01:00
Henry Weller
e8675e7088
functionObjects::writeObjects: Corrected namespace for the definition of the NamedEnum
...
Resolves compilation failure with clang
2016-08-18 10:36:04 +01:00
Henry Weller
7a674dbc07
epsilonWallFunction, omegaWallFunction: Removed unused variabl
2016-08-18 08:23:54 +01:00