Commit Graph

2919 Commits

Author SHA1 Message Date
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
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
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
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
cesarconopoima
d2cb3e2d6f [bos #39969][CEA] Mesh name change wehn submesh is edited. 2023-12-04 11:53:16 +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
AUDOUIN Yoann
274fd4f2db Merge commit '6600bcec782fc8b6c72871fe6e08bd19a34a4e2b' 2023-10-30 08:17:28 +01:00
cconopoima
1eed742fd3 [bos #38088] [CEA] Create documentation for Offset transformation in SMESH.
Fixing typo critireas is criterias.
2023-10-23 16:02:05 +01: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
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
mbs
3f904f17c9 fixed bos#37786: SMESH_MGAdaptTests_without_session random failures 2023-10-03 10:37:25 +01:00
Yoann Audouin
be238b4bb0 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)
2023-09-26 10:41:53 +02:00
cconopoima
cc2c7dfdc0 bos #36783 [EDF] Use BRepTopAdaptor_FClass2d classifier for edges with tighter tolerance. 2023-09-19 10:00:49 +01:00
YOANN AUDOUIN
ea6c739385 Forcing removal of temporary output file for MG_adapt 2023-09-11 15:36:36 +02:00
YOANN AUDOUIN
f0898a6840 Revert "Adding Multinode method for smesh parallelism + cleanup and doc"
This reverts commit 93edbb3a29.
2023-09-04 08:00:13 +02:00
Yoann Audouin
93edbb3a29 Adding Multinode method for smesh parallelism + cleanup and doc 2023-08-31 11:19:55 +02:00
cconopoima
964c854356 bos #32735 [CEA] Create 2D Mesh from 3D elements.
Adding test and icon to cmake. Adding the keyword MakeBoundaryOfEachElement to the 2smeshpy util class.

Add missing french translations of dialog box and operations results. Update copyright message of SMESHGUI_MakeFull2DFrom3DOp new class.
2023-08-10 17:08:57 +01:00
asozinov
dbda21f07d Fix compilation problem on Windows 2023-08-10 11:51:52 +01: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
jfa
e0552dbb7f Merge branch 'V9_11_BR' 2023-07-19 16:38:00 +01:00
YOANN AUDOUIN
ca50de3bc4 Correction for dual mesh + improve test to check more options 2023-06-27 11:29:53 +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
asozinov
c8dfd88621 bos #35165 [CEA] Clear the mesh when an hypothesis is added to an algorithm
- Call Update after add hypothesis
- Fix problem, when after change hypothesis mesh in VTKViewer not clears automatically
2023-05-31 09:30:37 +02:00
asozinov
6600bcec78 CR32840 - EDF 26406 - problem of dump
Fixed problem with initialize QuadrangleParameters with default parameters for Quadrangle 2D algo after load of python dump
2023-05-24 11:39:51 +01:00
mbs
f225890cff fixed bos#32896 2023-05-11 14:13:24 +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
Christophe Bourcier
a53a9fc74d Improve new MG license mechanism to make it work on Windows
Use additional functions of MGKEYGEN for version detection to work on Windows (thanks to Nabil)

Use spaces instead of tabs

Ensure backward compatibility using either functions from .so/dll or environment variables MESHGEMS_VERSION_MAJOR/MINOR/PATCH defined in SAT

remove blank space

Fix coding style
2023-05-09 12:03:06 +02:00
Konstantin Leontev
e1d1e96602 [bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects. 2023-04-26 15:44:07 +01:00
cconopoima
5710686a4b [bos #34270] Fix Length 2D control still displayed after mesh cleared on hypothesis change 2023-04-21 09:12:59 +02:00
Christophe Bourcier
1117f6b618 Improve new MG license mechanism to be binary compatible 2.14/2.15 2023-04-20 16:35:50 +02:00
Konstantin Leontev
426c37e4f6 [bos #32736][CEA] Threshold of criteria. Added Threshold and Wireframe Off checkbox to the Scalar Bar Properties dialog. 2023-04-19 16:53:41 +01:00
Anthony Geay
542718ee9d First integration of a new PV3D viewer. 2023-04-17 09:12:04 +02:00
Christophe Bourcier
2c3f99cda1 Upgrade to new MG license mechanism and keep compatibility with old ones
spns #33658 - fix compilation issue on Windows (thanks to Nabil)
2023-04-12 10:33:31 +02:00
Frederic Pons
1ade5b1884 Check result of Compute() in test and examples 2023-03-29 14:18:23 +02:00
Nabil Ghodbane
2271025156 fix remaining compilation issues on Windows - to be reviewed 2023-03-28 16:28:16 +02:00
Yoann Audouin
3802af1251 Back to WIN32 2023-03-28 08:46:24 +02:00
Yoann Audouin
9afcd890f5 Replace WIN32 by DISABLE_PSMESH 2023-03-28 08:45:16 +02:00
Yoann Audouin
b5ad174931 Missing files 2023-03-23 11:17:44 +01:00
AUDOUIN Yoann
51540539e5 Merge commit '7ce6e800256c653b878d88163ff8576d16ed5a27' 2023-03-23 08:43:01 +01:00
Yoann Audouin
d328a1d7b8 Cleanup of parallel meshing + documentation 2023-03-22 17:24:14 +01:00
cconopoima
7ce6e80025 Small hack to update the mesh representation after succeded mesh creation in the case the first call to mesh creation failed. 2023-03-20 13:04:55 -03: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
81234020e4 Missing french translation for dual mesh GUI 2022-12-12 17:32:49 +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
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
Christophe Bourcier
ffb7bc8359 Fix warning when loading SMESH plugins resources 2022-11-09 14:38:26 +01:00
Christophe Bourcier
99a1ddda17 Fix group of faces identification from dual mesh skin 2022-11-04 17:57:54 +01:00
Yoann Audouin
5123821d4d Revert "Merge branch 'yan/parallel_mesh2'"
This reverts commit 4403c126a0, reversing
changes made to 4dc895105a.
2022-11-03 15:18:26 +01:00
Yoann Audouin
f6a8df1d49 Revert "Corrections for compilation on other OS"
This reverts commit df57f987dd.
2022-11-03 15:18:26 +01:00
Afeef
255c738799 Better layout with documentation update
Thanks to Christophe
2022-11-03 11:52:23 +01:00
Christophe Bourcier
8606805252 Improve Top-ii-Vol dialog box layout
And add CEA to copyright
2022-11-02 16:49:55 +01:00
Yoann Audouin
df57f987dd Corrections for compilation on other OS 2022-10-26 10:33:28 +02:00
Yoann Audouin
f2b0294388 Restoring comment of unregister to investigate 2022-10-18 15:23:33 +02:00
Yoann Audouin
c8f2626526 Minor corrections for debug messages 2022-10-18 15:02:19 +02:00
Yoann Audouin
60aec28a55 Replacing std::mutex by boost::mutex as std::mutex is not on S10 2022-10-18 15:02:19 +02:00
Yoann Audouin
e2a0dc7815 Adding comments 2022-10-18 15:02:19 +02:00
Yoann Audouin
effd6e2229 Adding code for Python parallel mesh with test + removing nbMesherThreads 2022-10-18 15:02:19 +02:00
Yoann Audouin
710bfb39c4 Update of copyright 2022-10-18 15:02:19 +02:00
Yoann Audouin
9ecd84933a Created MeshLocker to replace Lock/Unlock + replacing std::cerr by exceptions + replacing assign in submesh by call to algo function 2022-10-18 15:02:19 +02:00
Yoann Audouin
c9a5231c32 Splitting gen compute seq/para + clean up + remove int argument + solve bug (commented notifyevent) 2022-10-18 15:02:19 +02:00
Yoann Audouin
d5617f4801 Split of seq/par compute in gen 2022-10-18 15:02:19 +02:00
Yoann Audouin
640594fef6 Minor correction 2022-10-18 15:02:19 +02:00
Yoann Audouin
a91b37ceb3 Clean up of cout replaced by MESSAGE + minor corrections 2022-10-18 15:02:19 +02:00
Yoann Audouin
ee7ca3d826 Restoring Regular 1D 2022-10-18 15:02:19 +02:00
Yoann Audouin
cc3662690d Removing hard coded meshname from Mesh import 2022-10-18 15:02:19 +02:00
Yoann Audouin
45f8178054 Adaptation to NETGEN_Remote 2022-10-18 15:02:19 +02:00
Yoann Audouin
b58c9632e3 Removing todo 2022-10-18 15:02:19 +02:00
Yoann Audouin
78c4fca7f3 Adding support for BRep for shape 2022-10-18 15:02:19 +02:00
Yoann Audouin
e0859e6a65 Mesh object not deleted in Python + deleting temporary folder when destructing SMESH_Mesh 2022-10-18 15:02:19 +02:00
Yoann Audouin
3846e0a7e8 Renamming function and files 2022-10-18 15:01:44 +02:00
Yoann Audouin
33f226d321 Adding support of number of thread for the mesher 2022-10-18 15:01:44 +02:00
Yoann Audouin
7a915a21ea Replacing ctpl by boost::thread_pool 2022-10-18 15:01:44 +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
3f96b31757 Integration of run_mesher code 2022-10-18 15:01:44 +02:00
Yoann Audouin
67ee393af6 Restoring orignal compute + cleanup 2022-10-18 15:01:44 +02:00
Yoann Audouin
5d3c1425f8 Adding SetNbThreads in Python to set if compute will be done in parallel 2022-10-18 15:01:44 +02:00
Yoann Audouin
0be5e44fdf Working version for 3d with run_mesher 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
Anthony Geay
4dc895105a Fix compilation on windows 2022-10-17 12:44:49 +02:00