Skip to content

How to change the block power by Pyaedt #6386

Answered by lorenzovecchietti
dukelo asked this question in Q&A
Discussion options

You must be logged in to vote

You can access boundaries from this :
https://aedt.docs.pyansys.com/version/stable/API/_autosummary/ansys.aedt.core.icepak.Icepak.boundaries.html

Once you get the right boundary object you'll be able to modify its properties.

As you already guessed, ipk.assign_solid_block("Small_Flash", "1W") is to assign the solid block boundary to a geometry. So "Small_Flash" must refer to a geometry name, not to a bounday condition name.

Hope this helps :)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Samuelopez-ansys
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