OOFem

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: OOFem

Postby bernd » Tue Mar 05, 2019 6:25 pm

found it ...

Code: Select all

2DPlaneStress.out
Patch test of PlaneStress2d elements -> pure compression
LinearStatic nsteps 1 nmodules 1
vtkxml tstep_all domain_all  primvars 1 1 vars 5 1 2 4 5 27 stype 2
domain 2dPlaneStress
OutputManager tstep_all dofman_all element_all
ndofman 8 nelem 5 ncrosssect 1 nmat 1 nbc 3 nic 0 nltf 1 nset 3
node 1 coords 3  0.0   0.0   0.0
node 2 coords 3  0.0   4.0   0.0
node 3 coords 3  2.0   2.0   0.0
node 4 coords 3  3.0   1.0   0.0
node 5 coords 3  8.0   0.8   0.0
node 6 coords 3  7.0   3.0   0.0
node 7 coords 3  9.0   0.0   0.0
node 8 coords 3  9.0   4.0   0.0
PlaneStress2d 1 nodes 4 1 4 3 2  NIP 1
PlaneStress2d 2 nodes 4 1 7 5 4  NIP 1
PlaneStress2d 3 nodes 4 4 5 6 3  NIP 1
PlaneStress2d 4 nodes 4 3 6 8 2  NIP 1
PlaneStress2d 5 nodes 4 5 7 8 6  NIP 1
Set 1 elementranges {(1 5)}
Set 2 nodes 2 1 2
Set 3 nodes 2 7 8
SimpleCS 1 thick 1.0 width 1.0 material 1 set 1
IsoLE 1 d 0. E 15.0 n 0.25 talpha 1.0
BoundaryCondition 1 loadTimeFunction 1 dofs 2 1 2 values 1 0.0 set 2
BoundaryCondition 2 loadTimeFunction 1 dofs 1 2 values 1 0.0 set 3
NodalLoad 3 loadTimeFunction 1 dofs 2 1 2 components 2 2.5 0.0 set 3
ConstantFunction 1 f(t) 1.0
in the LinearStatic the count of export modules needs to be specified by nmodules 1

Code: Select all

LinearStatic nsteps 1 nmodules 1
vtkxml tstep_all domain_all  primvars 1 1 vars 5 1 2 4 5 27 stype 2
I would like to run the Calculix Cantilever with oofem. ATM I stick with boudary conditions and load. I do not really understand how this works. Some reading is needed. Have you made the cantilever for oofem? Would save me a lot of time ...
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Tue Mar 05, 2019 7:01 pm

Sorry, no I only ran one test case:

concrete_3point.txt
(53.37 KiB) Downloaded 7 times

to be renamed to concrete_3point.in
User avatar
bernd
Posts: 8208
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Tue Mar 05, 2019 7:44 pm

great, it helps anyway thanks ... input file runs smooth with oofem and results opens fine in FreeCAD ...


Screenshot_20190305_204337.png
Screenshot_20190305_204337.png (650 KiB) Viewed 271 times
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Wed Mar 06, 2019 4:59 am

Looks promising.
User avatar
bernd
Posts: 8208
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Mon Mar 11, 2019 5:07 pm

there is for sure still something wrong, but it runs :D :mrgreen:


Screenshot_20190311_180535.png
Screenshot_20190311_180535.png (518.94 KiB) Viewed 211 times
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Mon Mar 11, 2019 8:29 pm

:shock: :D
User avatar
Kunda1
Posts: 5135
Joined: Thu Jan 05, 2017 9:03 pm

Re: OOFem

Postby Kunda1 » Mon Mar 11, 2019 10:43 pm

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

Re: OOFem

Postby bernd » Tue Mar 12, 2019 10:05 pm

:D

Screenshot_20190312_230406.png
Screenshot_20190312_230406.png (1.55 KiB) Viewed 157 times

Screenshot_20190312_230350.png
Screenshot_20190312_230350.png (545.21 KiB) Viewed 157 times
User avatar
bernd
Posts: 8208
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OOFem

Postby bernd » Tue Mar 12, 2019 10:16 pm

@Harry:

I changed a lot! Since this is something like a documentation how to add a new solver to FreeCAD FEM, I tried to make some readable commit history. Thus your origin commits changed a lot. I tried to keep as much as possible as the origin. Since this might get into master one day ... Would you have a look and give some feedback if the splitting between your commits and my commits is ok for you?

cheers bernd

https://github.com/berndhahnebach/FreeC ... s/femoofem
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: OOFem

Postby HarryvL » Wed Mar 13, 2019 12:03 am

Bernd, I didn't do any work on this since October or so. I didn't get far with this and moved on to writing my own solver. So, I will certainly have a look to learn from your work, but I am not worried if this invalidates or overrides my original efforts. Harry