-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated temperature example #780
Updated temperature example #780
Conversation
Updated temperature example, but still need to fix temperature description
Thanks for your PR! Ping me if you’re ready for this to be reviewed please. |
@akaszynski Plan is to merge this into my branch (that's already in PR#764) and then you can review that PR as a whole |
Pinging @jgd10 on the status of this. |
Waiting on @RGPATCHI to commit new examples and content but I suspect there'll be a delay until after Christmas! |
I have added examples to extract the Temperature, Pressure, Voltage and Magnetic Scalar Potential at node ID 1 of the solved model. Also, I have corrected the _run_query(f"VOLT({n})" to _run_query(f"MAG({n})" for Magnetic Scalar Potential example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the small corrections and then it's good to go! LGTM!
Removed the Print statements in Volt and Mag examples
* Created api commands for mag, pres and temp Created equivalent pymapdl commands for the 3 scalar queries: MAG, PRES, and TEMP. Examples have only been added for one of the three and tests for none of them because my knowledge of APDL is not extensive enough. Further work will require external input. * Updated temperature example (#780) * Updated temperature example Updated temperature example, but still need to fix temperature description * Added Examples for querying TEMP, PRES,VOLT and MAG results I have added examples to extract the Temperature, Pressure, Voltage and Magnetic Scalar Potential at node ID 1 of the solved model. Also, I have corrected the _run_query(f"VOLT({n})" to _run_query(f"MAG({n})" for Magnetic Scalar Potential example * Made changes due to Review Removed the Print statements in Volt and Mag examples * Feat/field component tests (#833) * Updated temperature example Updated temperature example, but still need to fix temperature description * Added Examples for querying TEMP, PRES,VOLT and MAG results I have added examples to extract the Temperature, Pressure, Voltage and Magnetic Scalar Potential at node ID 1 of the solved model. Also, I have corrected the _run_query(f"VOLT({n})" to _run_query(f"MAG({n})" for Magnetic Scalar Potential example * Made changes due to Review Removed the Print statements in Volt and Mag examples * Added Tests for field component values Added tests for Temp, Pressure, Volt and Mag component values. * refactored test setup into a fixture Co-authored-by: RGPATCHI <84843983+RGPATCHI@users.noreply.github.com>
Updated temperature example, but still need to fix temperature description