Commit Graph

3324 Commits

Author SHA1 Message Date
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
a8ab49d0b3 [bos #42217][EDF 28921] Horseshoe with bodyfitting. Added vtkTriangleFilter to prevent concave polygons render artifacts. 2024-08-12 12:42:04 +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
135a1513d4 Separating unit test for imported geometries and canonical shapes. Small modif on the numofthreads vector to avoid slow test run on machines with few cores. Erasing sporious files. 2024-07-12 13:29:04 +01:00
jfa
f7e94c2a07 Add some unit tests 2024-07-11 16:46:22 +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
Christophe Bourcier
cc09b83e05 StructuredCGNS - Write FamilyName info to be able to get the original group name from the BC node 2024-06-26 15:57:46 +02: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
cconopoima
3c7d932660 [bos #40649][CEA] include support to export when cgns is compile with option DCGNS_ENABLE_64BIT:BOOL=ON 2024-06-06 10:28:45 +01:00
Christophe Bourcier
453bbcd621 [COTECH] Fix copyright to be CEA, EDF 2024-06-03 12:59:18 +02:00
cconopoima
1c803cac61 [bos #41978][EDF] Edit table of density on wire discretization. Load properly the first Value of the entry on edit submesh. 2024-05-31 11:20:38 +01:00
mbs
e5b66ee76e Fixed installation issue on Windows 2024-05-28 17:20:55 +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
Konstantin Leontev
e85c9d5b6b [bos #40653][CEA] New mesh import export formats with meshio.
Added using MESHIO_VERSION env variable to detect meshio version.
Exodus format removed from a file filter on Windows.
2024-05-22 11:58:12 +01:00
mbs
35c26749e5 Merge branch 'OCCT780' 2024-05-16 08:52:48 +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
Konstantin Leontev
6cad3d5607 [bos #40653][CEA] New mesh import export formats with meshio. 2024-05-02 11:35:14 +01:00
yoann.audouin
6fe43e9346 Update of CheckDone
Removed the isDone argument using cxx isComputedOK instead (now in the
idl)
Corrected a bug when doing multiple compute checkCompute was not
properly removed.
2024-03-21 15:25:31 +01:00
YOANN AUDOUIN
127761db37 Compute also dump a check on isDone through function CheckCompute 2024-03-15 14:40:50 +01:00
cconopoima
42e25f073b [bos #38643][EDF] Laplacian Smoothing 2D.
Add support to periodic faces to the laplacian smoother.

.

Add support to periodic faces to the centroidalSmooth.

Do not move singular nodes that are placed in the surface instead of on the edge as in the BodyFitting algorithm.

Small modif in averageByElement to not initialize theUVMap unproperly when theSurface.IsNull().
2024-03-14 13:04:01 +00:00
yoann.audouin
e797720182 [box #38049][EDF] (2023-T3) Usages in SMESH 2024-03-14 08:12:12 +01:00
asozinov
66c7e4a32d [bos #32739][CEA] 3D warp
added new eControl
added new case for 3DWarp
Added new class for 3D Warp
Added 3D warp for use as filter

Threshold of criteria

Fix problem when the Threshold checkbox on Scalar Bar Properties does not remove elements outside of the range
2024-03-01 20:10:57 +00:00
yoann.audouin
af0dc2754a Adding python example on how to reproduce content of Mesh information for element and node 2024-03-01 16:10:15 +01:00
mbs
2de9636a4f bos#40018 - Mesh hypothesis window is not modal
show/hide mesh window, whenever hypothesis window gets displayed
2024-02-28 17:59:46 +00:00
Christophe Bourcier
92d86c3c19 Fix bos #40700 Only test volume of pyramids (min and max) to not be dependant of MG-Tetra mesh 2024-02-19 09:24:34 +01:00
yoann.audouin
f4c4faf3d9 Correction for parallel mesh 2024-02-15 16:51:18 +01:00
yoann.audouin
2f85c8d0c4 Handling cas were shaperstudy is not avaialable for salome on demand 2024-02-14 14:37:13 +01:00
AUDOUIN Yoann
29136aef51 Merge commit '9a170f0e1e02756cc5ea83e717a69ce72732f0b9' 2024-02-09 09:51:16 +01:00
cconopoima
bdcf8f151a [bos #40505][CEA] Allow assign of 3D Tetra paramam on imported 2D mesh. 2024-01-25 14:11:00 +00:00
yoann.audouin
aa4fd29b86 Minor correction in documentation 2024-01-24 16:19:28 +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
yoann.audouin
aa034dad38 Modifications to properly handle parallel compute for 2D 2024-01-18 10:27:15 +00:00
yoann.audouin
b0b5c3242d Handling gmsh global parameter for a gmsh ParallelMesh 2024-01-18 10:27:15 +00:00
cconopoima
a33b1ed60e [bos #38045][bos #38046] New SA versions of NETGEN and GMSH.
Add netgen_runner_test for 1D2D3D

add test for gmsh_runner

Improve test for netgen and gmsh. Add new versions in option mesher_launcher.py

Add test for Netgen2D SA version.

Test for Netgen 2D SA version.

Code cleanup.

Adapt mesher_launcher and add creating_parallel_gmsh_mesh.py test for Remote version of 3D GMSH.

test for parallel mesh for 2D using new netgen SA/Remote version. Add the possibility to export Mesh1D.med in SMESH_Gen.cxx at method parallelComputeSubMeshes. Modify the constructor of ParallelMesh class in smeshBuilder to handle 2D meshing in parallel.
2024-01-18 10:27:15 +00:00
jfa
d2955ae6fb Merge branch 'V9_12_BR' 2024-01-13 00:44:31 +00:00
YOANN AUDOUIN
d006955bea Better error handling for parallel mesh 2023-12-13 11:15:08 +01: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
BERNHARD Martin OpenCascade
9340c7602a Merge commit 'd2cb3e2d6f20bc6b7d1cca13a6b6339a6f582cdb' into V9_12_BR 2023-12-06 16:34:31 +01:00
cesarconopoima
d2cb3e2d6f [bos #39969][CEA] Mesh name change wehn submesh is edited. 2023-12-04 11:53:16 +00:00