OpenSees, the Open System for Earthquake Engineering Simulation

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
zohir
Posts: 4
Joined: Sat Feb 18, 2017 10:46 am

OpenSees, the Open System for Earthquake Engineering Simulation

Post by zohir »

There is no possibility of implanting opensees like calculix in the FEM module
http://opensees.berkeley.edu/
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by Kunda1 »

zohir wrote:There is no possibility of implanting opensees like calculix in the FEM module
http://opensees.berkeley.edu/
did you mean that to be a question?

They have a custom copyright: http://opensees.berkeley.edu/OpenSees/copyright.php
Looks like someone wrote a python API for it: https://github.com/nassermarafi/OpenSeesAPI
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
User avatar
bernd
Veteran
Posts: 12849
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 »

zohir wrote:There is no possibility of implanting opensees like calculix in the FEM module
http://opensees.berkeley.edu/
Ohh sure there is! Do you use opensees? Does it uses text files for pre- and postprocessing? What kind off meshformat does it support?
User avatar
bernd
Veteran
Posts: 12849
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 »

zohir wrote:There is no possibility of implanting opensees like calculix in the FEM module
http://opensees.berkeley.edu/
Ohh sure there is! Do you use opensees? Does it uses text files for pre- and postprocessing? What kind off meshformat does it support?
zohir
Posts: 4
Joined: Sat Feb 18, 2017 10:46 am

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by zohir »

thanks for replay , for pre-and-postprocessing opensees use Command as text file see this link http://opensees.berkeley.edu/wiki/index ... and_Manual, for meshformat i don't no, but i think is no need make meshing is generated automaticly
User avatar
bernd
Veteran
Posts: 12849
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 and we had a disscussion about OpenSees integration in FreeCAD on PM. We desided to go open with this ...
User avatar
bernd
Veteran
Posts: 12849
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:
Hello @bernd.
as i know you want to participate to xcfem project and also a project for drawing concrete structure.
I also have an idea like you. ... I don't know why we couldn't write a graphical interface in freecad that produce input .tcl file for opensees? like work that GidOpenSees doing! only thing that we must do is to develop a graphical interface that is a little complicated, but i think if we rely on BIM model it must be easier than usual. I think the problem may be related to mesh generation, is it true? can you explain more about mesh generation in freecad or limitation of mesh generation in freecad?

i talk you about drawing software in another post.

thanks you so much.
User avatar
bernd
Veteran
Posts: 12849
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 »

... We should go the OpenSees way. If you are interested I can guide you and we could go further this way quit fast. OK just have a look at the oofem branch at https://github.com/berndhahnebach/FreeC ... s/femoofem The first two commits are a bit tricky. My offer would be I would do this for you. Than the solver runs and you could start to implement the writer. As stated I could guide you here if needed. For getting started I need two things.

- a OpenSees binary either for Windows or Debian buster (ubuntu) I prefere Linux!
- a OpenSees tcl input file for the CalculiX cantilever from the FreeCAD Sart Workbench. Geometry can be found her too: http://web.mit.edu/calculix_v2.7/Calcul ... node7.html
What mesh input and result output format does OpenSees uses?

All the best Bernd
User avatar
bernd
Veteran
Posts: 12849
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:
Hello and thanks for your reply.

I think the writer is not so complicated, but we need to develop a GUI that user can easily and quickly create their model. for this we need to add some definition like story, beam element, column element, similar story, draw beam and columns with selecting a rectangle area of the model in plane and etc. then we can write opensees tcl file. although opensees support python input file:

https://openseespydoc.readthedocs.io/en/latest/

you can download opensees from here. registration is needed, but it is free:

http://opensees.berkeley.edu/OpenSees/user/download.php

opensees github:

https://github.com/OpenSees/OpenSees

and for developer:

http://opensees.berkeley.edu/OpenSees/d ... /index.php
User avatar
bernd
Veteran
Posts: 12849
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 »

What you would like to have in GUI should be done with Arch Tools, IMHO (The BIMway, not anybody himself with his workbench). We just need additonal tools with which have set some attributes. This is done already, partitially. See https://forum.freecadweb.org/viewtopic.php?f=23&t=35361

My idea is independet from any used solver to be able to transfer a model made with Arch Tools into FEM.

IMHO we should start with the writer. Without a writer a gui makes no sense at all. We would not even have something to test the GUI with. Means we should do the writer and solver first. If the writer works with the basic costraints (fixes and forces) we could think about going further and do some special gui stuff.

As you said the writer is not so complicated, thus lets do the writer and disscuss anything later when the writer runs.

Just for my understanding. If you would make an earthquake analysis of a whole concrete building (only the earthquake!) with OpenSees: Would you use a 3D finite element mesh (volume elements) or would you use a 2D finite element mesh (area elements).
Post Reply