Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
2f85c8d0c4 Handling cas were shaperstudy is not avaialable for salome on demand 2024-02-14 14:37:13 +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
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
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
e3d582dca7 bos #34269 [CEA] Function to check same face orientation for polyhedrals used on the computation of their volume. 2023-10-03 13:45:48 +02:00
Christophe Bourcier
e0c1dd6f36 Add test for fix bos #33557 2023-10-03 13:31:37 +02:00
Christophe Bourcier
0dbcca5093 Some improvements on Scaled Jacobian:
- add math to sphinx to generate the formulas
- change the icon to deformed hexahedrons
- add a test on deformed hexahedrons
- update the example use case on the doc to deformed hexahedrons
2023-08-08 13:35:47 +02:00
cconopoima
9ac965c0e3 bos #32738 [CEA] Scaled Jacobian quality mesh measure for volumetric elements.
Erase non tracke files

Adding some comments on SMESH_Controls. Fixing compilation warning on SMDS_VolumeTool and add missing lines in interface files.

Add implemented tests to tests.set

Correction on SMESH_msg_fr and copyright msg of python test.
2023-08-08 13:35:47 +02: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
Nabil Ghodbane
2e1907fd4d bos #35256: remove lapsed test_smeshplugin_mg_tetra_parallele.py since 3DS does not market mg-tetra HPC MPI (2.15 onwards) 2023-05-11 13:52:29 +02:00
Christophe Bourcier
58f6f92639 Add tests for viscous layers with body fitting 2023-05-10 09:27:16 +02:00
Frederic Pons
9c68cb9dab Fix Compute for Homard 2023-04-05 18:11:36 +02:00
Frederic Pons
1ade5b1884 Check result of Compute() in test and examples 2023-03-29 14:18:23 +02:00
Nabil Ghodbane
d1392dc034 Fix two failing tests on Windows:
1- ex30_tepal.py -  vetoe this test on Windows since 3D Mesher is not available GHS3DRPL -  MeshGemsh
  2- creating_parallel_mesh.py: on windows we build Python without tcl/tk thus tkinter module is missing -  do not raise exception in that case
Tested OK on Windows
2023-03-29 13:16:34 +02:00
Yoann Audouin
d328a1d7b8 Cleanup of parallel meshing + documentation 2023-03-22 17:24:14 +01:00
Christophe Bourcier
aedb674c28 Improve projection of dual mesh nodes:
- first project nodes on edges, then project on faces
- keep the relation from the sub-shapes to the mesh by groups
Also:
- Code cleaning in dual mesh
- Remove tmp folder of dual mesh
- Fix for Windows (thanks to Nabil)
2022-11-21 14:47:06 +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
Christophe Bourcier
99a1ddda17 Fix group of faces identification from dual mesh skin 2022-11-04 17:57:54 +01:00
Yoann Audouin
da9f965ac4 Revert "Merge branch 'yan/parallel_mesh2'"
This reverts commit 4403c126a0, reversing
changes made to 4dc895105a.
2022-11-02 10:54:05 +01:00
Yoann Audouin
effd6e2229 Adding code for Python parallel mesh with test + removing nbMesherThreads 2022-10-18 15:02:19 +02:00
Yoann Audouin
43fc1c7182 Correction for test 2022-10-18 15:02:19 +02:00
Yoann Audouin
3a97cee0d2 Adding tests for netgen_runner and parallel compute 2022-10-18 15:02:17 +02:00
Yoann Audouin
c3ca179bcb Handling error in PyRun + better import of MED file 2022-10-13 14:33:43 +02:00
Yoann Audouin
b131becc08 Adding user documentation 2022-10-13 14:33:36 +02:00
Yoann Audouin
7d1a127bbb Corrections to handle adapation to shape 2022-10-13 14:33:36 +02:00
Yoann Audouin
08485b06fa Working version of dual_meshing (using medcoupling) functionality 2022-10-13 14:33:33 +02:00
vsr
9d7121c884 bos #29628 Remove MEFISTO 2D algorithm 2022-06-08 13:36:08 +03:00
vsr
4cf07a1411 bos #29171 Refactor testing procedure 2022-06-07 12:06:48 +03:00
vsr
499f29d249 Copyright update 2022 2022-05-05 16:51:14 +03:00
vsr
a274ade365 Copyright update 2021 2021-03-23 17:44:29 +03:00
vsr
0fc0831670 Copyright update 2020 2020-04-15 18:19:44 +03:00
vsr
7e3bbc4f00 bos #18970 [CEA] SMESH test won't compile if RESTRICTED/RESTRICTED_ROOT_DIR missing 2020-04-14 11:34:00 +03:00
vsr
d85d605175 Add tests for connection with SHAPERSTUDY 2020-04-13 19:22:14 +03:00