Page 14 of 14

Re: OOFem

Posted: Sat Sep 26, 2020 12:00 pm
by bernd

Re: OOFem

Posted: Sat Sep 26, 2020 6:45 pm
by Kunda1

Re: OOFem

Posted: Sat Sep 26, 2020 7:55 pm
by bernd
Sure but I have been on a mobile. :geek:

Re: OOFem

Posted: Sat Sep 26, 2020 7:58 pm
by bernd
bernd wrote: Fri Sep 25, 2020 7:00 pm very good news.

There are some examples. These should give results.
- https://github.com/berndhahnebach/FreeC ... s2d.py#L30 and
- and the standard ccx cantilever

- a unit test can be run. see https://github.com/berndhahnebach/FreeC ... #L166-L169 the commands to set up the example can be found in the module test_solver_oofem.py the FreeCAD files will be save in tmp folder
I did not compile and test the oofem branch for a long time. Just pushed some fixes. Unit tests and examples set up again.

unit tests:
- https://github.com/berndhahnebach/FreeC ... nds.sh#L20
- https://github.com/berndhahnebach/FreeC ... #L105-L107
- https://github.com/berndhahnebach/FreeC ... r_oofem.py

examples:
- start FreeCAD
- change to FEM
- Menu utilities --> FEM examples
- in new task panel --> solvers --> oofem --> double click to set up

run oofem:
I have not oofem installed ATM, means I could not test if the examples still give the correct results.

Re: OOFem

Posted: Sat Sep 26, 2020 9:00 pm
by bernd
bernd wrote: Fri Sep 25, 2020 7:08 pm
nitramkaroh wrote: Fri Sep 25, 2020 12:35 pm ... I got just one error when trying to run OOFEM, the error was related to time.clock() (in writer.py) since I am using python 3.8.2; that was an easy fix. ...
would you make a PR to https://github.com/berndhahnebach/FreeC ... s/femoofem
https://github.com/berndhahnebach/FreeC ... a26052a120

Re: OOFem

Posted: Sun Sep 27, 2020 8:02 am
by johnwang
Thanks. All good.
oo.jpg
oo.jpg (40.55 KiB) Viewed 622 times