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
Re: OpenSees, the Open System for Earthquake Engineering Simulation
yes you need to compile FreeCAD because of the few lines change in workbench.cpp These lines add a new menue entry for the new FreeCAD FEM solver object for OpenSees.
The code I added adds this new object. With this the solver object is implemented. Now it would be the task to implement a opensees writer which does writes an opensees inputfile out of the FreeCAD FEM objects.
The code I added adds this new object. With this the solver object is implemented. Now it would be the task to implement a opensees writer which does writes an opensees inputfile out of the FreeCAD FEM objects.
Re: OpenSees, the Open System for Earthquake Engineering Simulation
Maybe a conda repository ?shahram10715 wrote: ↑Sun Feb 23, 2020 6:22 pm @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.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- ebrahim raeyat
- Posts: 619
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
@bernd, i searched for equivalent Ten-node tetrahedral element for opensees, but i can't find it.
for preparing 3D contilever, how can i change the element type in FreeCAD, for example one that had been used in original example in calculix site:
C3D20 http://web.mit.edu/calculix_v2.7/Calcul ... ode29.html
command for this element in opensees:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
I would not care about the element type ATM. If opesees uses a twenty node brick element it will be fine too. It does not mater which element type we gone use. Both should give the nearly same deflection and stress if we use enought elements.
ATM it is not possible to make a brick20 mesh with the gui in FreeCAD but I will create one for the calculix cantilever.
ATM it is not possible to make a brick20 mesh with the gui in FreeCAD but I will create one for the calculix cantilever.
Re: OpenSees, the Open System for Earthquake Engineering Simulation
find a file in this topic, but something is wrong with the brick20.
We will find and fix the problem
https://forum.freecadweb.org/viewtopic.php?f=18&t=43727
We will find and fix the problem
https://forum.freecadweb.org/viewtopic.php?f=18&t=43727
- ebrahim raeyat
- Posts: 619
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
yes, I know, but it is imposible for me to create nodes and elements for this problem by hand, but if freecad can generate .inp input file, i can convert nodes and element from calculix format to openseesbernd wrote: ↑Thu Feb 27, 2020 7:00 pm I would not care about the element type ATM. If opesees uses a twenty node brick element it will be fine too. It does not mater which element type we gone use. Both should give the nearly same deflection and stress if we use enought elements.
ATM it is not possible to make a brick20 mesh with the gui in FreeCAD but I will create one for the calculix cantilever.
- ebrahim raeyat
- Posts: 619
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
finally I did this procedure for the first time, hurraybernd 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
it's work, very excited.
thanks @bernd, now i will start to implement writer
Re: OpenSees, the Open System for Earthquake Engineering Simulation
best would be start with result reading. ATM on any solver run of OpenSees in FreeCAD this input file will be written
https://github.com/berndhahnebach/FreeC ... y#L82-L244
ATM mesh is created by OpenSees, which is fine ATM, IMHO.
The first thing what we should do is change this input file in a way it creates some output in a format readable by vtk toolkit. If this works I would implement result reading in FreeCAD for OpenSees. Than we could start with the writer.
https://github.com/berndhahnebach/FreeC ... y#L82-L244
ATM mesh is created by OpenSees, which is fine ATM, IMHO.
The first thing what we should do is change this input file in a way it creates some output in a format readable by vtk toolkit. If this works I would implement result reading in FreeCAD for OpenSees. Than we could start with the writer.
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
-
- Posts: 22
- Joined: Sat Apr 20, 2019 7:09 am
- Contact:
Re: OpenSees, the Open System for Earthquake Engineering Simulation
Its a good choice but we must consider that this package is not published open source yet.ebrahim raeyat wrote: ↑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/