Mark Olesen
f76552f7f9
STYLE: rebase edge on labelPair, additional methods in Pair
...
- use FixedList first/last in Pair first/second
- consistent first/second access for line
2017-10-06 20:10:49 +02:00
Mark Olesen
139edb2468
ENH: add input surface scaling (issue #514 )
...
- surfaceFeatureExtract
* dictionary "scale" entry
- triSurface
- triSurfaceLoader
* optional scaleFactor on reading
- surfaceAdd
- surfaceBooleanFeatures
- surfaceClean
- surfaceCoarsen
* scale option
- surfaceTransformPoints, transformPoints
* scale option as scalar or vector quantity
2017-08-14 09:18:15 +02:00
Mark Olesen
b5f091e74f
BUG: incorrect indexing for surface baffles ( fixes #497 )
2017-06-16 09:37:43 +02:00
Mark Olesen
a4b826aa1e
STYLE: fix comments
2017-06-01 16:38:48 +02:00
Mark Olesen
b312f0ba40
ENH: documentation and input simplification for surfaceFeatureExtract
2017-06-01 15:46:42 +02:00
Mark Olesen
dfafe6075a
ENH: region-wise self intersection for surfaceFeatureExtract (issue #450 )
2017-05-29 18:57:25 +02:00
Mark Olesen
0e7630feca
ENH: improved handling of 'unresolved' surface intersections (issue #450 )
...
- the heuristic for matching unresolved intersections is a relatively
simple matching scheme that seems to be more robust than attempting to walk
the geometry or the cuts.
- avoid false positives for self intersection
2017-05-08 14:57:47 +02:00
Mark Olesen
da8ea0f21a
ENH: refactor code from surfaceFeatureExtract to triSurfaceTools (issue #450 )
2017-04-28 09:12:33 +02:00
Mark Olesen
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
Mark Olesen
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
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
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
Andrew Heather
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
Henry Weller
3990302a54
Updated and simplified the Doxygen documentation
2016-06-20 21:20:28 +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
8c6fa81eba
vector::zero -> Zero
2016-04-16 18:34:41 +01: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
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
andy
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01: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
Andrew Heather
eafd5a3850
ENH: Updated Info, Warning and Error messages
2015-12-08 11:15:39 +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
c778346c96
Formatting: Rationalized the indentation of #include
2015-02-10 20:35:50 +00:00
mattijs
7dfccf21ad
ENH: surfaceFeatureExtract: excess dumping of obj files
2013-11-20 15:42:36 +00: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
laurence
65ed16c33e
ENH: update surfaceFeatureExtract to work with new surfaceFeatures
2013-05-31 10:39:25 +01:00
laurence
f52327c4e3
BUG: Incorrect assignment
2013-04-11 21:00:32 +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
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
951c8436aa
ENH: Applying Gijs' patch: Update header documentation for utilities
2013-02-21 10:54:34 +00:00
mattijs
6a69674412
ENH: surfaceFeatureExtract: handle -case correctly
2013-01-18 15:32:47 +00:00
laurence
a517fbfcbe
BUG: surfaceFeatureExtract: Fix the search distance for feature proximity
2013-01-04 12:45:48 +00:00
laurence
f443931e5e
ENH: Make set an autoPtr. Remove flip switch.
2012-12-11 17:09:14 +00:00
mattijs
9ccd5809b8
BUG: sampleDict: missing type
2012-12-05 15:21:00 +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
6a380a683a
STYLE: surfaceFeatureExtract: indenting, scoping
2012-05-31 14:00:27 +01:00
mattijs
7969bc87d1
ENH: surfaceFeatureExtract: allow flipping. Code cleanup.
2012-05-30 11:47:31 +01:00
mattijs
217405865a
ENH: surfaceFeatureExtract: adding of extendedFeatureEdgeMeshes
2012-05-29 10:38:50 +01:00
andy
fbb477070a
ENH: Corrected ambiguous construction from tmp msgs (llvm/clang)
2012-05-01 10:25:50 +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
laurence
b16dc1e4a5
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
2012-03-30 08:54:05 +01:00