c0f44ac4f3
MRG: Integrated foundation code
2016-12-12 12:10:29 +00:00
f281f77e4a
Updated member type comments
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2356
2016-11-28 21:23:00 +00:00
9aa9d1d1b4
ENH: improve interoperability of triSurface with other surface mesh classes
...
- make it easier to transfer triSurface information into MeshedSurface
etc.
2016-11-24 18:28:57 +01:00
52b6c49b4f
ENH: provide xfer methods for the meshed surface components.
...
- the surfMesh classes where originally designed with limited
(protected) access to the underlying components. This is to
avoid unintentional direct changes, since these can quickly
lead to inconsistencies with the topology addressing etc.
However, if we wish to efficiently adjust surfaces, it is useful
to modify the components directly.
The compromise is to provide 'xfer' methods:
- xferFaces()
- xferPoints()
- xferZones()
These transfer the contents to an Xfer container for reuse, while
also resetting the topology addressing. To apply the changes,
the reset() method is used.
2016-11-12 23:42:17 +01:00
79530dc8e3
surfacePatch.C: Corrected formatting
2016-08-17 08:08:21 +01:00
b012e1c738
STYLE: relocate labelledTri into OpenFOAM/meshes/meshShapes (issue #294 )
...
- was originally in triSurface, but is used in multiple other places
2016-08-11 20:00:09 +02:00
c7a291aca8
STYLE: relocate faceTriangulation, labelPairLookup into meshTools (issue #294 )
...
- were in triSurface, but only actually used within meshTools
2016-08-11 19:38:29 +02:00
f81c7a036c
DEFEATURE: remove unused surfacePatchIOList class (issue #294 )
2016-08-11 21:22:21 +02:00
4dda4ad197
DEFEATURE: remove unused meshTriangulation class (issue #294 )
2016-08-11 19:35:22 +02:00
5707b20e50
DEFEATURE: remove unused hashSignedLabel, sortLabelledTri classes (issue #294 )
2016-08-11 17:55:40 +02:00
c09c8e36c7
BUG: unallocated list in triSurface vtk reader (issue #297 )
...
- Condition is there to catch cases where the vtkSurfaceFormat returns
no zones (which should never be the case), but assigns a fallback
value without first resizing.
2016-11-13 12:33:47 +01:00
3dffee8a6a
STYLE: change MeshedSurface 'faces' access to 'surfFaces' (related to issue #104 )
...
- use surfFaces() to return the templated list of faces.
This frees up the method 'faces()' to be used as a virtual method,
which will be needed at a later stage.
2016-08-10 10:03:51 +02:00
fb9f93dd7c
ENH: propogate face area support into surface-type meshes (issue #266 )
...
* MeshedSurface / surfMesh / triSurface
- use shorter method names similar to those from volume meshes:
Sf(), magSf(), Cf()
instead of the longer ones from PrimitivePatch:
faceAreas(), magFaceAreas(), faceCentres()
- similar names throughout to ease switching between triSurface and
MeshedSurface storage.
2016-10-20 08:36:02 +02:00
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
99efe5f8d8
BUG: triSurface IO operators are asymmetrical ( fixed #225 )
...
- Also reported as http://bugs.openfoam.org/view.php?id=2188
2016-09-06 14:57:40 +02:00
58f905ff70
C++11: Replaced the C NULL with the safer C++11 nullptr
...
Requires gcc version 4.7 or higher
2016-08-05 17:19:38 +01:00
71fdcab771
Updated header documentation processed by Doxygen
2016-06-19 21:23:54 +01:00
a4f8f589de
Added forward declaration of friend functions
2016-05-29 22:28:37 +01:00
67de20df25
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
2016-05-18 21:20:42 +01:00
450728ea84
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
43beb06018
Standardized cell, patch and face loop index names
2016-04-25 10:28:32 +01:00
8c6fa81eba
vector::zero -> Zero
2016-04-16 18:34:41 +01: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
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
1896599d8b
Add support for flex-2.6
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1974
2016-01-18 19:44:38 +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
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
5d69e4ebaa
ENH: triSurface: reading obj files with <cr> ending
...
- read nastran (NAS) surfaces in comma-separated free format
2015-11-26 12:23:58 +00:00
c4d5f65a10
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
43b3961dc8
STLtriangle: Removed duplicate class
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1024
2015-03-22 09:49:37 +00:00
8628ef2fea
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
b8fa675532
BUG: triSurface: reading obj files with <cr> ending
2013-11-12 16:07:43 +00:00
bf982e8ce9
STYLE: STLpoint: extraneous file
2013-09-10 10:08:41 +01:00
66ac8ec1cc
ENH: triSurface: added sorted writing for STL
2013-08-13 10:16:29 +01:00
3195c2186f
BUG: readOBJ: handling empty lines
2013-07-05 12:54:06 +01:00
54b212e769
ENH: triSurface: improved error message
2013-06-11 15:42:29 +01:00
cf26c828cc
ENH: When writing a triSurface to ascii stl or obj, exclude empty patches
2013-05-08 12:09:48 +01:00
7102ad9129
STYLE: Minor coed formatting
2013-04-11 09:53:09 +01:00
08655f2748
BUG: Incorrect point indexing in PatchTools::sortedEdgeFaces.
...
triSurface.sortedEdgeFaces() now calls PatchTools::sortedEdgeFaces
instead of using a copy of the same code
2013-03-26 13:09:46 +00:00
af0378317e
readSTLASCII.L: Revert flex version control
2013-03-21 17:04:20 +00:00
e6de1c6249
update header
2013-03-07 11:31:03 +00:00
041d9b4b6b
readSTLASCII.L: support the change to flex in version 2.5.37
2013-03-07 11:30:52 +00:00
100a25ee25
STYLE: defineDebug: move into Foam namespace
2012-12-17 17:35:42 +00:00
e8ff31f9e8
ENH: Time: use constant(), time() instead of hardcoded strings
2012-12-06 08:24:54 +00:00
09141f30d7
ENH: Corrected spelling mistakes
2012-12-03 11:04:54 +00:00
2b48e78cc5
STYLE: Updated copyright year
2012-06-07 11:11:21 +01:00