e8d73e5546
BUG: snappyHexMesh: zoning would set unset regions to back ground region
...
instead of removing them. Now done similar to 23x:
- in 'removing unreachable parts of mesh' keep regions unset (so they get removed)
- in final zoning set to background region
See Gitlab #66 .
2016-05-18 14:14:41 +01:00
158a925235
ENH: Updated xxx::zero->Zero
2016-04-28 14:17:06 +01:00
90ee8d433f
ENH: Integration updates
2016-04-26 14:34:27 +01:00
b9313ef2fe
ENH: Consistency updates after Foundation merge and code tidying
2016-04-25 16:46:56 +01:00
d3157ac905
ENH: snappyHexMesh: Renamed auto* to snappy* to be consistent with latest Foundation changes
2016-04-25 11:52:18 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
8c6fa81eba
vector::zero -> Zero
2016-04-16 18:34:41 +01:00
1e2ddab4e6
BUG: autoHexMesh: filtered patches mess up debug dumping
2016-04-04 14:56:58 +01:00
730f89dc9d
Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required
2016-03-22 17:46:52 +00:00
e57874859a
Updated Doxygen documentation and files
...
Contributed by Bruno Santos
Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023
Update online documentation http://openfoam.github.io/Documentation-dev/html/
2016-03-14 11:00:24 +00:00
2bbc844ea0
Rationalize the autoMesh library: autoHexMesh -> snappyHexMesh
...
autoRefine -> snappyRefine
autoLayer -> snappyLayer
autoSnap -> snappySnap
2016-03-01 16:21:31 +00:00
eb5d349242
Rationalize the autoMesh library: autoMesh -> snappyHexMesh
2016-03-01 16:01:42 +00:00
5db3116a74
src/OpenFOAM: Moved function documentation comments into .H files and removed duplicates
2016-03-01 12:29:01 +00:00
7ba41e0095
Removed duplicate, inconsistent and spurious comments in .C files
2016-02-29 18:33:54 +00:00
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
cd852be3da
OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
...
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file. However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.
Please report any problems on Mantis.
Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
f4ba71ddd0
OpenFOAM libraries: Updated to use the new const-safe tmp
2016-02-26 08:13:59 +00:00
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
350d03246e
scripts: Reformat with consistent section separators
2016-02-15 18:30:24 +00:00
968c888fc4
Rename DataEntry -> Function1
...
Function1 is an abstract base-class of run-time selectable unary
functions which may be composed of other Function1's allowing the user
to specify complex functions of a single scalar variable, e.g. time.
The implementations need not be a simple or continuous functions;
interpolated tables and polynomials are also supported. In fact form of
mapping between a single scalar input and a single primitive type output
is supportable.
The primary application of Function1 is in time-varying boundary
conditions, it also used for other functions of time, e.g. injected mass
is spray simulations but is not limited to functions of time.
2016-02-08 16:18:07 +00:00
472fa0674a
Update headers
2016-02-02 20:09:58 +00:00
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
d7ac243dfc
Merge remote-tracking branch 'origin/develop' into feature-shared-file
2016-01-25 16:36:42 +00:00
9e3ce4ec7f
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
...
Conflicts:
applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
applications/utilities/postProcessing/velocityField/Co/Co.C
applications/utilities/postProcessing/velocityField/Pe/Pe.C
applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
applications/utilities/preProcessing/changeDictionary/changeDictionary.C
applications/utilities/preProcessing/setFields/setFields.C
applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
src/OpenFOAM/db/IOobject/IOobject.C
src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
src/OpenFOAM/db/IOobjects/IOField/IOField.C
src/OpenFOAM/db/IOobjects/IOList/IOList.C
src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
src/OpenFOAM/db/Time/findInstance.C
src/OpenFOAM/db/regIOobject/regIOobject.C
src/OpenFOAM/db/regIOobject/regIOobjectI.H
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
src/lagrangian/basic/Cloud/CloudIO.C
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
e424059208
ENH: glboal file handling: initial commit
...
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
(e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
e00acab949
BUG: autoHexMesh: merging faceZones with layers added
...
- was merging all boundary points originating from the same point
- which caused merging of multiple extruded points (since all originating
from the same point)
- there is no more addressing available from addPatchCell layer so
instead do a geometric merge
- additional bug: calculating weights if faceZone on processor patch
2016-01-25 10:06:16 +00:00
5779e4fd16
Info -> InfoInFunction and updated comments
2016-01-20 16:21:37 +00:00
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
4eba393fe1
Update code to use the simpler C++11 template syntax
2016-01-10 19:20:16 +00:00
d3d6d819bb
BUG: autoHexMesh: gap refinement ignores refinementRegion itself
...
It was ignoring the initial selection of cells inside/outside the refinement
region and instead looking at all surface-intersection regardless. Fixes #51 .
2016-01-06 16:52:34 +00:00
76c0096cb6
STYLE: Updated error messages to use new FatalErrorInFunction
2015-12-22 17:00:59 +00:00
17617d87da
Merge branch 'feature-copyright' into 'develop'
...
ENH: copyright: make consistent with OpenFOAM-history
See merge request !29
2015-12-19 14:25:48 +00:00
8864223aed
ENH: copyright: make consistent with OpenFOAM-history
2015-12-19 14:22:30 +00:00
1beb9b7acb
BUG: autoHexMesh: allocation of zones. Base on cell zoning, not on surface
2015-12-17 12:16:34 +00:00
0347bc5ae2
ENH: autoHexMesh: check for both locationInMesh and locationsInMesh.
2015-12-17 09:35:13 +00:00
4a8abe78f5
Merge branch 'feature_shm_zoning' into develop
...
Conflicts:
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/refinementParameters/refinementParameters.C
src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.H
src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C
2015-12-15 20:10:10 +00:00
97f58f1ea3
ENH: snappyHexMesh: fix behaviour of allowFreeStandingZoneBaffles
...
See comment in $FOAM_UTILITIES snappyHexMeshDict
2015-12-15 17:36:45 +00:00
f44d211fd3
ENH: autoHexMesh: check for both locationInMesh and locationsInMesh.
...
Fixes #31
2015-12-11 12:35:40 +00:00
ff56809375
ENH: autoHexMesh: allow location-in-mesh to be made into a cellZone
...
Normally the location-in-mesh is equivalent to a cellZone -1. This can
now be overridden by a surface-specified cellZone as before.
2015-12-10 11:50:42 +00:00
0ab048e076
COMP: autoHexMesh: fix pow(int, int) ambiguity
2015-12-10 11:25:53 +00:00
8400a1c19f
ENH: Updated notImplemented(...)->NotImplemented messages
2015-12-08 22:56:15 +00:00
fb871828a5
fvPatchFields, fvsPatchFields, pointPatchFields: specifically declare namespace of functions
...
It is better to declare the namespace of each function in the C file
rather than "open" the namespace as this may lead to inconsistencies
between the declaration in the H files and definition in the C file.
2015-12-08 22:29:05 +00:00
af0001531c
ENH: autoHexMesh: rewrite of zone allocation
2015-12-08 18:44:24 +00:00
eafd5a3850
ENH: Updated Info, Warning and Error messages
2015-12-08 11:15:39 +00:00
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
e5993002e9
snappyHexMesh layerParameters: Increased maxIters to 20
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1918
Patch provided by Richard Jones
maxIters could be made an option input if 20 is not sufficient for
difficult cases.
2015-11-26 20:24:26 +00:00
8317038ac9
Merge branch 'feature-sampledSurfaces' into 'develop'
...
Feature sampled surfaces
Bounds handling for sampledSurfaces only (so not for streamlines)
See merge request !13
2015-11-26 12:55:09 +00:00
cee6887d68
ENH: sampledSurfaces: added 'bounds' option
...
- bounds option (see $FOAM_UTILITIES/postProcessing/sampling/sample/sampleDict)
- fixes memory error http://www.openfoam.org/mantisbt/view.php?id=1487
- cleans up iso surface normal orientation
2015-11-26 10:41:34 +00:00
0483f8c445
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
2015-11-24 12:52:17 +00:00
fca33d213e
ENH: bezier: added bezier curves in blockMesh edges
2015-11-24 12:52:01 +00:00