Commit Graph

51 Commits

Author SHA1 Message Date
marioalexis
344f93c2da Fem: Fix CalculiX preferences file chooser 2025-09-08 23:47:20 -03:00
marioalexis
414943f4f9 Fem: Add default solver to new analysis - fixes #23043 2025-09-07 20:33:17 -05:00
pre-commit-ci[bot]
c8b72c144e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 22:51:14 +00:00
lyphrowny
cbea6b6094 FEM: reformat codebase 2024-06-23 16:26:36 +03: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
Adrian Insaurralde Avalos
7754c44b55 Migrate away from deprecated distutils python package where possible 2023-10-23 10:51:50 -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
Bernd Hahnebach
6464482ba3 FEM: code formatting, pep8, 302 2023-04-06 08:13:42 +02:00
Uwe
b88c43c89a [FEM] improve new default solver setting
- fix bug if no solver should be default
- only provide solvers that are available to be the default
- also add commit opened transactions
- also remove unused include and correct an include
2023-03-24 20:24:02 +01:00
marioalexis
852fd2b5d5 Fem: Add option to select default solver when creating Analysis 2023-03-24 15:40:54 +01:00
Uwe
e69ddeb036 [FEM] don't add CCX solver by default for new analyses
- if there are other solvers found, we should handle all solvers equally
- also reduce amount of console output on every analysis run
2023-03-24 03:25:02 +01:00
Uwe
b6cb5ffe4a [FEM] Elmer: fixes for multi-threading
- load the results depending on the used cores, not always the multi-thread results
- avoid unnecessary console output - this info is already output in tasks.py
- handle number of cores as int to save in total 2 conversions
2022-08-13 16:27:56 +02:00
Bernd Hahnebach
ffd51eda61 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Uwe
3a993abfb4 [FEM] fix Z88 binary handling
- when the binary was not found, the function called the non-existing binary
- also push error message for Elmer and Z88 to the status info so that user gets feedback also when report view console is not shown
- uniform wording to 'binary'
- avoid unnecessary console output
2022-07-17 01:18:21 +02:00
Uwe
4a5bf895ed [FEM] [skip CI] inform user about used CPU cores for Elmer
Since the number of used cores can for Elmer have the impact that a solver run converges or not, output this info prominently
2022-07-16 19:46:46 +02:00
Uwe
2782d09dee [FEM] [skip CI] fix a typo 2022-07-16 19:21:25 +02:00
Uwe
32ac6fa9fd [FEM] [skip CI] fix a string 2022-07-16 18:54:11 +02:00
Uwe
10301e7f75 [FEM] [skip CI] fix a typo 2022-07-16 16:01:38 +02:00
Uwe
6625281986 [FEM] enable to run Elmer multi-threaded
- this needs proper testing, especially on a non-Windows system

- note that for some tasks multi-threading requires non-standard additional solvers like MUMPS. Ideally the user should be informed about this, depending on the equations he uses. But this should not block this PR, meaning to use multi-threading in general.
2022-07-16 14:59:25 +02:00
luz paz
277e164657 Fix various 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-10-10 14:55:48 -04: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
41b0805e18 FEM: solver frame work, improve binary handling 2021-07-26 11:45:09 +02:00
Bernd Hahnebach
e84f0ab609 FEM: solver frame work, code formating 2021-07-26 11:45:03 +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
Bernd Hahnebach
5620122ae7 FEM: code formating and unifor licence header in Python modules 2020-03-04 07:50:21 +01:00
luz.paz
1c981e8f14 Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,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`
2019-10-21 16:02:23 -03:00
Bernd Hahnebach
b30021dcb7 FEM: pep8 code formating 2019-09-24 08:18:26 +02:00
Bernd Hahnebach
c5595e2e7b FEM: some typos 2019-09-24 08:18:19 +02:00
Markus Hovorka
688a6ddf05 FEM: Add documentation to setting module 2019-09-23 21:16:53 +02:00
Markus Hovorka
d0b7472ab1 FEM: Make temp directory default for solver
Previously it would return None if no setting is found (which can
happen if the settings system hasn't been loaded at least once). This
would make some other code fail.
2019-09-23 21:16:39 +02:00
Bernd Hahnebach
e0fde7ff8c FEM: solver run and settings, use single quotes instead of double ones 2019-09-05 18:24:32 +02:00
Bernd Hahnebach
1d507364b1 FEM: code formating, max line length < 100, fem solver 2019-05-20 12:33:30 +02:00
Bernd Hahnebach
7e86a3f4c1 FEM: solver frame work, move get dir setting to snake_case 2019-04-01 23:28:36 +02:00
Bernd Hahnebach
ef374e640f FEM: solver frame work, move get custom dir to snake_case 2019-04-01 23:28:36 +02:00
Bernd Hahnebach
0ffa6de8b1 FEM: solver frame work, move get binary to snake_case 2019-04-01 23:28:35 +02:00
Bernd Hahnebach
9358daed7c FEM: solver settings, add methods to retrieve the comments writing preference parameter 2019-04-01 23:28:35 +02:00
Bernd Hahnebach
8f760d1c37 FEM: solver settings, code improvements 2019-04-01 23:28:35 +02:00
Bernd Hahnebach
7b03eff1b6 FEM: solver settings, small code improvements and some comments 2019-03-31 11:18:18 +02:00
Bernd Hahnebach
36fb597ad9 FEM: solver settings, binary path print log and print message 2019-03-31 11:18:18 +02:00
Bernd Hahnebach
1c05f73e6a FEM: solver settings, use FreeCAD instead of App 2019-03-31 11:18:17 +02:00
Bernd Hahnebach
406498273e FEM: fix in solver settings, use a standard value if binary could not be read 2019-03-31 11:18:17 +02:00
Bernd Hahnebach
3f6149ad4a FEM: elmer solver prefs, use elmer path for elmer grid prefs 2019-03-06 12:22:32 +01:00
Bernd Hahnebach
e40ee28c1d FEM: frame work solver settings, delete duplicate code 2019-03-06 12:22:31 +01:00
Bernd Hahnebach
13a4ccc386 FEM: solver framework, fix pref group of working dir 2019-02-25 17:50:48 +01:00
Bernd Hahnebach
769632f33b FEM: solver settings, sort setting 2019-01-20 00:32:17 +01:00
luz.paz
bf779155d4 FEM: solver, make uniform copyright and developer info
.
2018-11-26 09:10:17 -03:00
luz.paz
432ae644ee FEM: solver, make file header title use the same schema in all solver modules
Made uniform all __title__ doxy \addtogroup blocks
2018-11-26 09:10:17 -03:00
Bernd Hahnebach
45e81db4ec FEM: ccx, add it to the new solver framework but use the old ccx writer 2017-12-02 13:17:30 +01:00
Bernd Hahnebach
609e97a821 FEM: z88, add it to the new solver framework 2017-12-02 13:17:30 +01:00