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
Enhancement/temp dep&transient bc #4062
Conversation
…c' into enhancement/temp_dep&transient_bc
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4062 +/- ##
===========================================
+ Coverage 31.12% 81.97% +50.84%
===========================================
Files 182 182
Lines 63851 63968 +117
===========================================
+ Hits 19875 52435 +32560
+ Misses 43976 11533 -32443 |
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
…m/pyansys/pyaedt into Enhancement/temp_dep&transient_bc # Conflicts: # pyaedt/icepak.py
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4062 +/- ##
==========================================
- Coverage 81.51% 76.64% -4.88%
==========================================
Files 107 107
Lines 52366 52485 +119
==========================================
- Hits 42687 40225 -2462
- Misses 9679 12260 +2581 |
Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
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.
Great work ! Could you do a few changes to make this code compliant with pyaedt code base (cf discussion over returning False instead of raising Exception).
Note: I still strongly think we should move from return a boolean to raising an exception !
Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
LGTM, good work !
Add classes to ease the creation of temperature dependent and transient boundary assignments.
Until now, the creation of a boundary condition with advanced conditions (transient or temperature dependent) was not immediate:
With this PR I introduce a base class (and subclasses) to handle all this easily.
@Samuelopez-ansys @maxcapodi78 let me know if you have suggestions