Commit Graph

607 Commits

Author SHA1 Message Date
Andrew Heather
91b90da4f3 Integrated Foundation code to commit 104aac5 2017-05-17 16:35:18 +01:00
mattijs
3cf7820160 ENH: surfaceMeshTriangulate: handle time selection; handle moving meshes. Fixes #470. 2017-05-15 10:17:24 +01:00
Andrew Heather
1a24be6e54 Merge branch 'feature-random-numbers' into 'develop'
Updated random numbers

See merge request !107
2017-04-28 10:11:18 +01:00
Andrew Heather
7f0cc0045d ENH: Random numbers - updated dependent code from change cachedRandom->Random class 2017-04-28 09:15:52 +01:00
Mark Olesen
32a6c1d988 ENH: relocate randomPointInPlane as plane::somePointInPlane
- makes more sense to bundle it with plane.
2017-04-24 20:23:31 +02:00
Henry Weller
d548903826 surfaceLambdaMuSmooth: Added meshTools to link 2017-04-21 16:50:20 +01:00
Henry Weller
c085c5df25 Merged the edgeMesh library into the meshTools library 2017-04-21 10:38:53 +01:00
Mark Olesen
89f2eff565 STYLE: improve usage notes for transformPoints, surfaceTransformPoints 2017-04-20 16:27:44 +02:00
Mark Olesen
d4c7d8c6e5 ENH: add possibility to enable/disable profiling globally (issue #441)
- use InfoSwitch to disable, or via static method.

- respect the state of the argList banner when deciding to emit
  initialization information. Can otherwise end up with unwanted
  output rubbish on things like foamDictionary and foamListTimes.
2017-04-19 17:04:37 +02:00
Mark Olesen
140c5110fe STYLE: remove tabs from files and shorten line-length. 2017-04-10 16:11:33 +02:00
Mark Olesen
96fd3c9367 STYLE: consistent use of LIB_SRC in Make/options
- had occasional remnant use of FOAM_SRC
2017-04-06 23:56:23 +02:00
Mark Olesen
aa6b835104 ENH: use fileName::nameLessExt() instead of fileName::name(bool)
- the purpose is more explicit, without needing to check documentation
  about what the bool parameter means.

STYLE: improve formatting of fileName documentation
2017-03-10 11:49:56 +01:00
Mark Olesen
a748ce1eaf STYLE: resolve COMP_FLAGS, COMPILE_FLAGS mismash in favour of COMP_FLAGS 2017-02-23 16:25:38 +01:00
mattijs
63b2ab8069 ENH: surfaceMeshTriangulate: handle absolute paths. Fixes #398. 2017-02-08 08:45:40 +00:00
Prashant
528881cf47 BUG: missing surfaceCheck -outputThreshold option (fixes #347)
- The value from -outputThreshold was used in the code,
  but the option definition itself was somehow missed.
2016-12-16 05:14:46 +00:00
Mark Olesen
6f2b2aff40 STYLE: reduce script verbosity 2016-12-13 08:15:00 +01:00
Mark Olesen
c3005794ab ENH: provide triSurfaceTools::validTri() method to reduce code duplication
- identical code was present in surfaceCheck (original source),
  and isoSurface, isoSurfaceCell (copies).

- add in a MeshedSurface<face> variant as well, since this will likely
  be needed in the near future
2016-11-24 15:31:32 +01:00
Mark Olesen
907bde821d STYLE: fixup usage for -clean/-noClean options 2016-11-25 01:10:25 +01:00
Mark Olesen
dc1c37e464 COMP: add in plain lib/ directories for boost, cgal, fftw
- these directories are sometimes used for a central, non-thirdparty, non-system
  installation

- leave gmp and mpfr as is, since it is not clear how these would interact with system
  versions
2016-11-25 20:43:27 +01:00
Mark Olesen
58fad3ab79 BUG: snappyHexMesh with -decomposeParDict option (issue #265)
- only occurs in combination with distributedTriSurfaceMesh in snappy.

- workaround similar to that previously used for surfaceRedistributePar
  (issue #60).

Minor adjustment of incompressible motorBike tutorial to detect use of
distributedTriSurfaceMesh.
2016-11-24 12:02:11 +01:00
Mark Olesen
55ed6ec776 STYLE: use MUST_READ consistently for decomposeParDict
- there was a slight mix of MUST_READ and MUST_READ_IF_MODIFIED
  but with no obvious code to handle runtime modified values
  of the decomposition, or how this works with alternative
  dictionaries.
2016-11-24 11:26:03 +01:00
Mark Olesen
95e7faf309 STYLE: use the more succinct forms for argList (issue #307)
* args[int]   vs  args.args()[int]
  * args[word]  vs  args.options()[word]
  etc.
2016-11-20 13:06:57 +01:00
Mark Olesen
8b4dfe24f1 Merge remote-tracking branch 'origin/decomposeParDict' into develop 2016-11-19 15:34:36 +01:00
Mark Olesen
e112eb503b ENH: provide ModifiableMeshedSurface class
- A special purpose MeshedSurface that exposes the stored values
  for direct modification.

- Its usage should be restricted to special cases where the surface
  needs modifications as an atomic operation.
2016-11-14 00:45:41 +01:00
Mark Olesen
52d0289ee1 BUG: resolve some decomposeParDict problems (issues #60, #265).
- Cleanup/centralize handling of -decomposeParDict by relocating
  common code into argList. Ensures that all processes receive
  identical information about the -decomposeParDict opton.

- Only use alternative decomposeParDict for simpleFoam/motorBike
  tutorial so that this will be included in the test loop for snappy.

- Added Mattijs' fix for surfaceRedistributePar.
2016-10-25 18:19:19 +02:00
mattijs
598da1ac25 ENH: surfaceCheck: added -outputThreshold option to manage file writing 2016-10-03 13:55:30 +01:00
Mark Olesen
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
Mark Olesen
29d5a10f97 ENH: add stream operators for MeshedSurface, UnsortedMeshedSurface
- add corrsponding testing into surfaceMeshConvertTesting too
2016-09-06 14:45:44 +02:00
mattijs
fc714ed67b ENH: surfaceCheck: survive triangles with duplicate vertices. Fixes #222 2016-08-31 16:47:36 +01:00
mattijs
af02ff3600 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-11-09 15:23:21 +00:00
mattijs
2a9c95e56e BUG: surfaceAdd: incorrect size when not merging regions. Fixes #144. 2016-11-09 15:22:59 +00:00
Mark Olesen
e8f6099a1f COMP: Newer CGAL versions break current CGAL wmake rules (issue #288)
On 64-bit systems, the system installations of boost, cgal are under
lib64/. The behaviour for a ThirdParty build is mostly lib/ but this
can also be changing.

    Boost 1_62_0 and older build into 'lib/'.
    CGAL-4.9 builds into 'lib64/', older versions into 'lib/'.

Future-proof things by using lib$WM_COMPILER_LIB_ARCH for boost and
cgal build rules, and forcing these as build targets in the ThirdParty
makeCGAL as well.

--
STYLE: check for boost/version.hpp, CGAL/version.h instead their directories
2016-11-04 12:05:35 +01:00
Mark Olesen
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
mattijs
40252e99aa COMP: surfaceCheck: edgei vs edgeI 2016-11-02 14:55:13 +00:00
mattijs
ac49daaf4d Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	applications/utilities/surface/surfaceCheck/surfaceCheck.C
2016-11-02 12:06:05 +00:00
mattijs
c90e6ed48c ENH: surfaceCheck: additional printing. Additional self-intersect test with reverse ray 2016-10-31 15:41:34 +00:00
Andrew Heather
6823cb02ab Merge branch 'merge-foundation' of develop.openfoam.com:Development/OpenFOAM-plus into merge-foundation 2016-10-04 14:49:34 +01:00
Andrew Heather
7c106cd43e GIT: Resolved conflict 2016-10-04 09:45:46 +01:00
Mark Olesen
3e0e4532fd STYLE: minor adjustments to doxygen comments 2016-10-04 09:16:08 +02:00
Andrew Heather
1fbcb686ff STYLE: Consistency updates 2016-09-23 16:52:46 +01:00
Andrew Heather
b9940cbbb1 COMP: Multiple changes - first clean build after latest merge - UNTESTED 2016-09-23 15:36:53 +01:00
Andrew Heather
9fbd612672 GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
Mark Olesen
1fc2a73213 ENH: use meshedSurf API for surface writers (issue #104)
- Allows passing of additional information (per-face zone ids) or possibly
  other things, while reducing the number of arguments to pass.

- In sampledTriSurfaceMesh, preserve the region information that was
  read in, passing it onwards via the UnsortedMeshSurface content.

  The Nastran surface writer is currently the only writer making use
  of this per-face zone information.
  Passing it through as a PSHELL attribute, which should retain the
  distinction for parts. (issue #204)
2016-08-10 15:41:24 +02:00
Henry Weller
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
Mark Olesen
6ed05f0cd3 STYLE: mention suppression of banner for surfaceMeshInfo, ... (issue #125) 2016-07-06 07:43:05 +02:00
Henry Weller
3990302a54 Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00
Henry Weller
b16756115a Remove/replace deprecated functions and classes 2016-06-20 09:39:02 +01:00
Henry Weller
1319df48d9 Rationalized Doxygen documentation of command-line options 2016-06-17 09:11:58 +01:00
Henry Weller
67de20df25 Further standardization of loop index naming: pointI -> pointi, patchI -> patchi 2016-05-18 21:20:42 +01:00
Henry Weller
450728ea84 Standardized cell, patch, face and processor loop index names 2016-04-25 12:00:53 +01:00
Henry Weller
43beb06018 Standardized cell, patch and face loop index names 2016-04-25 10:28:32 +01:00
Henry Weller
2d5ff31649 boundaryField() -> boundaryFieldRef() 2016-04-24 22:07:37 +01:00
Henry Weller
8c6fa81eba vector::zero -> Zero 2016-04-16 18:34:41 +01:00
Henry Weller
6d9c7112c3 Updated header 2016-04-04 13:53:51 +01:00
Henry Weller
266651f1b9 surfaceMeshConvert: Reinstated missing error messages 2016-04-04 13:53:20 +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
caf8776f9b SquareMatrix, SymmetricSquareMatrix: Changed the constructor from size to require only n
This avoids the need to check that the m and n dimensions are the same.
2016-03-22 14:13:48 +00:00
Henry Weller
67a51b1fdd Matrix: Added (i, j) addressing to allow support for addressing blocks of the matrix
This change brings OpenFOAM into line with the standard matrix
addressing in other C++ libraries for better interoperability.
2016-03-20 19:44:29 +00:00
Henry Weller
fa5867137d transformPoints, surfaceTransformPoints: Updated quaternion construction from Euler-angles
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2024
2016-03-14 16:40:35 +00:00
Henry Weller
7ba41e0095 Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
Henry Weller
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
Andrew Heather
c35bcc05f4 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-27 23:22:54 +01:00
Andrew Heather
efb39a8790 ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
Mark Olesen
97943ed819 COMP: improve robustness and warning messages when building paraview plugins 2016-06-17 09:31:41 +02:00
Andrew Heather
158a925235 ENH: Updated xxx::zero->Zero 2016-04-28 14:17:06 +01:00
Andrew Heather
b9313ef2fe ENH: Consistency updates after Foundation merge and code tidying 2016-04-25 16:46:56 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
96b0f62d04 surfaceCoarsen: Changed List<::... to List< ::... for gcc-4.5 2016-02-21 09:03:39 +00:00
mattijs
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
mattijs
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
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
75cf86b769 Correct formatting: "forAll (" -> "forAll("
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
2016-01-09 23:10:16 +00:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
Andrew Heather
04752147c8 GIT: Resolved conflict on merge from upstream 2015-12-22 16:49:44 +00:00
mattijs
ca834a93c8 BUG: triSurfaceMesh: operate non-parallel so not do a reduction of points
Also redistributePar:
- recognise going from undecomposed to many
- read on master only
2015-12-14 09:36:52 +00:00
mattijs
e44d484d37 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-09 16:26:39 +00:00
Andrew Heather
0e01c44129 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
abeef3313d STYLE: Updated header file documentation 2015-12-09 16:10:35 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
mattijs
8a724e82a9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-09 11:02:22 +00:00
mattijs
6510e5ce49 ENH: surfaceRedistributePar: switch off file modification checking. 2015-12-09 10:53:17 +00:00
Andrew Heather
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
Andrew Heather
8400a1c19f ENH: Updated notImplemented(...)->NotImplemented messages 2015-12-08 22:56:15 +00:00
Andrew Heather
eafd5a3850 ENH: Updated Info, Warning and Error messages 2015-12-08 11:15:39 +00:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
Andrew Heather
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +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
mattijs
c6a3d4f3c5 ENH: surface: various updates to the surface utilities
surfaceBooleanFeatures: use CGAL for intersection
surfaceCheck: write surface zoning as vtk file
surfaceInflate: new utility to offset surface
surfacePatch: replacement for surfaceAutoPatch. Also does cutting of surfaces.
2015-11-10 15:04:32 +00:00
Henry Weller
8342cdc6ee Documentation: Use '-' rather than '+' for lists for Doxygen 2015-10-29 22:41:34 +00:00
Henry
3673b65b61 surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
2015-02-16 22:15:54 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
f4596ad247 Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
mattijs
18d73c1131 BUG: surfaceCheck: face based data 2014-09-26 17:39:37 +01:00
mattijs
723e5bd75c STYLE: surfaceCheck: use boundBox non-reduce constructor 2014-06-09 11:12:14 +01:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
mattijs
1f192f8b73 ENH: snappyHexMesh: have single region surface named as <surface> instead of <surface>_<region> 2014-01-27 12:44:45 +00:00
mattijs
ff50972634 ENH: surfaceCheck: added writing of zones as vtk file 2014-01-07 14:58:15 +00:00
mattijs
198a9a6adf ENH: surfaceLambdaMuSmooth: shortcut if mu=0 2013-12-20 16:00:26 +00:00
mattijs
fe4762ca58 ENH: surfaceLambdaMuSmooth: added reference 2013-12-18 12:11:49 +00:00
mattijs
7dfccf21ad ENH: surfaceFeatureExtract: excess dumping of obj files 2013-11-20 15:42:36 +00:00
mattijs
cde75af134 ENH: surfaceMeshTriangulate: extract faceZones 2013-10-01 16:26:36 +01:00
laurence
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
mattijs
71528efa13 BUG: surfaceFeatureExtract: checking for valid dictionary 2013-09-05 09:50:44 +01:00
mattijs
714799612e ENH: surfaceFeatureExtract: skip non-dictionary entries. 2013-09-04 16:23:49 +01:00
mattijs
f6757ce79e BUG: surfaceFeatureExtract: extraneous check for CGAL 2013-08-01 15:18:41 +01:00
mattijs
6c319ce47b ENH: surfaceSubset: add select-by-plane 2013-07-11 17:12:49 +01:00
mattijs
9fc91675b3 ENH: surfaceCheck: do self-intersection more efficiently 2013-06-21 12:34:25 +01:00
laurence
62f18ee7d5 BUG: extendedFeatureEdgeMesh: Add stream operators for sideVolumeType 2013-06-20 12:40:15 +01:00
mattijs
a26c9ebd55 ENH: surfaceCheck: new self-intersection test 2013-06-10 11:27:20 +01:00
mattijs
057691a6b4 STYLE: surfaceLambdaMuSmooth: remove unused code 2013-06-04 14:28:16 +01:00
laurence
aa6f0170a3 ENH: Add surfaceLambdaMuSmooth utility and remove surfaceSmooth
Set lambda to the relaxation factor and mu to zero to replicate
laplacian smoothing from surfaceSmooth in the new utility
2013-06-03 14:30:51 +01:00
laurence
4ac91793a3 ENH: surfaceBooleanFeatures: Update and start handling baffles 2013-05-31 17:17:34 +01:00
laurence
0a7eada21b ENH: Remove dependencies on CGAL because of new curvature calculation method 2013-05-31 12:42:38 +01:00
laurence
65ed16c33e ENH: update surfaceFeatureExtract to work with new surfaceFeatures 2013-05-31 10:39:25 +01:00
laurence
143a43836f REVERT: Remove findNearestOpSubset from treeDataEdge and add to the application 2013-05-16 10:43:44 +01:00
laurence
6f9823d0de Merge branch 'master' into feature/cvMesh
Conflicts:
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.H
	src/dynamicMesh/polyMeshFilter/polyMeshFilter.C
	src/meshTools/indexedOctree/treeDataPrimitivePatch.C
	src/meshTools/indexedOctree/treeDataTriSurface.C
	src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.C
2013-05-08 12:20:52 +01:00
andy
9ebd8a851a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-05-03 17:33:37 +01:00
laurence
45fd7105ff ENH: Add surfaceHookUp utility
Matches boundary edges between surfaces by retriangulating edges.
2013-05-03 12:45:25 +01:00
andy
4435d64047 STYLE: Corrected spelling mistakes 2013-04-16 17:01:23 +01:00
laurence
f52327c4e3 BUG: Incorrect assignment 2013-04-11 21:00:32 +01:00
laurence
c2d3bab08e ENH: Merge searchableSurface and indexedOctree volumeType 2013-04-11 19:52:03 +01:00
laurence
e2482a4e8b ENH: Merge searchableSurface and indexedOctree volumeType 2013-04-11 19:52:03 +01:00
laurence
72c3da08b2 Merge branch 'master' into feature/cvMesh
Conflicts:
	applications/test/Matrix/Test-Matrix.C
	applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.C
	applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H
	src/OpenFOAM/algorithms/indexedOctree/indexedOctree.C
	src/OpenFOAM/primitives/Tensor2D/Tensor2DI.H
2013-04-05 16:09:24 +01:00
laurence
13ea7fc73a ENH: Add new curvature calculation to surfaceFeatureExtract 2013-03-21 10:36:27 +00:00
laurence
f33b977421 ENH: surfaceBooleanFeatures: Output files to constant/extendedFeatureEdgeMesh 2013-03-15 12:46:18 +00:00
andy
b45a4486b1 STYLE: Updates to erroneous copyright dates - applications 2013-03-13 09:45:16 +00:00
laurence
448bd7be3e ENH: surfaceFeatures: Add an option to only extract features geometrically
If geometricTestOnly is set to true then edges will not be marked as region
edges, only as internal or external edges. If there are any edges still
marked as regions then this is because they are non-manifold.
2013-02-27 12:34:44 +00:00
andy
e637dc30d1 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-02-21 16:11:47 +00:00
Henry
944b8d438b Reformat "template <..." to template<"
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:09 +00:00
andy
951c8436aa ENH: Applying Gijs' patch: Update header documentation for utilities 2013-02-21 10:54:34 +00:00
laurence
53533a2da2 ENH: cvMesh: split refinement and smoothing of background mesh 2013-01-28 18:01:22 +00:00
mattijs
6a69674412 ENH: surfaceFeatureExtract: handle -case correctly 2013-01-18 15:32:47 +00:00
laurence
ff3654956a STYLE: Code cleanup and add some comments 2013-01-10 10:50:05 +00:00
laurence
a517fbfcbe BUG: surfaceFeatureExtract: Fix the search distance for feature proximity 2013-01-04 12:45:48 +00:00
mattijs
6c04062df2 STYLE: surfaceClean: unused routine 2012-12-18 17:24:42 +00:00
laurence
f443931e5e ENH: Make set an autoPtr. Remove flip switch. 2012-12-11 17:09:14 +00:00
laurence
9f61b9123b ENH: Add enum and featurePointEdges. 2012-12-11 17:08:27 +00:00
mattijs
9ccd5809b8 BUG: sampleDict: missing type 2012-12-05 15:21:00 +00:00
mattijs
b2edaba7a1 ENH: surfaceMeshConvert: dict option handling 2012-12-05 15:04:35 +00:00
mattijs
e03612c106 ENH: surfaceFeatureExtract: handle baffles 2012-10-26 14:33:27 +01:00
mattijs
674990765a ENH: surfaceFeatureExtract: new syntax for non-manifold edges 2012-10-11 11:04:24 +01:00
mattijs
3c183eba6c ENH: polyPatch: adding constraint patches to group 2012-09-05 16:40:59 +01:00
mattijs
dfa8cf417a BUG: setFields: timeSelector overrides controlDict setting
(more general: timeSelector should only be used for postprocessing utils)
2012-07-26 16:55:25 +01:00
mattijs
a2e42ddd89 STYLE: surfaceCoarsen: remove rabdata 2012-06-06 12:35:48 +01:00
mattijs
6a380a683a STYLE: surfaceFeatureExtract: indenting, scoping 2012-05-31 14:00:27 +01:00
mattijs
645ff9b845 ENH: surfaceFeatureExtractDict: add comment 2012-05-31 13:59:47 +01:00
mattijs
9e26e68b7d ENH: surfaceMeshTriangulate: surface is fileName, not word 2012-05-31 13:58:45 +01:00
mattijs
d51122fa10 COMP: surfaceMeshTriangulate: use surfMesh instead of triSurface 2012-05-30 12:02:09 +01:00
mattijs
7969bc87d1 ENH: surfaceFeatureExtract: allow flipping. Code cleanup. 2012-05-30 11:47:31 +01:00
mattijs
b06e2e6589 ENH: surfaceMeshTriangulate: generalise for MeshedSurface instead of triSurface. Add patchSet. Add topological point merging 2012-05-30 11:42:37 +01:00
mattijs
217405865a ENH: surfaceFeatureExtract: adding of extendedFeatureEdgeMeshes 2012-05-29 10:38:50 +01:00
mattijs
687232488f Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-05-01 17:29:14 +01:00
mattijs
50d1d00fae BUG: surfaceSplitByTopology: #485 2012-05-01 17:24:09 +01:00
mattijs
b35ae36e7b ENH: surfaceBooleanFeatures: write eMesh edgeMesh as well 2012-05-01 17:13:29 +01:00
andy
6b62ee94e4 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-05-01 10:26:32 +01:00
andy
fbb477070a ENH: Corrected ambiguous construction from tmp msgs (llvm/clang) 2012-05-01 10:25:50 +01:00
laurence
6a3571b3e9 COMP: Move boost and mpfr library includes from wmake/rules/general/CGAL
This is so that surfaceFeatureExtract will compile without boost/mpfr
2012-04-26 15:10:24 +01:00
laurence
76f0eb0253 ENH: Update the surfaceFeatureExtract default dictionary 2012-04-19 12:55:44 +01:00
Henry
5682987dc7 Updated headers 2012-04-17 16:49:03 +01:00
Henry
cd51a5eea3 Consistency: Changed exponent FORTRAN style 'E' to C style 'e' 2012-04-17 16:48:27 +01:00
mattijs
bdfbea228c STYLE: snappyHexMeshDict, surfaceMeshTriangulate: corrected comment 2012-04-10 12:33:45 +01:00
laurence
50367fc3ae BUG: surfaceFeatureExtract: Create extendedFeatureEdgeMesh directory if not present 2012-04-05 16:32:01 +01:00
laurence
e161131dc4 ENH: surfaceFeatureExtract: Always write a featureEdgeMesh 2012-04-03 11:39:47 +01:00
mattijs
69569cc45e STYLE: surfaceFeatureExtract: get info from Coeffs dictionary. Added comment 2012-04-03 10:36:23 +01:00
mattijs
5beb857d8e BUG: surfaceBooleanFeatures: extraneous command-line clearing 2012-04-02 10:50:40 +01:00
laurence
b16dc1e4a5 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-03-30 08:54:05 +01:00
laurence
3c6c675081 STYLE: Remove trailing whitespace 2012-03-30 08:53:47 +01:00
mattijs
7c66d8a2a0 STYLE: surfaceFeautreExtract: indentation and comment 2012-03-29 18:07:24 +01:00
laurence
c0524a8eeb STYLE: Correct formatting 2012-03-19 11:29:03 +00:00
laurence
3dcfc986d6 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2012-03-27 12:41:27 +01:00
mattijs
716374286d BUG: createBaffles: duplicate command line option specification 2012-03-26 12:13:31 +01:00
laurence
73ec082aa7 ENH: surfaceFeatureExtract: Use a dictionary instead of command line options 2012-03-20 17:46:34 +00:00
laurence
c6a2710bbe COMP: surfaceFeatureExtract: Clean up build 2012-03-20 17:46:04 +00:00
laurence
dbc7526abb ENH: surfaceFeatureExtract now builds with CGAL support for curvature
extendedFeatureEdgeMesh: Add function to find all feature points within a sphere
treeDataPoint: Add support for point overlap test
2012-03-16 11:21:43 +00:00
mattijs
2b320a5488 BUG: surfaceCheck: handle .gz additional extension (e.g. motorBike.obj.gz) 2012-01-05 10:07:04 +00:00
laurence
ed1fd3d46a Merge branch 'cv2d' 2011-12-09 10:47:54 +00:00
mattijs
51b6dcd4a3 COMP: 64bit label changes 2011-11-28 12:56:34 +00:00
laurence
075e47ea5a ENH: Merge cvMesh functionality into cv2DMesh
- Added conformationSurface and searchableSurface classes in place
  of querySurface.
- Added cellSizeControl class.
- Change cvMesh argument of relaxation model constructor to Time.
- Add writePrecision option to surfaceConvert.
- Add onLine function to surfaceFeatureExtract.
- Remove querySurface.
- Move createShellMesh and extrude2DMesh to their own libraries.
- Replace controls and tolerances with a cv2DControls object.
- Add patchToPoly2DMesh class to extrude2DMesh.
2011-11-18 09:53:46 +00:00
laurence
b69f513f20 ENH: surfaceFeatureExtract: Provide -plane argument for creating 2D edge meshes 2011-11-17 15:39:59 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Henry
5f9e3a04f0 cvMesh: Relocated the conformalVoronoiMesh library and localised all uses of CGAL
Removed unused dependencies on CGAL
2011-07-22 14:12:08 +01:00
mattijs
ea570ad2cc ENH: surfaceFeatureExtract: disabled curvature calculation (only CGAL dependency) 2011-07-22 10:14:11 +01:00
mattijs
2ea1ff1923 STYLE: date 2011-07-21 14:45:30 +01:00
mattijs
23b828f22f Merge branch 'cvm' of /home/noisy3/OpenFOAM/OpenFOAM-dev into cvm 2011-07-06 15:28:25 +01:00
graham
292bf5cbca ENH: Switch on and off curvature and closeness testing. 2011-07-06 13:43:07 +01:00
mattijs
80db456b5f BUG: surfaceFeatureExtract: option not in argList 2011-07-01 15:11:42 +01:00
mattijs
77d1e2231d ENH: surfaceFeatureExtract: optionally filter out non-manifold edges 2011-06-24 16:24:58 +01:00
mattijs
54d55295f0 ENH: surfaceOrient: orient using intersections 2011-06-23 12:23:13 +01:00
mattijs
b831dfd761 surfaceClean: have minimum quality 2011-06-20 12:06:32 +01:00
mattijs
74d06462ff ENH: surfaceClean: have minimum quality 2011-06-20 11:43:27 +01:00
mattijs
57561886bd COMP: buildCGALPolyhedron.C: using typename outside of template 2011-06-20 11:42:33 +01:00
graham
caea0aec03 Merge branch 'master' into cvm 2011-06-17 10:57:23 +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
graham
e1ead74461 Merge branch 'master' into cvm 2011-06-08 17:28:03 +01:00
mattijs
7902377c02 ENH: treeDataTrisurface: expose tolerance 2011-06-02 12:14:53 +01:00
graham
74b4639b4f COMP: meshTools.H 2011-05-13 10:39:19 +01:00
graham
c0537248fb Merge branch 'master' into cvm 2011-05-13 10:17:22 +01:00
graham
dac5beb53a BUG/STYLE: vector type fails to compile. Using extendedFeatureEdgeMesh naming. 2011-05-03 16:33:11 +01:00
Mark Olesen
8687d00c2d Merge remote branch 'opencfd/master' into olesenm 2011-04-12 12:54:35 +02:00
Mark Olesen
03bae68436 STYLE: drop face::area() and triFace::area() - less useful than expected 2011-04-12 12:53:51 +02:00
graham
fe0f6a487a Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2011-04-07 14:17:08 +01:00
graham
d5d88fdba2 STYLE: Writing surface feature set out the root of the case. 2011-04-07 11:27:00 +01:00
Mark Olesen
9153534a9d ENH: use face::area() method for surfaceMeshInfo 2011-04-07 09:29:05 +02:00
mattijs
acd7554ae0 STYLE: dictionaries in $FOAM_UTILITIES: header 2011-04-06 19:15:15 +01:00
Mark Olesen
4bc4c1900b ENH: new utility surfaceMeshInfo
- useful at the moment for reporting face areas from a surface mesh
2011-04-05 20:05:57 +02:00
mattijs
5cf0612207 ENH: surfaceFeatureExtact: optionally write obj files 2011-04-05 12:11:08 +01:00
graham
1bad1265f7 Merge branch 'master' into cvm 2011-03-31 11:58:44 +01:00
mattijs
4fa972e4be ENH: surfaceClean: do a triangle cleanup unless suppressed 2011-03-29 12:27:25 +01:00
graham
83f0613ee5 BUG: Fix for constructor use. 2011-03-28 11:57:44 +01:00
graham
903e2257c7 STYLE: date. 2011-03-10 13:55:20 +00:00
graham
1fac7b662e Merge branch 'master' into cvm
Conflicts:
	src/mesh/Allwmake
2011-03-10 13:54:43 +00:00
graham
5c8340ae13 ENH: Write surface area of surface.
Removed test objs.
2011-03-10 11:50:26 +00:00
graham
a3b1263184 ENH: Using enhancedFeatureEdgeMesh. 2011-02-18 16:17:49 +00:00
graham
de64877baa Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
	src/edgeMesh/Make/files
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.C
	src/edgeMesh/featureEdgeMesh/featureEdgeMesh.H
2011-02-17 11:20:03 +00:00
graham
0090ec6526 Merge branch 'master' into cvm 2011-02-14 15:39:40 +00:00
mattijs
85190a16b6 ENH: featureEdgeMesh : moved new stuff to extendedFeatureEdgeMesh 2011-02-11 12:32:11 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
graham
3c0f5f5a57 Revert "ENH: Roll back surfaceFeatureExtract to send to Audi/VW."
This reverts commit 9b2862f153.
2011-02-03 16:01:13 +00:00
graham
9b2862f153 ENH: Roll back surfaceFeatureExtract to send to Audi/VW. 2011-02-03 12:05:38 +00:00
graham
d4731f9cab ENH: Use non-templated vtwWriters. Remove FatalErrors on intersection failure. 2011-02-03 11:40:28 +00:00
graham
a2f7b0d958 ENH: surfaceFeatures trim walking - never walk over feature points. 2011-01-28 17:23:00 +00:00
graham
6c489421fb ENH: Reinstate surfaceFeatureExtract developments. 2011-01-28 11:29:49 +00:00
graham
f7367d328a This commit plus a subsequent merge of master is the code that is to be sent to Audi and VW, Jan/Feb 2011.
Represents a working snapshot of the polyhedral mesher for evaluation.

Rolling back surfaceFeatureExtract to remove latest developments and reduce the
file output.
2011-01-28 11:18:52 +00:00
graham
12ecd5e952 ENH: Choosing closeness hits only within a given angle. 2011-01-27 17:33:06 +00:00
graham
b328499d02 ENH: Various improvements.
+ No fatal error on triSurfaceTools::surfaceSide, commented out WarningIn.

  + Make cellSizeControlSurfaces look for a GREAT span for the nearest surface
    point.

  + Identify and limit filtering on single internal face cells in polyMesh
    quality assessment.

  + Create cellSet of remaining protruding cells after polyMesh creation.

  + Implemented wellOutside function by generalising wellInside to
    wellInOutSide.
2011-01-24 13:19:44 +00:00
graham
5cd9ccf88b ENH: Returning feature edge enumeration from trimFeatures and writing out. 2011-01-21 18:38:23 +00:00
graham
19b846354b ENH: Remove feature edges from curvature field. 2011-01-21 16:48:13 +00:00
graham
52bc7df7d7 Merge branch 'master' into cvm 2011-01-21 14:05:20 +00:00
graham
738d022c56 ENH: Extract curvature and internal and external closeness fields. 2011-01-21 14:02:03 +00:00
mattijs
0c6789e539 STYLE: removed globalMeshData::bb(). Use mesh.bounds() instead 2011-01-20 13:46:02 +00:00
graham
1c646e2143 ENH: Using triangle quality without checking - check is now in triangle class. 2011-01-19 19:39:27 +00:00
graham
b1c7bcee4e Merge branch 'master' into cvm
Conflicts:
	applications/test/Distribution/DistributionTest.C
	applications/test/Distribution/Make/options
	src/OpenFOAM/containers/Lists/Distribution/Distribution.C
	src/OpenFOAM/containers/Lists/Distribution/Distribution.H
	src/OpenFOAM/containers/Lists/Distribution/DistributionI.H
2011-01-19 10:32:36 +00:00
graham
89619c5015 Revert "ENH: Copyright dates to allow a push."
This reverts commit c5bea5242b.
2011-01-19 10:26:24 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
graham
c5bea5242b ENH: Copyright dates to allow a push. 2011-01-07 15:09:52 +00:00
graham
2135f644d1 Merge branch 'master' into cvm 2011-01-07 14:50:43 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
8c04b4e692 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/meshes/boundBox/boundBox.H
2011-01-05 11:53:37 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
andy
7a6cfda2f8 Merge branch 'olesenm' 2011-01-04 10:52:41 +00:00
graham
00e49c1325 ENH: No need for output filename, better (uniform) scale on normals obj. 2010-12-21 17:58:33 +00:00
graham
8daee8c985 Merge branch 'master' into cvm 2010-12-21 15:20:56 +00:00
graham
dbbacfbefd ENH: Don't write badFaces when there are none. 2010-12-21 15:20:00 +00:00
Mark Olesen
881b3dafa2 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C
	applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/createShellMesh.C
	applications/utilities/surface/surfaceCheck/surfaceCheck.C
	src/finiteVolume/fields/fvPatchFields/derived/advective/advectiveFvPatchField.C
	src/finiteVolume/fields/fvPatchFields/derived/waveTransmissive/waveTransmissiveFvPatchField.C
	src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C

NOTE: also needed to strip trailing space/lines in various files
2010-12-21 10:19:53 +01:00
Mark Olesen
43ec00e50c COMP: avoid ambiguous construct from tmp - test/ utils/
- missed these on the first sweep
2010-12-21 09:46:55 +01:00
graham
664940fa3a ENH: surfaceBoooleanFeatures utility. 2010-12-20 11:42:13 +00:00