Commit Graph

852 Commits

Author SHA1 Message Date
FEA-eng
2379cc28c1 FEM: Add thermal contact with CalculiX (#22121) 2025-07-14 11:03:43 -05:00
Max Wilfinger
45bcd8ce6e Update src/Mod/Fem/App/AppFem.cpp
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com>
2025-06-30 10:35:42 -05:00
Max Wilfinger
483dbbae33 FEM: Update UI strings for consistency 2025-06-30 10:35:42 -05:00
Chris Hennes
04cd342f59 FEM: Fix missing VTK headers in PreCompiled.h 2025-06-28 16:21:25 +02:00
pre-commit-ci[bot]
0b2dae296d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-06-16 18:27:13 +00:00
Stefan Tröger
8dd3e90896 FEM: port DataAlongLine filter to use arc length.
This makes it easier for the new data extraction to also plot data over line length.
2025-06-15 10:57:47 +02:00
Stefan Tröger
463c6c9149 FEM: Adopt post extraction code to updated main 2025-06-15 10:57:47 +02:00
Stefan Tröger
ac02a222ff FEM: Draft architecture of post data extraction with histogram example 2025-06-15 10:57:46 +02:00
Ladislav Michl
70bea37ddd Fem: get unit via quantity
Unit is interally using Quantity to parse string input, so use it
explicitely as string constructor for Unit is going to be dropped.
2025-06-03 09:31:38 +02:00
mosfet80
79c93d4219 FEM: clean code (#21526)
* FEM: clean code

clean 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>
2025-06-02 12:13:35 +02:00
marioalexis
a7cf3a4900 Fem: Add support for VTK < 9.1 in calculator filter - fixes #21346 2025-05-19 17:50:17 +02:00
Luz Paz
ee4fa234c9 Fix various typos
Missed by the codespell CI not being functional for a period of time.
2025-05-15 10:59:48 -05:00
Chris Hennes
952485dcbb Merge pull request #19907 from benj5378/getAttribute
Base: make getAttribute template
2025-05-12 10:39:55 -05:00
Benjamin Bræstrup Sayoc
2b1aec0041 Base: make getAttribute template 2025-05-09 15:54:57 +02:00
Stefan Tröger
97d8608557 FEM: Fix test if VTK or VTK python is not available (#21168)
* FEM: Fix test if VTK or VTK python is not available
* FEM: Make test work if vtk python not installed
2025-05-08 15:55:45 -05:00
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
pre-commit-ci[bot]
4839988bb3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-02 07:29:09 +00:00
Stefan Tröger
f3edddcbdb FEM: Fix typos in python post processing code 2025-05-02 09:25:57 +02:00
Stefan Tröger
346558ab71 FEM: Handle python vtk user installs that conflict with FreeCAD VTK 2025-05-02 09:25:57 +02:00
Stefan Tröger
f20852e7e1 Fem: correctly handle python filters if vtk python is not available 2025-05-02 09:25:56 +02:00
Stefan Tröger
bbf5695562 Fem: make python filter build process more elegant 2025-05-02 09:25:56 +02:00
Stefan Tröger
9430bdde01 Fem: Implement basic python filter functionality and glyph example 2025-05-02 09:25:56 +02:00
Stefan Tröger
10eb015353 FEM: correct typos 2025-04-28 20:52:47 -05:00
Stefan Tröger
642eff1663 FEM: Ensure finite frame values only. Fixes #20933 2025-04-28 18:45:05 +02:00
Stefan Tröger
ea6c95a870 FEM: Fix post object load of unsupported VTK data type 2025-04-28 18:45:05 +02:00
Chris Hennes
cc1c6c2ab0 Merge pull request #20609 from marioalexis84/fem-ccx_refactor
Fem: SolverCalculiX refactor - Add option to import results as pipeline - Fixes #20541
2025-04-21 11:01:23 -05:00
Jacob Oursland
5c251e73ac python: apply const method annotations to impls. 2025-04-16 20:32:04 -07:00
marioalexis
006b73bf54 Fem: Add option to set data mode for SolverCalculiX 2025-04-15 08:49:23 -03:00
Benjamin Nauck
21fbf8e539 Use Base::toRadians() instead of manually converting 2025-04-15 07:16:36 +02:00
marioalexis
bf79ca2a0f Fem: Add properties to FemSolverObject 2025-04-12 02:10:25 -03:00
Kacper Donat
77e40b9747 Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast

This aligns our custom cast with other casts

* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895 Base: Rename Base::freecad_dynamic_cast into freecad_cast
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
marioalexis84
61b95ac6cd Fem: Update modification time for FemFrameSourceAlgorithm - fixes #20543 (#20548) 2025-04-01 23:19:53 -05:00
Kacper Donat
5658274bb8 Merge pull request #20559 from hyarion/refactor/add-limits
Add `#include <limits>` in all files where it is used
2025-04-01 17:11:50 +02:00
marioalexis
a1bc141c74 Fem: Add method to rename pipeline VTK data arrays 2025-04-01 06:35:17 +02:00
Benjamin Nauck
7c6db638c8 Fem: Add #include <limits> where used 2025-03-31 23:51:06 +02:00
Luz Paz
97e172334b Fix typos
Found via `codespell -q 3 -L aci,addmin,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,aply,apoints,ba,beginn,behaviour,bloaded,bottome,brushin,bu,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,documentin,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,findn,fle,freez,graphin,hist,iff,incrementin,indexin,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,leadin,localy,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,renderin,rin,ro,rougly,sectionin,seperator,serie,shs,sinc,siz,som,strack,substraction,te,technic,thist,thru,tread,tru,ue,uint,unter,uptodate,vas,vertexes,vew,wallthickness,whitespaces -S "./.git,*.po,*.ts,*.pdf,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDoc,./tools/build/WindowsInstaller/lang,./src/Mod/TechDraw/Templates/locale"`
2025-03-31 23:00:32 +02:00
Chris Hennes
95fbd95950 Merge pull request #20496 from hyarion/refactor/cppify-constants 2025-03-29 18:43:40 -05:00
Chris Hennes
19324fa3fe Fem: Remove unused variables 2025-03-29 14:31:22 -05:00
Chris Hennes
a077100c24 Merge pull request #20286 from marioalexis84/fem-calculator_filter
Fem: Add calculator filter
2025-03-29 14:30:48 -05:00
Benjamin Nauck
e2da3bce46 FEM: Use std::numeric_limits and std::numbers instead of defines 2025-03-29 13:32:38 +01:00
marioalexis
47e93539f2 Fem: Fix return value in FemPostPipelinePy::read 2025-03-28 16:39:34 +01:00
marioalexis
0cc1959832 Fem: Add calculator filter 2025-03-27 15:46:57 -03:00
Chris Hennes
a209926436 Fem: Add missing VTK headers from PCH 2025-03-24 23:16:02 -05:00
Chris Hennes
3cb3874eca FEM: Add missing vtkTransform.h header to PCH file
Also sort the VTK includes.
2025-03-24 10:29:00 -05:00
Chris Hennes
6c8cd994d3 FEM: myStudyId not needed when SMESH >= 9
Put guards not just around its use, but also its creation.
2025-03-23 08:56:31 +01:00
pre-commit-ci[bot]
44e15af433 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-22 23:27:10 +01:00
Stefan Tröger
b38170cb02 FEM: Update multiframe code after review 2025-03-22 23:27:10 +01:00
Stefan Tröger
713feb5f27 FEM: Multistep test fix for vtk 7.x 2025-03-22 23:27:10 +01:00
Stefan Tröger
3403fd0ebd FEM: Port elmer transient analysis to multiframe results 2025-03-22 23:27:10 +01:00