Commit Graph

163 Commits

Author SHA1 Message Date
Henry Weller
3c053c2fe6 GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
These new names are more consistent and logical because:

primitiveField():
primitiveFieldRef():
    Provides low-level access to the Field<Type> (primitive field)
    without dimension or mesh-consistency checking.  This should only be
    used in the low-level functions where dimensional consistency is
    ensured by careful programming and computational efficiency is
    paramount.

internalField():
internalFieldRef():
    Provides access to the DimensionedField<Type, GeoMesh> of values on
    the internal mesh-type for which the GeometricField is defined and
    supports dimension and checking and mesh-consistency checking.
2016-04-30 21:40:09 +01:00
Henry Weller
450728ea84 Standardized cell, patch, face and processor loop index names 2016-04-25 12:00:53 +01:00
Henry Weller
2d5ff31649 boundaryField() -> boundaryFieldRef() 2016-04-24 22:07:37 +01:00
Henry Weller
cb65ba71d7 Made all template declarations consistent using 'class' rather than 'typename' 2016-03-22 15:02:55 +00:00
Henry Weller
99a10ecea6 Boundary conditions: Added extrapolatedCalculatedFvPatchField
To be used instead of zeroGradientFvPatchField for temporary fields for
which zero-gradient extrapolation is use to evaluate the boundary field
but avoiding fields derived from temporary field using field algebra
inheriting the zeroGradient boundary condition by the reuse of the
temporary field storage.

zeroGradientFvPatchField should not be used as the default patch field
for any temporary fields and should be avoided for non-temporary fields
except where it is clearly appropriate;
extrapolatedCalculatedFvPatchField and calculatedFvPatchField are
generally more suitable defaults depending on the manner in which the
boundary values are specified or evaluated.

The entire OpenFOAM-dev code-base has been updated following the above
recommendations.

Henry G. Weller
CFD Direct
2016-02-20 22:44:37 +00:00
Henry Weller
8b9698ad43 processorPolyPatch, processorCyclicPolyPatch: Rationalized the construction of the patch name
This change ensures that these patches are named consistently so that
they can be looked-up as required in e.g. patchMeanVelocityForce
2016-02-02 20:07:16 +00:00
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
Henry Weller
4eba393fe1 Update code to use the simpler C++11 template syntax 2016-01-10 19:20:16 +00:00
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry
0bf2543df6 utilities: Correct "End" statement to be consistent with all other applications 2015-02-12 22:14:02 +00:00
Henry
525a0b3e0f decomposePar: Do not register Lagrangian IOFields as the names may conflict with those of volFields
Required change to IOobjectList to support the optional no-registration specification
2015-02-12 21:59:17 +00:00
Henry
d01afadbc1 Name fields to avoid duplicate registration 2015-02-12 12:33:45 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
andy
9688b6ccdc BUG: decomposePar - updated to handle multiple processor cyclic patches - mantis 879 2014-02-21 16:18:00 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
mattijs
6d5dd7e30d ENH: decomposePar: corrected comment in header 2014-01-28 10:42:46 +00:00
mattijs
6bdc55c825 ENH: decomposePar: decompose sets 2013-11-27 16:04:15 +00:00
mattijs
61966615ee ENH: decomposePar: decompose hexRef8 data (snappyHexMesh) 2013-10-08 14:57:22 +01:00
mattijs
5ac31aabc8 ENH: FieldMapper: extend with unmapped checking flag 2013-09-12 15:37:53 +01:00
mattijs
f9139aa031 ENH: decomposePar: added logic for preserving baffles 2013-08-07 11:03:01 +01:00
mattijs
fd5cebcd47 ENH: decompositionMethod: move constraints into library 2013-08-02 17:41:47 +01:00
mattijs
ba45a48caf ENH: decomposePar: decomposing cellSets, faceSets, pointSets 2013-06-14 12:46:32 +01:00
mattijs
9ffb6c3f99 STYLE: processor*patch: unused argument 2013-05-22 17:26:05 +01:00
mattijs
c4a4611b0f Merge remote-tracking branch 'origin/feature/procAgglom'
Conflicts:
	src/OpenFOAM/meshes/lduMesh/lduMesh.H
2013-05-02 14:44:59 +01:00
mattijs
d7cadf4937 Merge remote-tracking branch 'origin/master' into feature/procAgglom
Conflicts:
	src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/db/IOstreams/Pstreams/combineGatherScatter.C
	src/OpenFOAM/db/IOstreams/Pstreams/gatherScatter.C
	src/OpenFOAM/db/IOstreams/Pstreams/gatherScatterList.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H
	src/finiteVolume/fvMesh/fvMesh.H
2013-04-23 09:41:15 +01:00
andy
34ac08a931 ENH: Code updates following changed to IOobjectList 2013-04-08 15:33:02 +01:00
mattijs
ea8d290191 ENH: communicators: initial version - extended Pstream API 2013-02-04 10:17:37 +00:00
mattijs
b20b5d3706 ENH: decomposePar: corrected dictionaries 2013-01-09 14:52:51 +00:00
Henry
db89978ade Updated headers for Laurence and Andy 2012-12-17 11:42:00 +00:00
laurence
057eff0e59 ENH: update fvMeshDistribute and domainDecomposition to use new
coupledPolyPatch constructor
2012-12-11 17:07:12 +00:00
mattijs
da17674f0f ENH: decomposePar,reconsturctPar: added -allRegions option 2012-09-26 12:08:43 +01:00
mattijs
c1ef233e5d ENH: pointMesh: use MeshObject form 2012-08-31 12:57:17 +01:00
mattijs
1f7d24e617 STYLE: decomposeParDict: added comment 2012-07-10 10:03:15 +01:00
mattijs
96f8104ae5 ENH: decomposePar: cache decomposeers if running with multiple times. 2012-04-16 12:37:01 +01:00
mattijs
25dafe92ea ENH: decomposePar: add -time option. 2012-04-16 11:36:13 +01:00
mattijs
7e95308c6b ENH: decomposePar.C: add shortcircuit to avoid allocating point mappers 2011-12-21 16:16:54 +00:00
mattijs
8558af2cdf COMP: 64bit label changes 2011-11-28 11:10:46 +00:00
mattijs
c1ac184893 ENH: decomposePar: implemented keeping faceSet on single processor 2011-11-09 12:34:03 +00:00
mattijs
ca4b8c347c ENH: polyMesh,meshSearch: default value on findCell, pointInCell 2011-11-08 17:03:54 +00:00
mattijs
ee11f9c0e8 ENH: pointInCell, findCell: switchable in-cell algorithm 2011-10-28 11:33:30 +01:00
mattijs
ba308083ab ENH: chtMultiRegionFoam: solve single h equation 2011-10-04 15:36:52 +01:00
mattijs
906acdcdef Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.C
2011-09-13 10:14:15 +01:00
mattijs
95a2ed3f1f BUG: decomposePar: constrained decomposition - enforce single processor 2011-08-26 12:21:06 +01:00
mattijs
721d2092e8 ENH: decomposePar: add preserve-faceZone-on-single-processor decomposition 2011-08-25 15:14:47 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
mattijs
4f47ff0219 STYLE: dictionaries: update version number 2011-06-10 17:22:56 +01:00
mattijs
cb96a67774 COMP: domainDecomposition: force constructor usage 2011-06-08 14:22:29 +01:00
mattijs
b469d09c3c Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-06-01 18:09:06 +01:00