cconopoima [Sun, 26 May 2024 12:04:12 +0000 (13:04 +0100)]
[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.
cconopoima [Tue, 18 Jun 2024 08:55:50 +0000 (09:55 +0100)]
[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.
cconopoima [Tue, 4 Jun 2024 14:42:08 +0000 (15:42 +0100)]
[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.
[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.
yoann.audouin [Thu, 21 Mar 2024 14:25:31 +0000 (15:25 +0100)]
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.
cconopoima [Tue, 31 Oct 2023 06:45:26 +0000 (06:45 +0000)]
[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.
cconopoima [Wed, 6 Dec 2023 11:53:31 +0000 (11:53 +0000)]
[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.
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.
Yoann Audouin [Thu, 9 Mar 2023 15:32:55 +0000 (16:32 +0100)]
Adding Multinode method for smesh parallelism (with windows fixed)
Adding walltime for multinode + keeping temporary folder activated with environement variable
bos #37471: fix compilation on Windows operating system. Note that SMESH_Gen::send_mesh current implementation is vetoed on windows OS (system call)
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
Nabil Ghodbane [Wed, 29 Mar 2023 11:16:34 +0000 (13:16 +0200)]
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
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)
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)