OOFem

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OOFem

Post by bernd »

User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: OOFem

Post by Kunda1 »

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OOFem

Post by bernd »

Sure but I have been on a mobile. :geek:
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OOFem

Post 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.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OOFem

Post 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
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: OOFem

Post by johnwang »

Thanks. All good.
oo.jpg
oo.jpg (40.55 KiB) Viewed 623 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply