Skip to content

Iterate over all the boundary conditions in the case #1636

Closed Answered by h-krishnan
rachelzhang333 asked this question in Q&A
Discussion options

You must be logged in to vote
for bname, bobj in solver.setup.boundary_conditions.items():
    print (bname, bobj.get_state())

for rname, robj in solver.solution.report_definitions.items():
   print (rname, robj.get_state())

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rachelzhang333
Comment options

Answer selected by mkundu1
Comment options

You must be logged in to vote
2 replies
@h-krishnan
Comment options

@rachelzhang333
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants