OpenSees, the Open System for Earthquake Engineering Simulation

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
ebrahim raeyat
Posts: 621
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Herthquake Engineering Simulation

Post by ebrahim raeyat »


Thank you ebrahim raeyat. Can you point me to the resources for learning internal structure of FreeCad. How does it work and where should I start to make it print out the .tcl files for the OpenSees model.
my repo:
https://github.com/ebrahimraeyat/FreeCA ... r/opensees
scripting:
https://wiki.freecadweb.org/Python_scripting_tutorial
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 Herthquake Engineering Simulation

Post by bernd »

ebrahim raeyat wrote: Sun Oct 17, 2021 8:22 am

Thank you ebrahim raeyat. Can you point me to the resources for learning internal structure of FreeCad. How does it work and where should I start to make it print out the .tcl files for the OpenSees model.
my repo:
https://github.com/ebrahimraeyat/FreeCA ... r/opensees
scripting:
https://wiki.freecadweb.org/Python_scripting_tutorial
here you can find the work of ebrahim but rebased on latest FreeCAD master ... I do rebase this on a regular basis https://github.com/berndhahnebach/FreeC ... emopensees

But be aware this opensees solver code does not include the latest improvements in solver framework. I higthly recommend to study the mystran solver too.

BTW: the best resource of knwoledge in the regbard of FEM is to directly ask here in the forum.

cheers bernd
User avatar
eccioloste
Posts: 37
Joined: Tue Sep 26, 2017 2:59 pm
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by eccioloste »

Hello.
I read past messages and I'm trying to figure out which is the best approach for Geotechnical FEM analysis.

Opensees has huge potentials in structural civil engineering, as well as geotechnical, but without GID interface I can't make it work.
Calculix is a good option.

I would like to know your thoughts about this.

I think it would be great to have one solver that could deal with most of civil engineering analysis requirements, and seismic analysis is an everyday problem. And obviously having freecad our pre-processor would be great!

Thank you for your inspiring work
Francesco
User avatar
ebrahim raeyat
Posts: 621
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

eccioloste wrote: Tue Nov 09, 2021 5:09 pm Hello.
I read past messages and I'm trying to figure out which is the best approach for Geotechnical FEM analysis.

Opensees has huge potentials in structural civil engineering, as well as geotechnical, but without GID interface I can't make it work.
Calculix is a good option.

I would like to know your thoughts about this.

I think it would be great to have one solver that could deal with most of civil engineering analysis requirements, and seismic analysis is an everyday problem. And obviously having freecad our pre-processor would be great!

Thank you for your inspiring work
Francesco

Hi Fracsesco. I think it is better to work on xcfem software. it is based on OpenSees and have huge properties , specially for design purpose.
User avatar
ebrahim raeyat
Posts: 621
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

bernd wrote: pinged by pinger macro
As I found FeView, I want to continue on this work. I studied the source code and I found the FeView uses pyvista for convert model and results to VTK format.
First I want to add OpenSees analysis for my OSAFE workbench to analyze the foundation on soil with springs.

The TCL input example file is attached. I compared the results with CSI SAFE software. Thanks.
photo_2022-04-07_16-48-31.jpg
photo_2022-04-07_16-48-31.jpg (42.48 KiB) Viewed 1491 times
photo_2022-04-07_16-48-39.jpg
photo_2022-04-07_16-48-39.jpg (10.58 KiB) Viewed 1491 times
photo_2022-04-07_16-48-37.jpg
photo_2022-04-07_16-48-37.jpg (38.34 KiB) Viewed 1491 times
soil.py
(2.32 KiB) Downloaded 29 times
User avatar
ebrahim raeyat
Posts: 621
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

NewJoker wrote: pinged by pinger macro
I created my foundation model file for opensees, But only used mesh from FreeCAD for this:
photo_2022-04-17_08-45-21.jpg
photo_2022-04-17_08-45-21.jpg (44.51 KiB) Viewed 1386 times
photo_2022-04-17_08-45-25.jpg
photo_2022-04-17_08-45-25.jpg (81.65 KiB) Viewed 1386 times
I used FeView for view the result. FeView Uses pyvista for show the results. It uses vtk unstructureGrid for this. I want to show the results in FreeCAD. How can I do that?

in Plotter.py it convert the output to vtk format. I can save each grid to vtk format, but my questions:

https://github.com/motiurce/FeView/blob ... ing.py#L31

1- how can I save all grids into one vtk file?
2- single vtk saving file, did not show correctly in FreeCAD.

@l_pereztato
Post Reply