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

Post by shahram10715 »

@Kunda1
Recently I wanted to put opensees binary as ppa in ubuntu launchpad but it's not possible because you can only add FREE software. We must find a place which allows both free and proprietary software. The second option is an interesting repo on github (if you search you will find it) which has Docker for opensees ver 2.5 (not continued). And the third option is an appimage like FreeCAD.
shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by shahram10715 »

bernd wrote: Sun Feb 23, 2020 3:09 pm requires GLIBC_2.29 but buster has 2.28-10 means it probably runs on Debian Testing aka Debian bullseye
I thought you have Ubuntu. I will try to compile it on Debian too as soon as I can.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

Debian Buster is what I am on. If you are able to compile OpenSees on debian Buster, it would be good if you could post the steps and the packages needed to do.
shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by shahram10715 »

bernd wrote: Sun Feb 23, 2020 6:41 pm Debian Buster is what I am on. If you are able to compile OpenSees on debian Buster, it would be good if you could post the steps and the packages needed to do.
I wrote a bash script which works both for Debian and Ubuntu to download and compile Opensees. Here is the link to bash script:
https://github.com/shahram10715/myPaste ... pensees.sh
shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by shahram10715 »

Please send me feedback for the above bash script. And if you want to download directly the binary file of Opensees here is the link:
https://drive.google.com/file/d/1S2-jiZ ... sp=sharing
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

shahram10715 wrote: Mon Feb 24, 2020 8:05 pm
bernd wrote: Sun Feb 23, 2020 6:41 pm Debian Buster is what I am on. If you are able to compile OpenSees on debian Buster, it would be good if you could post the steps and the packages needed to do.
I wrote a bash script which works both for Debian and Ubuntu to download and compile Opensees. Here is the link to bash script:
https://github.com/shahram10715/myPaste ... pensees.sh
works great on Debian Buster :D
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

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 


         OpenSees -- Open System For Earthquake Engineering Simulation
                 Pacific Earthquake Engineering Research Center
                        Version 3.1.0 64-Bit

      (c) Copyright 1999-2016 The Regents of the University of California
                              All Rights Reserved
  (Copyright and Disclaimer @ http://www.berkeley.edu/OpenSees/copyright.html)


-1
    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 ?
shahram10715
Posts: 22
Joined: Sat Apr 20, 2019 7:09 am
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by shahram10715 »

There is a basic truss example on the following page. In my opinion its another good starting point alongside Ebrahim cantilever code.
https://opensees.berkeley.edu/wiki/inde ... ss_Example
A little bit off topic but studying the documents of fem workbench, I see it is hugely relied on c++ codes. Or maybe I should learn more.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

shahram10715 wrote: Tue Feb 25, 2020 8:19 am There is a basic truss example on the following page. In my opinion its another good starting point alongside Ebrahim cantilever code.
https://opensees.berkeley.edu/wiki/inde ... ss_Example
A little bit off topic but studying the documents of fem workbench, I see it is hugely relied on c++ codes. Or maybe I should learn more.
It is a mix of C++ and Python. It depends what the aim is. A lot can be done with Python, really a lot. For example to implement a new solver only less than ten lines of code need to be C++ where as all other code can be Python. Only a few things can only be done in C++. As said it depends.

But if one would like to do C++, most things could also be done in C++. All this is for history reasons.

Thanks for the example. I will give this one a try and see if it fits better.

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

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

Is it possible to output results in vtk format?
Post Reply