Commit Graph

393 Commits

Author SHA1 Message Date
mattijs
f2acb35523 ENH: conformationSurfaces.H: access to locationInMesh 2012-02-14 18:11:27 +00:00
laurence
be42c48cb6 BUG: cvMesh: Reset the initial value of keepSurfacePoint within the loop 2012-02-09 14:44:28 +00:00
laurence
c3d77467e1 ENH: cvMesh: Change wellInside call to findSurfaceNearest
Do not need need to know whether point is inside or outside.
2012-02-09 12:26:21 +00:00
laurence
ecb31dc57f ENH: cvMesh: Move feature point tree into extendedFeatureEdgeMesh from cvMesh 2012-02-09 12:25:42 +00:00
laurence
779d1548d1 ENH: cvMesh surf conformance: Add quick prefilter for vertices near boundary
dualCellSurfaceAllIntersections is expensive, so do a faster prefilter to
label vertices as being near a boundary before calling that function.
May need more tuning on the distance from a surface that constitutes
being near a boundary.
2012-02-09 10:52:18 +00:00
laurence
693c537190 BUG: cvMesh: Allow external boundaries to be filtered but not proc boundaries 2012-02-09 10:41:04 +00:00
laurence
5b86597f0c Merge branch 'cvMesh' 2012-02-08 15:18:36 +00:00
laurence
3376610f4e ENH: cvMesh: Add writeProcessorInterface function.
Correct bug where List was used instead of DynamicList.
2012-02-08 15:16:44 +00:00
laurence
cc975fa61d STYLE: cvMesh: fix line lengths 2012-02-07 12:16:45 +00:00
laurence
3f23f5f40f ENH: cvMesh: speed up clipLineToProc. 2012-02-07 12:08:07 +00:00
laurence
3d2ba3ab02 BUG: cvMesh: Revert the prevention of boundary face filtering 2012-02-07 12:05:22 +00:00
laurence
8e8ff31458 ENH: vectorTools: add cosPhi function 2012-02-07 12:04:20 +00:00
laurence
ec2b286b72 ENH: cvMesh: Add variable to indexedVertex denoting whether the vertex is fixed 2012-02-07 12:03:03 +00:00
laurence
ac40a2f68d ENH: cvMesh:
- Add final version of range insert. This is faster than inserting points one
by one.
- Add a crude method to guess if an edge location that is near to another is
on a different edge and should be added. See the baffle case as an example
of where this is needed. Code is in nearFeatureEdge()
2012-01-26 17:33:54 +00:00
laurence
a98aecf98f BUG: cvMesh: Average plane C and plane D normals for the mitre point pair 2012-01-24 12:51:35 +00:00
laurence
83d81b7441 ENH: cvMesh: Dynamic tree added for surface points.
Now there is a search for the surface points to check whether they are close
to any other surface point. If they are, reject the point unless the angle
between the normals of the surfaces are around 180 degrees, which means that
the points are close but on opposite surfaces (i.e. there is a small gap).
2012-01-24 12:48:38 +00:00
laurence
4289ae94db ENH: Add dynamicIndexedOctree to cvMesh 2012-02-03 14:21:17 +00:00
laurence
36419e5eff ENH: Change List<> to DynamicList<> in point insertion.
Was a massive bottleneck
Also changed surface conformation to use findAllNearestEdges
2012-01-17 16:21:04 +00:00
laurence
34e088b228 ENH: Add findAllNearestEdges to conformationSurfaces (calls extendedFeatureEdgeMesh) 2012-01-17 16:19:33 +00:00
laurence
c618e6a9d3 BUG: cvMesh: added tolerance for deciding whether vectors are parallel.
There was a bug in feature point handling. normals that were effectively
parallel were not being picked up as being parallel, so a tolerance
has been added as a static const.
2012-01-13 12:11:22 +00:00
laurence
674abd8ecd ENH: cvMesh: Add vectorTools functions, a test folder and update cvMesh 2012-01-12 16:03:48 +00:00
laurence
6f3027e221 ENH: cvMesh: edge point triplets now inserted according to surface pairs
The addition of edge points now takes into account all surface point
pairs associated with the internal point that generates them.
2012-01-11 14:07:35 +00:00
laurence
866e7371d4 ENH: cvMesh: improved surface conformation point pair placement
Surface conformation points are now not ust projected from oen point onto the
nearest surface, but projected onto any surface which the dual cell of the
Delaunay vertex cuts through.
2012-01-09 09:06:59 +00:00
laurence
62b1b53fff ENH: cvMesh: Replace std::list with List where possible.
CGAL algorithms such as incident_faces take a list and an output iterator as
arguments. They require the list to have push_back defined. Some std::lists
remain where this is the case.
2012-01-05 15:32:00 +00:00
laurence
f07935e6c6 ENH: cvMesh: 3D CV Mesh Generator
- Remove cvMesh from constructor arguments for faceAreaWeightModel and cvControls
    - Add I.H files for indexedCell and indexedVertex classes
    - Separate feature point functions; put into conformalVoronoiMeshFeaturePoints.C
    - Add feature point specialisations for 2 external and 1 internal edge
    - Add a struct for feature point types
    - Add a writeCellCentres function
2011-12-13 17:50:22 +00:00
mattijs
1630b2df9e ENH: snappyHexMesh: added option to check mesh 2012-02-03 12:47:43 +00:00
andy
f8468a0686 BUG: Corrected -dict option for extrudeToRegionMesh utility 2012-01-18 10:23:45 +00:00
andy
da4f8e69dc STYLE: Minor code formatting 2011-12-12 17:34:54 +00:00
andy
df24320326 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2011-12-12 16:39:59 +00:00
laurence
40fda4f99d STYLE: cv2DMesh: Moved inline function definitions into separate header files. 2011-12-12 14:37:38 +00:00
andy
539bf2f34e STYLE: Minor code formatting 2011-12-12 11:39:36 +00:00
andy
a53b192d7d STYLE: Minor code formatting corrections and corrected copyright year 2011-12-12 11:23:54 +00:00
andy
5715d9965b ENH: Better output message for non 2-D mesh 2011-12-12 11:23:00 +00:00
andy
3c823f658e ENH: Removed unused #include file 2011-12-12 11:21:51 +00:00
andy
547dfe2d7c ENH: Use IOdictionary instead of dictionary 2011-12-12 11:20:59 +00:00
laurence
6eb239279b BUG: cvMesh: Reinstated function in cellSizeFunctions 2011-12-09 14:56:43 +00:00
laurence
ee8c2e4908 BUG: Remove overwrite option from extrude2DMesh and unused variable in cvMesh 2011-12-09 12:48:45 +00:00
laurence
ed1fd3d46a Merge branch 'cv2d' 2011-12-09 10:47:54 +00:00
mattijs
8667536a2b ENH: various: move boundaryField(), internalField() out of loop 2011-12-02 10:38:18 +00:00
mattijs
0af9b561c2 ENH: extrudeToRegionMesh: parallel extrusion, extrude from faceSets 2011-11-30 17:55:15 +00:00
mattijs
51b6dcd4a3 COMP: 64bit label changes 2011-11-28 12:56:34 +00:00
mattijs
b06cd15151 BUG: extrudeToRegionMesh: fix indexing. 2011-11-23 15:28:38 +00:00
Sergio Ferraris
7ae2d39f42 ENH: Changing dict and name of wedge and empty polypatch 2011-11-18 14:35:03 +00:00
mattijs
cb6c3452e7 STYLE: snappyHexMeshDict: added writing of cellCentre fields in debug mode 2011-11-18 11:28:01 +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
mattijs
d6ef1ac9d1 STYLE: snappyHexMeshDict: changed default 2011-11-15 18:18:25 +00:00
laurence
7b88ff0824 ENH: cv2DMesh and cvMesh: Addition of 2D mesher.
cv2DMesh: Initial commit
cvMesh: Constructors take Time argument instead of conformalVoronoiMesh
2011-11-11 09:55:46 +00:00
mattijs
24b3b3e1a9 ENH: extrudeToRegionMesh: removing empty patches 2011-11-08 16:35:04 +00:00
mattijs
e5a635c8b1 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2011-10-28 11:46:45 +01:00
mattijs
ee11f9c0e8 ENH: pointInCell, findCell: switchable in-cell algorithm 2011-10-28 11:33:30 +01:00