OpenSees, the Open System for Earthquake Engineering Simulation
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
@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.
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.
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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.
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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
https://drive.google.com/file/d/1S2-jiZ ... sp=sharing
Re: OpenSees, the Open System for Earthquake Engineering Simulation
works great on Debian Bustershahram10715 wrote: ↑Mon Feb 24, 2020 8:05 pmI 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
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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$
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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.
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.
Re: OpenSees, the Open System for Earthquake Engineering Simulation
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.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.
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
Re: OpenSees, the Open System for Earthquake Engineering Simulation
Is it possible to output results in vtk format?