546 Commits

Author SHA1 Message Date
mbs
b6b837fc3e manually reverted commit d69e4fb6c7c3a0 to get good pyramides 2025-01-07 11:17:06 +00:00
asozinov
6e3eeaa6b3 Regression with free nodes after 42002 refactoring
Commented again line with if condition for removing free nodes
2024-12-20 15:56:44 +00:00
Konstantin Leontev
9dd9f7684c [bos #43370] Swich Composite Side to Wire Discretization. Fixed when a propagation chain weren't rebuilt after changing an algorithm on father mesh. Added tests. Added a note about calling base class clear() for a child of SMDS_ElementHolder. Removed redundant output. 2024-12-16 15:05:19 +00:00
mbs
63567f57a1 [bos #43494] fixed Arithmetic1D discretization and added new error compensation function 2024-12-16 13:51:17 +00:00
Esukhareva
d67308f4f8 bos #43483 [CEA 42969] Viscous Layers generation issue 2024-12-16 11:19:15 +00:00
asozinov
a1e2cdd1ed 42056 [CEA] Viscous layer 2D fails on a disc
Fix problem with VL in some cases
2024-10-15 13:54:09 +02:00
Ekaterina Sukhareva
1ea734c62e [CEA] Wrong mesh generated by Import1D2D on a cylindrical hole and sometime crash 2024-10-15 09:59:53 +02:00
Konstantin Leontev
df79d42e30 [bos #42851][CEA][Windows] SMESH compilation broken. Classifier class moved from a source file to a separated header, so templates could know its size on compile time (we had an error with forward declaration). Added numeric header. 2024-09-04 10:28:43 +01:00
Konstantin Leontev
37de8d765a [bos #42217][EDF 28921] Horseshoe with bodyfitting. Commented open edges capping because of producing null nodes. 2024-08-26 16:26:42 +01:00
Konstantin Leontev
a605c12d81 [bos #42217][EDF 28921] Horseshoe with bodyfitting. Fixed wrong nodes num in open edges capping. 2024-08-26 16:04:30 +01:00
Konstantin Leontev
c4bd5657c4 [bos #42217][EDF 28921] Horseshoe with bodyfitting. Updated to fix some tests issues from previous removing of polygons implementation. 2024-08-23 21:00:14 +01:00
Konstantin Leontev
dd7f711c07 [bos #42217][EDF 28921] Horseshoe with bodyfitting. Added subdivision for overlapped polygons and removing of polygons with edges those are not connected with any other polygon in a volume. 2024-08-21 17:48:29 +01:00
Konstantin Leontev
dda7e97469 [bos #42217][EDF 28921] Horseshoe with bodyfitting.
Added operators << for nodes and links debug output.
2024-08-06 12:24:46 +01:00
Konstantin Leontev
312549ec64 [bos #42217][EDF 28921] Horseshoe with bodyfitting.
Nodes linked to a null nodes without any possible splits now being cleared befor splits initialization. This prevents building non-planar faces in cases when the source geometry surface coincident with an intermediate grid plane.
2024-08-05 13:44:07 +01:00
Konstantin Leontev
05136f0f59 [bos #42217][EDF 28921] Horseshoe with bodyfitting.
Fixed endless loop of creating threads and crash for an edge case when num of threads greater than num of hexaedrons to compute.
2024-08-05 12:57:49 +01:00
jfa
02ad02e211 Some fixes 2024-07-26 13:46:11 +01:00
jfa
2a2216e5d2 [bos #42002] BodyFitting refactoring: NRTJ4 test fails after moving a part of code into a separate method 2024-07-19 15:19:47 +01:00
jfa
b6e0752eac Avoid anonymous namespaces and 'using' instructions in headers. Simplify tests code. Continue refactoring of Hexahedron::compute() method. 2024-07-19 12:53:33 +01:00
cconopoima
9f7d4a55e2 [bos #42002][EDF] (2024) Bodyfitting refactoring. Implement classes Hexahedron and Grid in independent sources, write c++ unit tests for those utility classes. Replace parallel iterator of TBB by std::thread implementation to have control on the number of threads implemented. Solve random behavior.
Add Hexahedron test to be run by ctest. Include CPP unit test headers and libs to we use testAsserts.
2024-06-27 19:02:12 +01:00
cconopoima
1396881275 [bos #38500 #41499 #41496][EDF] Move thread header inclussion outside TBB conditional to allow compilation when TBB=OFF in SMESH. 2024-06-20 09:58:10 +01:00
cconopoima
a4d1fae96a [bos #38500 #41499 #41496][EDF] Make body fitting thread safe. Implement new parallel for function with std::threads to compute the elements and include needed lock_guard mutex wrapper in problematic function ::Add of B_Intersection and Hexahedron class. 2024-06-18 09:55:50 +01:00
cconopoima
27c8af8c6e [bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize properly on medial axe construction leading to wrong mesh of the face. 2024-06-06 12:28:04 +01:00
Cesar CONOPOIMA
b9d215ee2d [bos #40649][CEA] Export Structured mesh in CGNS format for 2DQuadrangle and 3DHexahedron(i,j,k). 2024-05-27 12:24:14 +01:00
cconopoima
1a19565041 [bos #41867][CEA] Handle properly 3D VL when certain edges are not meshed. 2024-05-27 10:15:52 +01:00
jfa
0eea513c93 Porting to OCCT 7.8.0 2024-05-16 08:51:45 +01:00
Konstantin Leontev
651e4ea969 [bos #40650][CEA 33012] Beta Law distribution: added a new type of distribution for Wire Discretisation algorith Number of Segments. 2024-05-13 15:01:16 +01:00
cconopoima
9a170f0e1e [bos #38052][EDF](2023-T3) Option to replace polyhedrons by hexahedrons in the body frontier based in a predefined volume relation.
Including quanta option to hypothesis with persistence. Working version w/o support to add faces on the boundary elements.

Intermedial commit.

Intermedial commit.

Adding documentation and test.

Final adjust for conformity with NRT.
2024-01-23 17:25:57 +00:00
mbs
3b570ddfbe Updated copyright comment 2024-01-20 14:16:41 +00:00
cconopoima
0d03310b89 [bos #40035][EDF] Handle Salome Exception in interface to retun meaninfull error message when the shrink geometry does not match the topology of the original geometry. 2023-12-07 09:30:46 +00:00
cconopoima
1dab7a05bb [bos #38521][EDF] Split Polyhedron with more than one volume.
Improve comment and add bother volumes to mesh body.

.

Change typo of counters to avoid compilation warnings.
2023-11-14 16:38:35 +00:00
cconopoima
b363bece45 bos #37027 [EDF] Define more general geomTol value to detect mesh edges in geom edges in 1D meshing import.
.

..
2023-11-13 10:31:24 +00:00
cconopoima
d3c3260cd9 [bos #35147] [EDF] (2023-T1) Decompose Viscous Layer API.
Delete .vscode/settings.json

Publish shrinkGeometry.

Refactor StdMeshers_Cartesian_3D and StdMeshers_Cartesian_VL classes to allow passing an arbitrary shrink mesh to the viscous layer builder. Use StdMeshers_Cartesian_VL in StdMeshers_ViscousLayerBuilder to handle geometry shrinking and viscous layer building.

Create maps to link shrink solid and the solid assign to the shrink mesh. Code cleanup.

Defining map btw original shape (TopAbs_COMPOUND) and result shrink object. Refactor to support viscous layer of faces. Code clean up and add of tests.

Documentation and code cleanup

erase debug comment.

Modif after code review.

Avoid compilation warning from ViscousLayerBuilder and ViscousLayerBuilder_i classes.
2023-10-18 11:53:54 +01:00
cconopoima
2f549d1c9a bos #33557 [CEA] Merge pyramid method using geometrical median for the apex.
Avoid include twice SMDS_VolumeTool header.

update expected values in cubeMilieu.py
2023-10-03 13:29:28 +02:00
cconopoima
cc2c7dfdc0 bos #36783 [EDF] Use BRepTopAdaptor_FClass2d classifier for edges with tighter tolerance. 2023-09-19 10:00:49 +01:00
mbs
120207d740 updated copyright message 2023-06-19 22:11:37 +01:00
mbs
7e714e8fc0 updated copyright message 2023-06-16 20:28:19 +01:00
eap
c9294ee688 bos #17015 [CEA 17008] Body fitting with Viscous Layers for CFD meshing
fix for inlet/outlet

Fix for negative volumes due to merge

increase tolerance for search of equal intersection points

Remove old tol2 declaration
2023-05-10 08:32:07 +02:00
Yoann Audouin
d328a1d7b8 Cleanup of parallel meshing + documentation 2023-03-22 17:24:14 +01:00
jfa
483e992a6d Porting Salome to OCCT 7.7.0 2023-02-22 22:46:07 +00:00
Christophe Bourcier
38ab7c3864 Improve error message 2023-01-31 16:10:37 +01:00
Yoann Audouin
7292711034 Adding parallel meshing (NETGEN only, Linux Only)
See example test/SMESH_ParallelCompute.py for an example
2022-11-15 16:47:21 +01:00
Konstantin LEONTEV
fa95110a3b [bos #32517][EDF] Dynamic log messages switched on and off by SALOME_VERBOSE environment variable 2022-11-15 09:04:21 +03:00
Yoann Audouin
da9f965ac4 Revert "Merge branch 'yan/parallel_mesh2'"
This reverts commit 4403c126a0d688d98888156656f1df387a1b1dee, reversing
changes made to 4dc895105ab7686df2e2987d35d46a4e379ea707.
2022-11-02 10:54:05 +01:00
Yoann Audouin
ee7ca3d826 Restoring Regular 1D 2022-10-18 15:02:19 +02:00
Yoann Audouin
446efab777 Deactivating parallelism for 2D/1D + corrections for non parallel run + adding ParallelCompute function in Python 2022-10-18 15:01:44 +02:00
Yoann Audouin
2323e27949 Parallel version for 1d mesher number of segment 2022-10-18 15:01:44 +02:00
Yoann Audouin
6a94434123 WIP 2022-10-18 15:01:44 +02:00
vsr
9d7121c884 bos #29628 Remove MEFISTO 2D algorithm 2022-06-08 13:36:08 +03:00
eap
4df9beadff fix 2D_mesh_QuadranglePreference_01/B8 2022-05-20 18:00:10 +03:00
vsr
499f29d249 Copyright update 2022 2022-05-05 16:51:14 +03:00