Commit Graph

184 Commits

Author SHA1 Message Date
marioalexis
8078e77169 Fem: Add option to use old Netgen mesher implementation 2024-10-07 18:11:11 +02:00
marioalexis
2b5a40c782 Fem: Replace old FemMesh Netgen object implementation 2024-09-16 00:06:20 -03:00
FEA-eng
aef3bdfe67 FEM: Start examples rework (#15786)
* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: add new example combining the previous 3

* FEM: Update CMakeLists.txt

* FEM: Update femmesh2mesh.py

* FEM: Update test_information.md

* FEM: Update test_result.py

* FEM: Update MaterialEditor.py

* FEM: Delete data/examples/FEMExample.FCStd

* FEM: add new example without logo
2024-08-12 17:46:09 -04:00
marioalexis
8cb42f8d59 Fem: Update test and examples 2024-07-28 16:27:20 -03:00
FEA-eng
857efe68b4 FEM: Update test_ccxtools.py 2024-07-14 15:21:00 +02:00
lyphrowny
cbea6b6094 FEM: reformat codebase 2024-06-23 16:26:36 +03:00
Ajinkya Dahale
4feb519bc9 FEM: Add unit test for new ConstraintRigidBody object 2024-05-16 12:51:37 -05:00
lyphrowny
f978e4b72b FEM: add floating point comparison for tests 2024-04-08 18:06:17 +02:00
lyphrowny
f2c8bb79d6 FEM: migrate calculix tests to ccxtools tests 2024-04-08 18:02:33 +02:00
lyphrowny
f6ababfdb4 FEM: Fix cxx typo and remove calculix from solvers tab in examples (#12876)
* FEM: remove calculix from solvers

* FEM: remove calculix from joint with ccxtools if branches

* FEM: remove calculix from its if

* FEM: fix cxx typo in translations

* FEM: fix cxx typo in classes name

* FEM: fix ccx typo in shortcuts

* FEM: convert FEM_*CcxTools to CamelCase

* FEM: remove tests related to calculix

* FEM: remove test_solver_calculix.py from Fem/CMakeLists.txt

* FEM: convert all 'CalculiXccxTools' to 'CalculiXCcxTools'

* FEM: revert changes in all *_*.ts files

* FEM: convert 'SolverCcxtools' to 'SolverCcxTools'

* FEM: convert remaining 'Ccxtools' to 'CcxTools'
2024-04-01 10:51:23 -05:00
Petter Reinholdtsen
a480e5e225 Skip open_de9b3fb438 s390x to avoid OOM.
The load of the current file in test_open_head is fine, but
open_de9b3fb438 goes into an OOM even in huge (e.g. 10GB) systemd.
This probably needs a proper fix by upstream in regard to the migration
modules that load the old code, but until then (since the rest works on s390x)
this unblocks the package self-test in Debian & Ubuntu.

Patch by Christian Ehrhardt <christian.ehrhardt@canonical.com>.

This is Debian bug https://bugs.debian.org/984952 and Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1918474.

Been part of the Debian edition of FreeCAD since 2021.
2023-07-10 09:53:20 -05:00
Chris Hennes
bdc0077497 FEM: Remove improperly licensed files
The original authors of these files could not be contacted to correct the licensing mistake in the FCStd files, so the test cases are removed.
2023-06-19 17:47:22 -05:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Uwe
2d3953f65f [FEM] Elmer add support for nonlinear elasticity solver
- adds new equation "Deformation" (this name since the stress solver got in FreeCAD the misleading name "elasticity")

- this way change icon of elastic solver to make the difference clear
2023-03-22 03:27:27 +01:00
Uwe
4ecf74322c [FEM] better pipeline connection for CalculiX
- make the connection also working for frequency and buckling analysis by directly creating/updating the pipeline where the CalculiX results are loaded
2023-03-16 06:12:14 +01:00
luzpaz
5c6ec58709 [Fem] fix grammar 2023-02-25 09:59:24 +01:00
Uwe
fa780e8b5b [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
95a6d1e208 [FEM] Elmer: add support for 3D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 14)
2023-02-10 19:48:31 +01:00
Uwe
04915b694b [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +01:00
Uwe
d5ac0758cf [FEM] Elmer: add support for 2D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 16)
2023-02-07 11:06:22 +01:00
Uwe
82b6e03625 [FEM] add current density constraint
- also add corresponding App::PropertyCurrentDensity

- also fix a typo in test_object.py
2023-02-05 21:10:15 +01:00
Uwe
27f50ad131 [FEM] add initial pressure constraint (#7364)
* [FEM] add initial pressure constraint

- this is needed for fluids
2022-08-14 20:00:36 +02:00
Bernd Hahnebach
ffd51eda61 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Uwe
a035d650b6 [FEM] remove checks for Python 2 2022-07-27 14:09:23 +02:00
Bernd Hahnebach
e49abfb350 FEM: python code formatting 2022-07-12 15:04:26 +02:00
Anders Torger
65718f0e51 Add General.NumThreads = CPU core count setting to Gmsh
settings file to enable multi-threaded meshing (much faster
for larger models)
2022-03-12 23:26:55 +01:00
Preslav
1ceaa09d17 Added spring boundary condition 2021-09-17 11:08:08 +02:00
Bernd Hahnebach
0942f4f55e FEM: calculix unit tests, add beam cross section tests 2021-08-04 22:26:07 +02:00
Bernd Hahnebach
0090cf64a9 FEM: unit tests calculix and cmake, move a method and a file 2021-08-04 22:26:02 +02:00
Bernd Hahnebach
117d928d5d FEM: unit test command file, add command for all FEM App tests 2021-08-01 11:42:43 +02:00
Bernd Hahnebach
005c66f4ec FEM: Mystran solver, add examples and writer unit tests 2021-07-31 16:57:01 +02:00
Bernd Hahnebach
cdcd271b4c FEM: Mystran solver, add solver, writer, tasks and constraint force and
fixed writing
2021-07-31 16:57:01 +02:00
Bernd Hahnebach
e6a6ac3725 FEM: unit tests, temporary deactivate 2 unit tests as they fail on ci 2021-07-29 13:23:43 +02:00
Bernd Hahnebach
551e6e9675 FEM: examples and unit tests calculix solver, add ccx cantilever with quad8 elements 2021-07-29 13:10:30 +02:00
Bernd Hahnebach
74b6276c20 FEM: examples and unit tests calculix solver, add ccx cantilever with quad4 elements 2021-07-29 13:10:22 +02:00
Bernd Hahnebach
bcb17be94a FEM: z88 unit test, move a method 2021-07-28 23:36:57 +02:00
Bernd Hahnebach
26c2d6540f FEM: z88 solver, tria6 example and unit test as well as small writer improvements 2021-07-28 23:22:26 +02:00
Bernd Hahnebach
ac7caebb59 FEM: calculix unit tests, add ccx cantilever with seg2, seg3, tria3 and tria6 mesh elements 2021-07-28 17:24:13 +02:00
Bernd Hahnebach
83c8cc30e8 FEM: examples and unit tests, some heavy file renaming 2021-07-25 19:20:39 +02:00
Bernd Hahnebach
f0b543ed81 FEM: constraint centrif, add unit test 2021-07-09 22:04:14 +02:00
UR-0
974f41e0cc FEM: constraint centrif, App objects and methods:
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
Sudhanshu Dubey
65f84827e5 FEM: constraint transform beam hinged, add unit test 2021-07-09 17:40:36 +02:00
Sudhanshu Dubey
bda6ad109f FEM: contraint transform example, add unit test 2021-07-09 13:17:50 +02:00
Bernd Hahnebach
809a4ff153 FEM: fix failing unit test due to wrong result name, related: 79b41f7393 2021-07-05 23:58:35 +02:00
Bernd Hahnebach
db9850008f FEM: temporary deactivate two FEM tests to get master back on travis 2021-07-04 21:10:18 +02:00
luz paz
56ce278abf Fix typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./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,./build/doc/SourceDocu`
2021-06-17 08:02:57 +02:00
Tobias Vaara
0ad5a0f735 FEM: unit tests, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Bernd Hahnebach
09f441c93e FEM: unit test, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
Bernd Hahnebach
a62b5b314b FEM: code formatting, revert parts of commit f4a65dcbb6 2021-02-16 16:17:47 +01:00
luz paz
f4a65dcbb6 FEM: doxygen 2020-12-04 17:50:00 +01:00