Commit Graph

44 Commits

Author SHA1 Message Date
Matthias Hochsteger
4a1fe78ff6 Rename blp.keep_surfaceindex to disable_curving
When disabling curving at faces, also disable it for adjacent edges
2024-10-08 17:35:53 +02:00
Matthias Hochsteger
82965f63b0 formatting 2024-10-08 16:23:43 +02:00
Matthias Hochsteger
787169d2b8 cleanup, fixes 2024-10-07 11:54:28 +02:00
Matthias Hochsteger
9693a42a6a something 2024-10-03 19:11:07 +02:00
Matthias Hochsteger
0daeeb20aa BLayer - Option to build only volelements without new surface elements/edges/domains 2024-10-03 18:06:37 +02:00
Matthias Hochsteger
2d653b2672 Multiple changes in boundarylayer code
- Separate file for interpolation functions
- Look in "segments" and "new_segments" for interpolation along new edge
  numbers (also optimize this code building tables)
- Better surface vector interpolation
- Build points_set sequentially (std::set is not thread safe)
2024-10-02 11:24:03 +02:00
Matthias Hochsteger
d82c96ba2b Move limits array to Limiter 2024-09-27 18:30:47 +02:00
Matthias Hochsteger
663eaffbb2 Apply blayer_as_meshing_parameter changes 2024-09-27 13:17:20 +02:00
Matthias Hochsteger
c8d99c0e9e Some fixes for boundarylayers on special points (4 faces) 2024-09-04 15:51:03 +02:00
Matthias Hochsteger
cb2a8ddbb1 Some fixes and cleanup 2024-04-10 16:04:16 +02:00
Matthias Hochsteger
7e13aa4f82 cleanup 2024-04-05 17:09:34 +02:00
Matthias Hochsteger
855ee34224 some more 2024-02-26 09:09:42 +01:00
Matthias Hochsteger
86d47b5614 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-19 09:23:33 +01:00
Christopher Lackner
803eb73d2d allow internal edges on boundarylayer (for sphere, ellipsoid) 2024-02-13 09:35:44 +01:00
Matthias Hochsteger
dd337ce375 some 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
35f084e9aa start rework 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 a1007d6728
Author: vgeza <vg@cenos-platform.com>
Date:   Fri Sep 1 13:01:01 2023 +0300

    put back

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

    Update smoothing

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

    More restrictive fixes

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

    fix

commit 36a7b522c3
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
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
Lackner, Christopher
7a86aae0d1 allow different materials in boundarylayer depending on bc name 2022-11-10 14:35:58 +01:00
Christopher Lackner
a3408b537a fixes for boundarylayer edge tangent computation and some more 2022-06-09 15:32:41 +02:00
mhochsteger@cerbsim.com
88f74fd6f2 boundarylayer - limit height 2022-03-31 21:12:43 +02:00
mhochsteger@cerbsim.com
b76ea76219 restructure BoundaryLayer code 2022-03-09 13:15:48 +01:00
Matthias Hochsteger
44c10f663a Boundarylayer 2d interface 2021-03-30 16:55:03 +02:00
Matthias Hochsteger
98770dbf94 2d boundary layers 2021-03-16 18:22:14 +01:00
Christopher Lackner
609cbbcadf rewrite create boundarylayer function (now more efficient and stable
and easier)
2020-11-17 18:43:39 +01:00
Christopher Lackner
9578e4a41d add project to boundary in boundarylayer and correctly treat inverse boundaries 2020-11-03 12:28:13 +01:00
Christopher Lackner
d752ada2bd improve functionality of boundarylayer 2020-04-23 15:44:32 +02:00
Christopher Lackner
58e6e5dc18 modernize and improve GenerateBoundaryLayer 2020-04-19 20:00:06 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Matthias Hochsteger
8ac965d707 everything in one big dll on Windows 2015-10-19 10:08:30 +02:00
Matthias Hochsteger
7d3041e841 Boundary layers with user-defined heights/materials 2015-09-01 14:38:57 -04:00
Joachim Schoeberl
537a10945a boundary layer 2015-01-08 21:18:22 +00:00
Joachim Schoeberl
6b0079cca3 boundary layer 2015-01-07 10:58:09 +00:00
Joachim Schoeberl
4be52c4ee5 insert boundary layer 2014-12-18 16:46:54 +00:00
Joachim Schoeberl
49e108da4f boundary layer from python 2014-12-18 14:00:58 +00:00
Philippose Rajan
b2e8610f90 * Changes to the Boundary Layer generation system
* More user feedback when saving and exporting mesh files to disk
2009-10-27 23:04:42 +00:00
Philippose Rajan
4cc2d7dc92 * Prismatic Boundary Layers (Highly experimental code !!!)
* Works for basic cases, but does not check for mesh validity yet
* Lot of work to be done... not ready for general use yet !!
2009-06-19 05:43:23 +00:00
Joachim Schoeberl
310cb00b13 autotools 2009-01-12 23:40:13 +00:00