Replies: 1 comment
-
mmhh... I think this is trivial..... I'm going to implement the proposed changes (never return None, by always going into post1 to do the inquire). Leaving this for possible feedback and future tracks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I find the behavior of the INQUIRE a bit weird regarding querying the RST file.
If you have an newly MAPDL instance and you dont issue anything just:
That is ok, but then:
However no file has been generated.
So, it seems that while we are in no processor (after
mapdl.finish()
) the inquire will returnNone
.But once we have entered in a processor, it will return something.
If we go back to no-processor:
We keep obtaining
file
andrst
. I guess those variables are not initialized until we enter in post1.In fact, it does not work with
/SOLU
:Nor with
/post26
:So I wonder if this is consistent enough.
We could force (anytime we use
mapdl.inquire("", "RSTFILE")
to go into/post1
to obtain the right values.In that case,
mapdl.inquire("", "RSTFILE")
will never returnNone
, but I think this is more consistent.Beta Was this translation helpful? Give feedback.
All reactions