Coupled RC Core Wall with MVLEM-3D

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Tue Jan 17, 2023 12:49 pm

Thank you.

Please note that my first question is not regarding the number of iterations, but the number of analysis steps. Originally there was 8425 (if I remember correctly) and appears you reduced it to about 4000-something. Is this related to Adaptive Time Step?

Also, is there a way to record only strain and stress of coupling beams and now the mvlem walls? This will reduce the file size of results significantly.

Please let me know. Thanks.

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Coupled RC Core Wall with MVLEM-3D

Post by STKO Team » Tue Jan 17, 2023 4:55 pm

Please note that my first question is not regarding the number of iterations, but the number of analysis steps. Originally there was 8425 (if I remember correctly) and appears you reduced it to about 4000-something. Is this related to Adaptive Time Step?
Oh sorry, no I just did it to speed up the test. It has nothing to do with the Adaptive time step, please reset it at its original value.
Also, is there a way to record only strain and stress of coupling beams and now the mvlem walls? This will reduce the file size of results significantly.
You can tell the MPCORecorder to record only a subset of your model:
  • Create a selection set with only the parts you want to record
  • Create a Region analysis step with that selection set (type = element)
  • Use the region in the MPCORecorder
Note that if you want displacements on the whole model, and other results only on a sub-set, you may need to create 2 mpco recorders.
Then, in post-processing, you can overlap multiple plots in the same plot group

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Tue Jan 17, 2023 10:12 pm

Thank you . I setup two recorders with groups as you explained and it seems that all results are there.

I have two questions:
1) how do I access results marked with red in the screenshot?
2) I tried to run Python API script from viewtopic.php?f=46&t=2439 in STKO Script window, and it works fine. However, this is not exactly what I need. What I want to do is to be able to extract node/element data from Selection Sets that I already defined. Can you provide me with an example or some guidance on how to do that?

Please let me know. Thank you!
Attachments
Capture.PNG
Capture.PNG (110.09 KiB) Viewed 3311 times

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Coupled RC Core Wall with MVLEM-3D

Post by STKO Team » Wed Jan 18, 2023 11:33 am

2) I tried to run Python API script from viewtopic.php?f=46&t=2439 in STKO Script window, and it works fine. However, this is not exactly what I need. What I want to do is to be able to extract node/element data from Selection Sets that I already defined. Can you provide me with an example or some guidance on how to do that?
We are currently writing the documentation for the PyMpc Python API. In the meantime, we can help you here.

Try to use this one:
extract_data_from_selection.zip
(2.89 KiB) Downloaded 147 times
It is similar to the one in the referenced post, but it allows extraction of either node or element-based results (also gauss or fiber-based).

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Wed Jan 18, 2023 5:25 pm

Thank you for the example. It appears that example is extracting data from all nodes/elements. How can I modify it to extract data from specific Selection Sets? This is what I would like to do.

Please let me know. Thank you.

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Coupled RC Core Wall with MVLEM-3D

Post by STKO Team » Thu Jan 19, 2023 7:40 am

No, actually the example I sent you extracts the results you requested (all components) from all nodes or elements you selected.
For example, if you want to extract from a selection set, just select it, and then run the script:
sset.png
sset.png (130.72 KiB) Viewed 3287 times

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Thu Jan 19, 2023 2:58 pm

I see. Thank you for clarifying. However, i have many selection sets that I need to process and o was hoping to make a loop and automate everything so i have to run the scriptonly once. Otherwise I'll have to select each one of the sets individually and that is not very efficient. I guess all I need is to figure out how to call a particular selection set using Python. Is that possible?

Please let me know. Thanks

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Coupled RC Core Wall with MVLEM-3D

Post by STKO Team » Thu Jan 19, 2023 6:25 pm

Tomorrow we will release a new version of STKO where you can access also the SelectionSets in the post document like this:

Code: Select all

App.clearTerminal()
doc = App.postDocument()
db = doc.getDatabase(1)
ssets = db.selectionSets
for sset_id, sset in ssets.items():
	print('\nSelection Set {}'.format(sset_id))
	print(sset.id)
	print(sset.name)
	print(sset.nodes)
	print(sset.elements)

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Thu Jan 19, 2023 7:13 pm

That would be great! Thank you!

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Coupled RC Core Wall with MVLEM-3D

Post by kolozvari » Mon Jan 23, 2023 3:11 am

Hello, can you please let me know if you have implemented the SelectionSets in the API? I have started STKO, but it doesnt appear there is new version released yet.

Please let me know. Thank you.

Post Reply