Skip to content
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

Conversation

RGPATCHI
Copy link
Contributor

Updated temperature example, but still need to fix temperature description

Updated temperature example, but still need to fix temperature description
@akaszynski
Copy link
Collaborator

Thanks for your PR! Ping me if you’re ready for this to be reviewed please.

@jgd10
Copy link
Contributor

jgd10 commented Dec 16, 2021

@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

@akaszynski
Copy link
Collaborator

Pinging @jgd10 on the status of this.

@jgd10
Copy link
Contributor

jgd10 commented Dec 21, 2021

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
Copy link
Contributor

@jgd10 jgd10 left a 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!

ansys/mapdl/core/inline_functions/scalar_queries.py Outdated Show resolved Hide resolved
Removed the Print statements in Volt and Mag examples
@jgd10 jgd10 merged commit 870e5f7 into ansys:feat/issue_504_field_components Jan 13, 2022
@RGPATCHI RGPATCHI deleted the feat/issue_504_field_components branch January 13, 2022 16:17
akaszynski pushed a commit that referenced this pull request Jan 14, 2022
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants