OpenSees, the Open System for Earthquake Engineering Simulation

About the development of the FEM module/workbench.

Moderator: bernd

shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby shahram10715 » Tue Feb 25, 2020 12:47 pm

bernd wrote:
Tue Feb 25, 2020 8:39 am
Is it possible to output results in vtk format?
Not directly with Opensees. Maybe the following link can help:
https://github.com/lge88/opensees-vtk
User avatar
bernd
Posts: 9779
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby bernd » Tue Feb 25, 2020 8:05 pm

https://github.com/berndhahnebach/FreeC ... emopensees only implements the solver object.

- start FreeCAD
- add analysis, delete standard solver and add a OpenSees solver
- run the solver
- this file will be written and run with OpenSees https://github.com/berndhahnebach/FreeC ... y#L82-L244

AS stated before see https://github.com/berndhahnebach/FreeC ... s/femoofem
User avatar
ebrahim raeyat
Posts: 281
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby ebrahim raeyat » Tue Feb 25, 2020 9:35 pm

bernd wrote:
Tue Feb 25, 2020 5:56 am
ebrahim raeyat wrote:
Fri Feb 14, 2020 12:47 am

direct .tcl file link
if I run this file in OpenSees I get ...

Code: Select all

hugo@Ahorn:~/bin$ OpenSees Example8.1.tcl 


    while executing
"recorder plot Node.out CenterNodeDisp 625 10 625 450 -columns 1 2"
    (file "Example8.1.tcl" line 90)
hugo@Ahorn:~/bin$ 
and an empty file Node.out as well as a 10.0 MegaByte file gmon.out is created. -1 seams something went wrong ?
yes, please comment this line, i don't know why that line not work.
User avatar
ebrahim raeyat
Posts: 281
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby ebrahim raeyat » Tue Feb 25, 2020 9:41 pm

bernd wrote:
Tue Feb 25, 2020 8:39 am
Is it possible to output results in vtk format?
I think it is possible, I had been see an example for vtk, I will search for it:

https://github.com/OpenSees/OpenSees/bl ... corder.cpp
User avatar
bernd
Posts: 9779
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby bernd » Tue Feb 25, 2020 10:07 pm

ebrahim raeyat wrote:
Tue Feb 25, 2020 9:41 pm
bernd wrote:
Tue Feb 25, 2020 8:39 am
Is it possible to output results in vtk format?
I think it is possible, I had been see an example for vtk, I will search for it:

https://github.com/OpenSees/OpenSees/bl ... corder.cpp
With this we could read results into FreeCAD directly. That would be cool and worth to search for.
User avatar
ebrahim raeyat
Posts: 281
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby ebrahim raeyat » Wed Feb 26, 2020 9:07 pm

bernd wrote:
Tue Feb 25, 2020 10:07 pm
With this we could read results into FreeCAD directly. That would be cool and worth to search for.
opensees can export to .pvd format that supported with paraview:

pvd.png
pvd.png (50.89 KiB) Viewed 337 times
this brief file is also useful:

http://marcel-ritter.com/wp-content/upl ... Poster.pdf
User avatar
ebrahim raeyat
Posts: 281
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby ebrahim raeyat » Wed Feb 26, 2020 9:22 pm

thanks to openseespy, we can write opensees input file in python format and benefit from all of python library!

https://openseespydoc.readthedocs.io/en/latest/
User avatar
bernd
Posts: 9779
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby bernd » Thu Feb 27, 2020 5:54 am

I wonder if we shold.not even start with TCL input file format and imediately use the new python input fole format?
User avatar
bernd
Posts: 9779
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby bernd » Thu Feb 27, 2020 5:56 am

The same as in tcl, examples to get started are needed. Best would be freecad fem calculix cantilever in opensees python.
shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Postby shahram10715 » Thu Feb 27, 2020 1:22 pm

bernd wrote:
Tue Feb 25, 2020 8:05 pm
https://github.com/berndhahnebach/FreeC ... emopensees only implements the solver object.

- start FreeCAD
- add analysis, delete standard solver and add a OpenSees solver
- run the solver
- this file will be written and run with OpenSees https://github.com/berndhahnebach/FreeC ... y#L82-L244

AS stated before see https://github.com/berndhahnebach/FreeC ... s/femoofem
a file (src/Mod/Fem/Gui/Workbench.cpp) has been changes should we compile it from the beginning? would you please give more information about this post?