OOFem

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: OOFem

Postby bernd » Sun Oct 07, 2018 8:29 am

wow!
Ok, if you go for the implementation, I will help to tackle down all problens you encounter. It can all done in Python. I would highly recomend to base it on the new solver frame work. All needed modules to create an input file and run the solver can be found in directory femsolver. Vtk results can be read directly. I will post some links to the code later on ...
User avatar
bernd
Posts: 8442
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Sun Oct 07, 2018 8:51 am

check the oldest commits of these ones https://github.com/FreeCAD/FreeCAD/comm ... solver/z88
User avatar
HarryvL
Posts: 1052
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Sun Oct 07, 2018 4:08 pm

bernd wrote:
Sun Oct 07, 2018 8:29 am
wow!
Ok, if you go for the implementation, I will help to tackle down all problens you encounter. It can all done in Python. I would highly recomend to base it on the new solver frame work. All needed modules to create an input file and run the solver can be found in directory femsolver. Vtk results can be read directly. I will post some links to the code later on ...
Thanks. I will give it a go.
User avatar
bernd
Posts: 8442
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Sun Oct 07, 2018 5:18 pm

most important commit ... git commit 609e97a This added Solver Z88 in one commit. Keep in mind a few things have changed since this. For example one hint in the regard of cmake. You only need to add new Python modules once here: https://github.com/FreeCAD/FreeCAD/blob ... eLists.txt

good luck :mrgreen:
User avatar
bernd
Posts: 8442
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Sun Oct 07, 2018 5:21 pm

best to exchange code would be if you push all your new code to github. With this it is easy to pull and to test your code. In the regard of git and github this may be useful Source_code_management
User avatar
HarryvL
Posts: 1052
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Sun Oct 07, 2018 5:23 pm

bernd wrote:
Sun Oct 07, 2018 5:18 pm
...For example one hint in the regard of cmake. You only need to add new Python modules once here: https://github.com/FreeCAD/FreeCAD/blob ... eLists.txt
Ah yes Cmake ... thanks.
User avatar
HarryvL
Posts: 1052
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Sun Oct 07, 2018 7:06 pm

bernd wrote:
Sun Oct 07, 2018 5:21 pm
best to exchange code would be if you push all your new code to github. With this it is easy to pull and to test your code. In the regard of git and github this may be useful Source_code_management
Yup. I already started a new repository for this, i.e. github.com/HarryvL/FC_OOFEM. I will create a branch "assess" for the first baby steps.
User avatar
PrzemoF
Posts: 2654
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: OOFem

Postby PrzemoF » Mon Oct 08, 2018 1:43 pm

How did you make the fork? Manually? I'm not sure if you'll be able to use FreeCAD/github arrangements for pull request testing if that's the case.
My FreeCAD fork header looks like this:

PrzemoF/FreeCAD forked from FreeCAD/FreeCAD

You can use fork button in github to make a fork.
User avatar
HarryvL
Posts: 1052
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Mon Oct 08, 2018 2:10 pm

I pulled freecad/freecad to my local system and then pushed that to my repository. Do I need fork on Github and then pull from there instead?
User avatar
bernd
Posts: 8442
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Mon Oct 08, 2018 2:13 pm

HarryvL wrote:
Mon Oct 08, 2018 2:10 pm
I pulled freecad/freecad to my local system and then pushed that to my repository. Do I need fork on Github and then pull from there instead?
It would be the smart way!