hackl / TikZ-StructuralAnalysis

TikZ Library for Structural Analysis
Other
123 stars 29 forks source link

Integration with structure solving software? #1

Open jlblancoc opened 7 years ago

jlblancoc commented 7 years ago

Hi @hackl !

First of all: congrats for this great project, I really loved to see it around, and the resulting plots look fantastic!! 👍

I has been pursuing a similar project for years, but I started from the opposite side: a C++ backend capable of solving (2D for now) static structure analysis. Including meshing, it can plot detailed plots of all basic stresses, deformations, etc.

I'm just writing to explore the possibility of, somehow, integrate my solver (available here) with your package in some way, such that the resulting deformed structures could be also plotted or, at least, the reaction forces, or some selected subset of numerical results.

It would require exporting the user-given definition of a structure into a text file in a format that you can see in these examples, then invoking the program ob-solver with appropriate parameters, and reading back the results file.

My software is also capable of generating HTML5-based animations of animated structures, like in this example: http://ingmec.ual.es/openbeam/fem/rdm-t06-prop03/

pr06_prop03_animated_000000

It's a lot of work, and I'm aware that you may be (just as I am!) swamped with other projects. But couldn't helped myself writing a line to leave this possibility open...

Cheers, JL

hackl commented 7 years ago

Hi Jose Luis,

thanks for your interest in my work.

It is an interesting idea to combine the LaTeX file with an (FEM) solver, in order to get the deformed structure. Probably it isn't to hared to generate an proper input file for the solver, since most of the parameters are already defined in the tikz code.

Unfortunately, like you, I have a lot of work to finish, but I'll keep your idea in my mind, and if I find some spare time I'll investigate it.

Regards,

Jürgen

On 07.01.2017 22:49, Jose Luis Blanco-Claraco wrote:

Hi @hackl https://github.com/hackl !

First of all: congrats for this /great/ project, I really loved to see it around, and the resulting plots look fantastic!! 👍

I has been pursuing a similar project for years, but I started from the opposite side: a C++ backend capable of solving (2D for now) static structure analysis. Including meshing, it can plot detailed plots of all basic stresses, deformations, etc.

I'm just writing to explore the possibility of, somehow, integrate my solver (available here https://github.com/jlblancoc/openbeam) with your package in some way, such that the resulting deformed structures could be also plotted or, at least, the reaction forces, or some selected subset of numerical results.

It would require exporting the user-given definition of a structure into a text file in a format that you can see in these examples https://github.com/jlblancoc/openbeam/blob/master/examples-structures/demo1.txt, then invoking the program |ob-solver| with appropriate parameters, and reading back the results file.

My software is also capable of generating HTML5-based animations of animated structures, like in this example: http://ingmec.ual.es/openbeam/fem/rdm-t06-prop03/

pr06_prop03_animated_000000 https://cloud.githubusercontent.com/assets/5497818/21745405/88003446-d52b-11e6-8b24-3d7041e0afd1.png

It's a lot of work, and I'm aware that you may be (just as I am!) swamped with other projects. But couldn't helped myself writing a line to leave this possibility open...

Cheers, JL

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hackl/TikZ-StructuralAnalysis/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIix4ybm1h8SKMZGFhSGMUGwQ9tvS47ks5rQAhtgaJpZM4LdiVf.

--

ETH Zurich Jurgen Hackl Infrastructure Management Group

Stefano-Franscini-Platz 4 IBI - HIL, Room F 23.1 8093 Zurich, Switzerland t: +41 44 63 36510 f: +41 44 63 31088 e: hackl@ibi.baug.ethz.ch

ccaprani commented 4 years ago

Resurrecting a little here, but using OpenSeesPy and PythonTex, coupled with this great library, you can automate and report analysis results :-)