Commit Graph

192 Commits

Author SHA1 Message Date
Bernd Hahnebach
1296bcbbdc FEM: solver run, fix besides dir 2019-12-16 09:10:20 +01:00
Bernd Hahnebach
80dfbfd381 FEM: fix missing error classes 2019-12-16 05:41:18 +01:00
Bernd Hahnebach
6a736272f8 FEM: equations, fix reset edit mode 2019-12-16 05:40:51 +01:00
Markus Hovorka
8f7844c5c9 FEM: Restore path functions of run module
The functions getTempDir, getBesideDir and getBesideBase where moved to
femutils, modified and made public in the past. This breaks the solver
framework under certain circumstances. These folders are only intended
for the solver. Using it for other puroses may result in unexpected
behaviour (including crashes). This commit restores the original
functions for the solver module. The problem that other modules of the
workbench use those folders should be resolved at some point.
2019-12-10 22:43:24 +01:00
luz.paz
30a717beac 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
luz.paz
fb32601746 Fix various (doxy) typos and whitespace issues
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-03 07:57:13 +02:00
Bernd Hahnebach
bd3dd7e87f FEM: pep8 code formating 2019-09-24 08:18:26 +02:00
Bernd Hahnebach
71b6cd8ba2 FEM: some typos 2019-09-24 08:18:19 +02:00
Markus Hovorka
47f42f2fa3 FEM: Add documentation to run module 2019-09-23 21:16:55 +02:00
Markus Hovorka
0bb274e9c9 FEM: Add documentation to setting module 2019-09-23 21:16:53 +02:00
Markus Hovorka
6929229ddc FEM: in out modules, Replace print with Console.Print* calls 2019-09-23 21:16:51 +02:00
Markus Hovorka
b4128f8614 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
Markus Hovorka
6369b408c2 FEM: Redirect ElmerGrid output to /dev/null
Up until now the output would appear in the cli in which FreeCAD was
started. This is unnecessary and makes test output very confusing.
2019-09-23 21:16:39 +02:00
Bernd Hahnebach
3ec5af952d FEM: replace prints with console prints 2019-09-13 08:26:49 +02:00
Bernd Hahnebach
802ec1d16f FEM: improve output on solver run 2019-09-12 23:50:35 +02:00
Bernd Hahnebach
bab1dd0379 FEM: typos 2019-09-12 21:05:11 +02:00
Bernd Hahnebach
ea643ec709 solver base, more fixes because of move error class 2019-09-10 18:19:55 +02:00
Bernd Hahnebach
a25904e21e FEM: solver run, fix move error class 2019-09-10 11:46:26 +02:00
Bernd Hahnebach
620e6af26e FEM: utils and run, get rid of circle import 2019-09-10 07:47:26 +02:00
Bernd Hahnebach
c66f9a5b5c FEM: utils, use snake case for new methods 2019-09-06 21:59:14 +02:00
Bernd Hahnebach
fed8cef90e FEM: move working path methods from solver run to utils 2019-09-06 21:59:05 +02:00
Bernd Hahnebach
d7bc0458d7 FEM: solver calculix, use single quotes instead of double ones 2019-09-05 18:25:02 +02:00
Bernd Hahnebach
872b5bcdd2 FEM: solver elmer, use single quotes instead of double ones 2019-09-05 18:24:55 +02:00
Bernd Hahnebach
c6e8c6d45f FEM: solver z88, use single quotes instead of double ones 2019-09-05 18:24:41 +02:00
Bernd Hahnebach
8d10c3da42 FEM: solver writer base, use single quotes instead of double ones 2019-09-05 18:24:34 +02:00
Bernd Hahnebach
a85e49811f FEM: solver run and settings, use single quotes instead of double ones 2019-09-05 18:24:32 +02:00
Bernd Hahnebach
235dc0fda1 FEM: solver frame work, better prefix for temp directory 2019-09-02 17:59:03 +02:00
Bernd Hahnebach
13ae16750d FEM: solver fenics, fix fenics import test 2019-07-04 18:02:58 +02:00
Bernd Hahnebach
791701dbfa FEM: element flow 1D, deactivate not supported fluid types 2019-07-04 18:00:00 +02:00
Bernd Hahnebach
de74fe1027 FEM: ccx writer, typo in var name 2019-07-04 17:59:53 +02:00
Bernd Hahnebach
22ef1ebe47 FEM: code forating, solver fenics tools, get rid of not needed indent 2019-07-01 00:06:26 +02:00
Bernd Hahnebach
c28684d9db FEM: bare Python exceptions, fix the Import ones 2019-06-30 23:49:55 +02:00
Bernd Hahnebach
771f77ebc7 FEM: ccx writer, lgtm, Nested for statement uses loop variable 'femobj' of enclosing for statement 2019-06-29 13:22:38 +02:00
Bernd Hahnebach
a043ad072e FEM: lgtm, various improvements 2019-06-29 13:22:31 +02:00
Bernd Hahnebach
4c643a0168 FEM: code formating, improve imports, get rid of E402 error 2019-06-16 23:21:38 +02:00
Bernd Hahnebach
30ec7477d1 FEM: concrete results, use the new concrete result reading methods on result reading 2019-06-16 18:29:32 +02:00
Bernd Hahnebach
14debfd780 FEM: calculix writer and unit tests, fix reaction force writing 2019-06-11 10:37:08 +02:00
Bernd Hahnebach
13dc21b0d7 FEM: solver elmer tasks, Py3 decode fix 2019-06-11 09:59:32 +02:00
Bernd Hahnebach
7644738dbd FEM: calculix writer, add reaction forces for constraint fixed 2019-06-08 22:24:48 +02:00
Bernd Hahnebach
54c4b08e15 FEM: calculix writer, move some comments 2019-06-07 09:51:52 +02:00
Bernd Hahnebach
23d52a1bc0 FEM: solver run, add newline in error message 2019-06-05 21:49:16 +02:00
Bernd Hahnebach
280cc1b011 FEM: code formating, line length < 100, there still where some left 2019-05-28 05:48:23 +02:00
Bernd Hahnebach
508a65f115 FEM: code formating, max line length < 100, fem solver 2019-05-20 12:33:30 +02:00
Bernd Hahnebach
070277c210 FEM: solver calculix writer and solver writer base, use small character for import identifier 2019-05-20 12:33:30 +02:00
luz.paz
659d17129a FIx some user and non-user facing typos
Found via ` codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig* -L pard,wallthicknessOn`  
codespell version 1.15.0.dev0
2019-05-12 16:59:26 +02:00
luz.paz
7a1f98fda1 Misc. source comment typo and whitespace fixes 2019-05-06 13:42:30 +02:00
Bernd Hahnebach
5f1daadd38 FEM: solver run, fix missing imports 2019-04-04 09:00:36 +02:00
Bernd Hahnebach
1f5ceba439 FEM: working dir, add error messages to the error calls 2019-04-03 15:21:27 +02:00
Bernd Hahnebach
0b5b36e463 FEM: solver writer base, check if really a mesh object was given 2019-04-01 23:28:38 +02:00
Bernd Hahnebach
b5c9356ab6 FEM: elmer, use console print and delete not needed prints in unit test 2019-04-01 23:28:37 +02:00