Commit Graph

122 Commits

Author SHA1 Message Date
Matthias Hochsteger
241f6eb9e5 Some debug output cleanup 2024-03-24 20:39:50 +01:00
Matthias Hochsteger
bdfc920688 more 2024-03-11 13:31:00 +01:00
Matthias Hochsteger
66033f3ae7 some fixes 2024-03-08 15:12:49 +01:00
Matthias Hochsteger
9a8796043d more 2024-03-01 12:01:08 +01:00
Matthias Hochsteger
ccafd3bd63 more 2024-02-28 18:08:08 +01:00
Matthias Hochsteger
f97aafb162 something 2024-02-28 15:24:09 +01:00
Matthias Hochsteger
855ee34224 some more 2024-02-26 09:09:42 +01:00
Matthias Hochsteger
cc8d6a3a35 some tryout 2024-02-20 10:25:31 +01:00
Matthias Hochsteger
86d47b5614 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-19 09:23:33 +01:00
Christopher Lackner
8e94de7a73 fix isendpoint check in boundarylayer code 2024-02-13 13:01:42 +01:00
Christopher Lackner
803eb73d2d allow internal edges on boundarylayer (for sphere, ellipsoid) 2024-02-13 09:35:44 +01:00
Matthias Hochsteger
b8267d046e Remove debug output 2024-02-09 15:40:05 +01:00
Matthias Hochsteger
852f5bf32e Remove debug output, identify points only when needed, fix compress with
identified points
2024-02-09 12:01:28 +01:00
Matthias Hochsteger
93590c8407 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-05 10:08:32 +01:00
Christopher Lackner
45362b588b dont curve faces with boundarylayers 2024-01-31 15:13:20 +01:00
Christopher Lackner
e155700bc3 throw if surface is extruded that is not named (if map surface-> new
mat is given)
2024-01-31 12:27:03 +01:00
Matthias Hochsteger
459a6b1c59 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-01-12 19:00:33 +01:00
Matthias Hochsteger
d09c00796b Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-01-08 10:38:12 +01:00
Matthias Hochsteger
ae749afa0b Remove warnings 2024-01-08 10:36:44 +01:00
Matthias Hochsteger
ce308a3373 some more bugfixing 2024-01-08 10:29:16 +01:00
Joachim Schoeberl
87b65fb5ff remove warnings 2024-01-05 20:07:04 +01:00
Matthias Hochsteger
e7b5eabdc3 Fixes in growth vector limitation 2024-01-04 14:34:18 +01:00
Matthias Hochsteger
be2d58ed33 something 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
f6bdb3ccb0 lshape example working (no limitation yet) 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
dd337ce375 some more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
d6a3d875cc more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
96488d0626 some work 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
9995549257 start from scratch
First step: intersect segment (p, p+growthvector) with surface elements
Second step: intersect segment with moved surface elements
    TODO: Need mutual reduction of growthvector (not just taking one
    intersection point)

    IDEA: Take plane with segment, intersection point and
    intersectionpoint-growthvector (need interpolation and barycentric
    coordinates to get point on original surface element)
    Then calculate in 2d how far one could go (depending on angle of two
    growthvectors)
2023-12-28 16:57:42 +01:00
Matthias Hochsteger
47ff7405a3 more 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
57be10cbcf some ting 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
35f084e9aa start rework 2023-12-28 16:57:42 +01:00
Matthias Hochsteger
7a0d7594c8 Boundarylayers - handle opposing normal vectors correctly 2023-12-28 16:57:42 +01:00
Lackner, Christopher
24d79dbfdd Merge branch 'cleanup_netgen' into 'master'
move namespaces in meshing.hpp into headers

See merge request ngsolve/netgen!602
2023-09-05 17:56:55 +02:00
Christopher Lackner
95ca834605 move namespaces in meshing.hpp into headers 2023-09-04 13:43:47 +02:00
Matthias Hochsteger
125c21b200 Boundarylayer limitation fixes
Squashed commit of the following:

commit a1007d6728c01343a321aa135c24bbb1d3e6f059
Author: vgeza <vg@cenos-platform.com>
Date:   Fri Sep 1 13:01:01 2023 +0300

    put back

commit 74b145cf7fb9bf36eae36e01c2cc6c7ab8f1504b
Author: vgeza <vgeza@users.noreply.github.com>
Date:   Fri Sep 1 12:44:06 2023 +0300

    Update smoothing

commit 18a2a95a61ac56db3274c669b91d2bbd8a84ec2f
Author: vgeza <vgeza@users.noreply.github.com>
Date:   Fri Sep 1 12:32:35 2023 +0300

    More restrictive fixes

commit cc715804ac8825909e2c0b4a86333c0c3fc29a80
Author: vgeza <vgeza@users.noreply.github.com>
Date:   Fri Sep 1 12:31:50 2023 +0300

    fix

commit 36a7b522c3e97745d4ff84de09df05dc766ddae7
Author: vgeza <vgeza@users.noreply.github.com>
Date:   Fri Sep 1 12:31:15 2023 +0300

    Update limits at the end of loop

Bounarylayer - safety parameter to limit maximum vector growth
2023-09-04 11:49:56 +02:00
Matthias Hochsteger
499c9086b0 Boundarylayer - check if all given faces are adjacent to selected domain 2023-09-04 10:42:45 +02:00
vgeza
1276e64c8b Modified smooth 2023-08-29 14:10:53 +03:00
vgeza
d9173d5223 Enlarge triangle intersection check 2023-08-29 14:10:53 +03:00
vgeza
9c28bc2351 0th limiting step
fix commit
2023-08-29 14:10:52 +03:00
Matthias Hochsteger
e53d559740 Fix hashtable size in boundarylayer code 2023-06-20 12:45:01 +02:00
Matthias Hochsteger
35360df540 Don't add new duplicate segments to mesh, if mesh fulfills HaveSingleSegments() 2023-04-27 15:35:10 +02:00
Matthias Hochsteger
875da8ee45 boundarylayer 2d code in separate file 2023-04-27 15:25:15 +02:00
Matthias Hochsteger
7382661315 Fix surface mapping in BoundaryLayer3d 2023-04-21 12:51:54 +02:00
Christopher Lackner
9c1db9a6f3 correctly set domin and domout at sides 2023-03-30 23:21:58 +02:00
Christopher Lackner
5b4af26d7d boundarylayers sides with separate bcnr and option to set surface
index to -1

this fixes 2 issues:

* If extruded outwards in occ and curvature turned on, if sides are
not set to index -1 then they are curved back towards the face again

* If no different facedescriptor is set, blayer.Boundaries() would
wrongly return the whole boundary and not only the layer part of the side.
2023-03-30 17:19:34 +02:00
Christopher Lackner
46d53168b8 better growth vector computation for non orthogonal faces 2023-02-13 12:04:30 +01:00
Lackner, Christopher
7a86aae0d1 allow different materials in boundarylayer depending on bc name 2022-11-10 14:35:58 +01:00
Matthias Hochsteger
92fb557314 fix boundarylayer 2d bug 2022-10-03 17:22:44 +02:00
Matthias Hochsteger
666fb2ee86 fix boundarylayer 2d code (now single line segments, not per face) 2022-08-30 09:12:49 +02:00
Christopher Lackner
c71d142738 fix double segments in getedgetangent of boundarylayer 2022-06-09 15:32:41 +02:00