ospgrillage icon indicating copy to clipboard operation
ospgrillage copied to clipboard

Issue with "shell_beam" model type

Open abdelhaq-ourosama opened this issue 1 year ago • 2 comments

Hello @ccaprani @justinngan92 , Hope you're doing great.

There is an issue with "shell_beam" model type. I get this error when i run the workshop exemple "super-t_example-final.ipynb" and "Super-T_bridge_model_shell_beam.ipynb" image

Note : there was an error with the shell_model=og.create_grillage(...) . I've added this argument and it worked mesh_type="orth",

abdelhaq-ourosama avatar Jul 22 '24 11:07 abdelhaq-ourosama

What version of opsvis do you have installed? Our requirements have "opsvis~=0.95.5" (version spec) and so if installed in its own conda or venv environment it should work fine.

ccaprani avatar Jul 22 '24 11:07 ccaprani

Thanks for your promptness!

This is my version: opsvis==0.95.9

If I ignore the error and continue, the results at the end seem to be correct. I get the same moments when comparing the beam model with the shell_beam model. It looks like it's just a plotting error. Can you please confirm?

abdelhaq-ourosama avatar Jul 22 '24 11:07 abdelhaq-ourosama

Hi @abdelhaq-ourosama,

We resolved the plot module issue with #107. We recommended to use vfo to plot instead of opsvis, you can see the new documentations or check the commits to see how plots are made.

Let us know if you have any questions!

justinngan92 avatar Sep 19 '24 05:09 justinngan92

Thanks @justinngan92 . I'm getting another error. Here is what I did :

  • pip install --upgrade git+https://github.com/MonashSmartStructures/ospgrillage.git
  • I've download the .ipynb of the workshop and run it.

First I've got an error with create_grillage so I had to add mesh_type="auto", to make it work. Next, I've got an error on the plotting line : og.opsplt.plot_model("nodes");

image

image

image

abdelhaq-ourosama avatar Sep 26 '24 16:09 abdelhaq-ourosama

I also try this : og.opsplt.plot_model(show_nodes="yes",show_nodetags="yes") # plotting using vfo og.opsv.plot_model(az_el=(-90, 0)) # plotting using ops_vis og.plt.show()

I got the same error as the one at the source of the curent issue with this in addition : No Model_ODB specified, trying to get data from the active model. Error displaying widget A view with name (P_0x21413047b50_1) is already registered => returning previous one Error displaying widget

abdelhaq-ourosama avatar Sep 26 '24 17:09 abdelhaq-ourosama