OOFem

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: OOFem

Postby bernd » Sat Sep 26, 2020 12:00 pm

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

Re: OOFem

Postby Kunda1 » Sat Sep 26, 2020 6:45 pm

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
bernd
Posts: 10943
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Sat Sep 26, 2020 7:55 pm

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

Re: OOFem

Postby bernd » Sat Sep 26, 2020 7:58 pm

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
Posts: 10943
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Sat Sep 26, 2020 9:00 pm

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
Posts: 524
Joined: Sun Jan 27, 2019 12:41 am

Re: OOFem

Postby johnwang » Sun Sep 27, 2020 8:02 am

Thanks. All good.
oo.jpg
oo.jpg (40.55 KiB) Viewed 120 times
Pre/Post processing CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2)
https://github.com/ceanwang