Skip to content

How to combine time scoping and space scoping? #457

Closed Answered by PProfizi
natter1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @natter1, one first step to answering your question is the way to combine time and space scoping.

Could you please try the following code to get the field container of plastic strain scoped on all time frequencies and on a named_selection 'NAMED_SELECTION':
plastic_strain_fc = model.results.plastic_strain.on_all_time_freqs.on_named_selection("NAMED_SELECTION").eval()

You can then plot the last state using:
plastic_strain_fc[-1].plot()

As for the coordinates, do you need them updated or not?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by natter1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants