Commit Graph

108 Commits

Author SHA1 Message Date
11c5456628 ENH: improvements for surfaceIntersection (issue #450)
- adjust for updates in 'develop'

- change surfaceIntersection constructor to take a dictionary of
  options.

        tolerance      | Edge-length tolerance          | scalar | 1e-3
        allowEdgeHits  | Edge-end cuts another edge     | bool   | true
        avoidDuplicates | Reduce the number of duplicate points    | bool | true
        warnDegenerate | Number of warnings about degenerate edges | label | 0
2017-04-28 08:49:45 +02:00
cd5ca147a7 ENH: multiple surfaces, self-intersection in surfaceFeatureExtract (issue #450)
- If the dictionary is named 'surfaces', a 'surfaces' entry is mandatory.
  This is a list of wordRe, which is used to load multiple surfaces from
  constant/triSurface directory.

- Other dictionaries may contain a 'surfaces' entry.
  In which case the behaviour is as above (loading multiple surfaces).
  The dictionary name will *NOT* be taken as a surface name itself.

- Regardless of how the surfaces are loaded or features extracted,
  an additional selfIntersection test may be used.

  Eg,

    surfaces
    {
        extractionMethod    extractFromSurface;

        surfaces            (surface1.stl surface2.nas);

        // Generate features from self-intersect
        selfIntersection    true;

        // Base output name (optiona)
        output              surfaces;

        // Tolerance for self-intersect
        planarTolerance     1e-3;

        extractFromSurfaceCoeffs
        {
            includedAngle   120;

            // Do not mark region edges
            geometricTestOnly       yes;
        }
    }
2017-04-11 11:46:00 +02:00
32a6c1d988 ENH: relocate randomPointInPlane as plane::somePointInPlane
- makes more sense to bundle it with plane.
2017-04-24 20:23:31 +02:00
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
9fbd612672 GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
3990302a54 Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00
450728ea84 Standardized cell, patch, face and processor loop index names 2016-04-25 12:00:53 +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
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
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
efb39a8790 ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01: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
eafd5a3850 ENH: Updated Info, Warning and Error messages 2015-12-08 11:15:39 +00:00
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
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
7dfccf21ad ENH: surfaceFeatureExtract: excess dumping of obj files 2013-11-20 15:42:36 +00:00
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
71528efa13 BUG: surfaceFeatureExtract: checking for valid dictionary 2013-09-05 09:50:44 +01:00
714799612e ENH: surfaceFeatureExtract: skip non-dictionary entries. 2013-09-04 16:23:49 +01:00
f6757ce79e BUG: surfaceFeatureExtract: extraneous check for CGAL 2013-08-01 15:18:41 +01:00
65ed16c33e ENH: update surfaceFeatureExtract to work with new surfaceFeatures 2013-05-31 10:39:25 +01:00
f52327c4e3 BUG: Incorrect assignment 2013-04-11 21:00:32 +01:00
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
13ea7fc73a ENH: Add new curvature calculation to surfaceFeatureExtract 2013-03-21 10:36:27 +00:00
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
951c8436aa ENH: Applying Gijs' patch: Update header documentation for utilities 2013-02-21 10:54:34 +00:00
6a69674412 ENH: surfaceFeatureExtract: handle -case correctly 2013-01-18 15:32:47 +00:00
a517fbfcbe BUG: surfaceFeatureExtract: Fix the search distance for feature proximity 2013-01-04 12:45:48 +00:00
f443931e5e ENH: Make set an autoPtr. Remove flip switch. 2012-12-11 17:09:14 +00:00
9ccd5809b8 BUG: sampleDict: missing type 2012-12-05 15:21:00 +00:00
e03612c106 ENH: surfaceFeatureExtract: handle baffles 2012-10-26 14:33:27 +01:00
674990765a ENH: surfaceFeatureExtract: new syntax for non-manifold edges 2012-10-11 11:04:24 +01:00
6a380a683a STYLE: surfaceFeatureExtract: indenting, scoping 2012-05-31 14:00:27 +01:00
7969bc87d1 ENH: surfaceFeatureExtract: allow flipping. Code cleanup. 2012-05-30 11:47:31 +01:00
217405865a ENH: surfaceFeatureExtract: adding of extendedFeatureEdgeMeshes 2012-05-29 10:38:50 +01:00
fbb477070a ENH: Corrected ambiguous construction from tmp msgs (llvm/clang) 2012-05-01 10:25:50 +01:00
50367fc3ae BUG: surfaceFeatureExtract: Create extendedFeatureEdgeMesh directory if not present 2012-04-05 16:32:01 +01:00
e161131dc4 ENH: surfaceFeatureExtract: Always write a featureEdgeMesh 2012-04-03 11:39:47 +01:00
69569cc45e STYLE: surfaceFeatureExtract: get info from Coeffs dictionary. Added comment 2012-04-03 10:36:23 +01:00
b16dc1e4a5 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-03-30 08:54:05 +01:00
3c6c675081 STYLE: Remove trailing whitespace 2012-03-30 08:53:47 +01:00
7c66d8a2a0 STYLE: surfaceFeautreExtract: indentation and comment 2012-03-29 18:07:24 +01:00
c0524a8eeb STYLE: Correct formatting 2012-03-19 11:29:03 +00:00
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
716374286d BUG: createBaffles: duplicate command line option specification 2012-03-26 12:13:31 +01:00
73ec082aa7 ENH: surfaceFeatureExtract: Use a dictionary instead of command line options 2012-03-20 17:46:34 +00:00
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
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