Commit Graph

750 Commits

Author SHA1 Message Date
Chris Hennes
94360c706e FEM: Remove set but unused variable 2024-06-24 18:17:11 +02:00
wmayer
a2939767ce FEM: Fix linking errors
The static members of FemSetElementNodesObject are not defined in Fem but FemGui which the MSVC compiler doesn't like.
Furthermore it's a code smell to make them public and static and they are not even used by the class itself.
2024-06-18 18:14:10 +02:00
wmayer
b8905ff87e Fem: Fix copyright notices
Do not clutter copyright notices with changes made to a file. That's the task of the VCS
2024-06-18 18:01:22 +02:00
Chris Hennes
3181c4f2a8 Merge branch 'main' into erase-version-4 2024-06-17 11:10:12 -05:00
marioalexis
99aebd8a33 Fem: Force z=0 for plane stress, plane strain and axisymmetric elements in writeABAQUS - fixes #12875 2024-06-17 10:57:31 -05:00
wmayer
636fa43c99 MSVC: Fix warnings and build failure 2024-06-12 10:36:58 -05:00
wmayer
d88253c2a1 Fix several compiler warnings
* variable 'xAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'yAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* variable 'zAngle' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* unused variable 'base' [-Werror,-Wunused-variable]
* unused variable 'extrude' [-Werror,-Wunused-variable]
2024-06-11 11:42:12 +02:00
marioalexis
d228d50755 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
25febcd7af Fem: Move functions to Tools class 2024-06-05 13:12:25 -03:00
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
dzid26
78eb91d8c3 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
pre-commit-ci[bot]
d71bc637a5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-22 10:21:10 +02:00
mos
ab30391742 [fem] clean
clean unused code
2024-05-22 10:21:10 +02:00
marioalexis
8920d76d93 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
marioalexis
cddc7b6a29 Fem: Change properties of the rigid body constraint 2024-05-16 12:51:37 -05:00
FEA-eng
53b9c0b6e6 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
FEA-eng
f012e92e33 Fem: Update properties of ConstraintRigidBody 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
845c0e7bcd FEM: Add unit test for new ConstraintRigidBody object 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
a9bff5b7b3 [FEM] Add rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis84
7962136169 Fem: Add radiation heat transfer (#13466)
* FEM: Add radiation heat transfer
* FEM: Add radiation heat transfer to CalculiX writer
* FEM: Update .inp files
* Fem: Rename heat flux ui members

---------

Co-authored-by: FEA-eng <59876896+FEA-eng@users.noreply.github.com>
2024-04-29 10:53:59 -05:00
marioalexis
6aabe77a1a Fem: Constraint symbol scaling based on shape size - fixes #7030 2024-04-29 10:46:40 -05:00
Chris Hennes
97218d4c87 Merge pull request #13464 from marioalexis84/fem-ccx_element_types
Fem: Add element types to ABAQUS writer
2024-04-22 11:05:26 -05:00
marioalexis84
0be9e68fcd Fem: Constraint symbol scaling (#13274)
* Fem: Constraint symbols rescaling

* Fem: Add constraint symbol .iv files

* Fem: Fix contact constraint symbol rescaling

* Fem: Fix displacement constraint symbol rescaling

* Fem: Fix fixed constraint symbol rescaling

* Fem: Fix force constraint symbol rescaling

* Fem: Fix heat flux constraint symbol rescaling

* Fem: Fix plane rotation constraint symbol rescaling

* Fem: Fix pressure constraint symbol rescaling

* Fem: Fix spring constraint symbol rescaling

* Fem: Fix temperature constraint symbol rescaling

* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
FEA-eng
1d1547e849 FEM: Add NetGen Min Size (#12794) 2024-04-18 23:05:57 -05:00
marioalexis
be65d1a252 Fem: Add element types to ABAQUS writer 2024-04-16 11:28:52 -03:00
Florian Foinant-Willig
d46f424a6a FEM: allow to Suppress the constraints (#12359)
* FEM: Introduce suppressible constraints

* fix public inheritance
2024-04-08 10:43:54 -05:00
wmayer
a4cd7f6012 FEM: Handle unknown exception when applying a constraint to a B-Spline surface
Fixes #13213

An OCC exception is raised when trying to normalize a null vector. The solution is to check the square length before normalizing it
2024-04-01 19:38:28 +02:00
Chris Hennes
89907f6299 FEM: Rename vtkWriter to femVTKWriter to make MSVC happy 2024-03-27 12:08:29 +01:00
wmayer
12cd8068f5 FEM: fix some linter warnings 2024-03-22 09:37:26 +01:00
marioalexis
f4bbfed153 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
marioalexis
001487b933 Fem: Export/import mesh elements to Vtk using proper order 2024-03-13 05:50:17 -03:00
mosfet80
7713a33d9b [MOD] clean SMESH (#12754)
removed old smesh CODE <7
2024-03-11 12:13:00 -05:00
Ladislav Michl
d95b56137b Base: Implement TimeElapsed
Some instances of TimeInfo serve the sole purpose of measuring time
duration. Using system time is unfortunate as it returns wall clock,
which is not guaranteed to be monotonic. Replace such a usage with
the new TimeElapsed class based on steady clock.
2024-03-05 12:29:24 +01:00
marioalexis
451a98383c Fem: Use mixed cell types in pipeline unstructured grid - fixes #12581 2024-03-04 13:01:35 -06:00
marioalexis
5350f94201 Fem: Update constraint symbols when moving reference shape - fixes #6093 2024-02-26 04:01:28 -03:00
wmayer
b85aabcc88 Fixes #12586: FEM requires OpenMP 5.0 (e.g. GCC >= 9) 2024-02-24 21:11:06 +01:00
marioalexis
b23c5f6721 Fem: Move Points and Normals properties to base class 2024-02-15 13:31:20 -06:00
marioalexis
88df52c955 Fem: Use override 2024-02-08 08:29:19 -06:00
Alexander Neumann
4260e4b3ad move #include <SMESH_Version.h> out of ifndef _PreComp_
fix position of #endif for MEFISTO removal
2024-02-05 08:50:56 -06:00
marioalexis
7e5bb7361a Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
336bf03ada Fem: Call base class handleChangedProperyType function 2024-01-20 20:20:56 -07:00
marioalexis
7b63799a7e Fem: Fix constraint arrows - fixes #6073 2024-01-15 19:21:09 -06:00
Alexander Neumann
2bf42925f5 Guard MEFISTO code with version check against SMESH. 2024-01-15 10:44:06 -06:00
mac-the-bike
de27dbc442 Merge branch 'main' into erase-version-4 2023-12-14 13:33:42 +00:00
mosfet80
f9f1f88426 casts clean (#11548)
* remove unecessary casts

clean unused code

revert  example py code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-04 10:51:36 -06:00
Chris Hennes
cfd41683a5 Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive-

* App: Fixes for MSVC permissive-

* Gui: Fixes for MSVC permissive-

* Main: Fixes for MSVC permissive-

* Fem: Fixes for MSVC permissive-

* Material: Fixes for MSVC permissive-

* Part: Fixes for MSVC permissive-

* Mesh: Fixes for MSVC permissive-

* Points: Fixes for MSVC permissive-

* Robot: Fixes for MSVC permissive-

* TechDraw: Fixes for MSVC permissive-

* Path: Fixes for MSVC permissive-

* Core; Changes per review comments

* TD: Revision from wandererfan

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
pre-commit-ci[bot]
c1f71489e0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-22 12:02:43 +00:00
mac-the-bike
408eed1657 Version 4 of the Erasing Elements Code 2023-11-22 11:56:21 +00:00
Chris Hennes
37a8e348c6 Merge pull request #11231 from DeflateAwning/http-cleanup
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
1e3179e9bc Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00