Henry Weller
9d3f407fc7
processorFvPatchField: Reinstate 'value' as an optional entry
2016-09-25 16:54:20 +01:00
Henry Weller
c6b3632c85
tutorials/incompressible/shallowWaterFoam/squareBump/.gmtcommands4: deleted
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2268
2016-09-25 16:53:37 +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
0e429dad08
wmake: export WM_SCHEDULER from sub-shell for non-POSIX bash compliance
2016-09-22 08:34:15 +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
Henry Weller
10fb32db8d
tutorials: Renamed sub-directories ras -> RAS and les -> LES
2016-09-20 19:03:40 +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
Chris Greenshields
f6fa3d5cc6
Organisation of pimpleFoam tutorials into categories of turbulence modelling
2016-09-20 18:24:09 +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
eb8d593df2
foamList: Added missing -I$(LIB_SRC)/meshTools/lnInclude needed for recent changes to AMI
2016-09-20 14:51:13 +01:00
Henry Weller
5df2c040fa
reactingParcelFilmFoam: Corrected support for -postProcess option
2016-09-20 14:50:41 +01:00
Henry Weller
b07a783fdd
solvers: Moved createRDeltaT.H into createFields.H so that it is available with the -postProcess option
...
Required to support LTS with the -postProcess option with sub-models dependent on ddt
terms during construction, in particular reactingTwoPhaseEulerFoam.
2016-09-19 22:08:39 +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
fba2c4f29b
mapFields: reset the FOAM_CASE environment variable
...
Patch proveded by Alexey Matveichev
Resolves bug-report http://bugs.openfoam.org/view.php?id=2229
2016-09-17 14:53:15 +01:00
Henry Weller
a6ee4f5af3
setInitialMultiRegionDeltaT: update to be consistent with the standard setInitialDeltaT
...
Resolves bug-report http://bugs.openfoam.org/bug_change_status_page.php
2016-09-16 17:39:50 +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
3033d4677b
Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev
2016-09-09 21:49:06 +01:00
Henry Weller
9a13c991cc
reactingEulerFoam/interfacialModels/dragModels: Corrected file permissions
2016-09-09 21:48:29 +01:00
Chris Greenshields
ed068e4c20
foamEtcFile: replaced redundant package directory name
2016-09-09 20:00:26 +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
ca4accb420
wmake: Updated '-q' option to work on Ubuntu and other 'dash'-based GNU/Linux distributions
2016-09-09 14:53:10 +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
7b971a9ebf
tutorials/multiphase/interFoam/ras/weirOverflow: Updated to improve robustness
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2236
2016-09-07 14:05: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
630d2c76dc
etc/config.sh/settings: Updated set of WM_CC, WM_CXX etc. variables to compile ThirdParty software
...
Patch provided by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2051
2016-09-05 20:48:50 +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
3eacfb7621
PV*Readers/Allwmake: set CXX and CC if required
...
Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2233
2016-09-04 21:05:20 +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
a7df748094
tutorials/multiphase/interDyMFoam/ras/DTCHull: Corrected specification of restraints
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2224
2016-09-03 21:14:17 +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