Skip to content

Full ranged ZrCoHx PCT modelling capabilities#420

Open
Anthony-Bowers08 wants to merge 4 commits into
idaholab:develfrom
Anthony-Bowers08:ZrCoHx_FullRange_PCT_Modelling
Open

Full ranged ZrCoHx PCT modelling capabilities#420
Anthony-Bowers08 wants to merge 4 commits into
idaholab:develfrom
Anthony-Bowers08:ZrCoHx_FullRange_PCT_Modelling

Conversation

@Anthony-Bowers08

@Anthony-Bowers08 Anthony-Bowers08 commented May 30, 2026

Copy link
Copy Markdown
Contributor

Ref. #261

Reason

Design

Full range ZrCo PCT modelling capabilities

Impact

Full range ZrCo PCT modelling capabilities

@simopier simopier self-assigned this Jun 3, 2026

@simopier simopier left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a partial review, not a full detailed one.

Please address these things first.

You are also missing an issue number in your commit history:

##########################################################################
ERROR: Your patch does not contain a valid ticket reference! (i.e. #1234)
Merge branch 'ZrCoHx_FullRange_PCT_Modelling' of https://github.com/Anthony-Bowers08/TMAP8 into test
Full ranged ZrCoHx PCT modelling capabilities Ref. 261
##########################################################################

Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT_Overall.i Outdated
Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT_Overall.i Outdated
Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT_Overall.i Outdated
Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT_Overall.i Outdated
Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT_Overall.i Outdated
@simopier

simopier commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

This PR is still failing due to:

##########################################################################
ERROR: Your patch does not contain a valid ticket reference! (i.e. #1234)
Merge branch 'ZrCoHx_FullRange_PCT_Modelling' of https://github.com/Anthony-Bowers08/TMAP8 into test
Apply suggestions from code review
Apply suggestion from @simopier
Full ranged ZrCoHx PCT modelling capabilities Ref. 261
##########################################################################

@moosebuild

moosebuild commented Jun 10, 2026

Copy link
Copy Markdown

Job Documentation, step Sync to remote on e454875 wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild

moosebuild commented Jun 10, 2026

Copy link
Copy Markdown

Job Coverage, step Generate coverage on e454875 wanted to post the following:

Coverage

5dd63d #420 e45487
Total Total +/- New
Rate 92.15% 92.41% +0.26% 100.00%
Hits 1314 1339 +25 42
Misses 112 110 -2 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@Anthony-Bowers08 Anthony-Bowers08 force-pushed the ZrCoHx_FullRange_PCT_Modelling branch from 6e56f25 to f898b6b Compare June 11, 2026 18:36
@Anthony-Bowers08 Anthony-Bowers08 force-pushed the ZrCoHx_FullRange_PCT_Modelling branch from f898b6b to 681717b Compare June 11, 2026 19:23
@lin-yang-ly lin-yang-ly reopened this Jun 11, 2026
@Anthony-Bowers08 Anthony-Bowers08 force-pushed the ZrCoHx_FullRange_PCT_Modelling branch from da77422 to f898b6b Compare June 11, 2026 20:11
@lin-yang-ly lin-yang-ly force-pushed the ZrCoHx_FullRange_PCT_Modelling branch from f898b6b to f1d8f2f Compare June 11, 2026 20:48
@lin-yang-ly lin-yang-ly changed the title Full ranged ZrCoHx PCT modelling capabilities Ref. 261 Full ranged ZrCoHx PCT modelling capabilities Jun 11, 2026
@moosebuild

Copy link
Copy Markdown

Job Build test summary, step Build test summary on e454875 wanted to post the following:

Test summary

Compared against 5dd63d1 in job civet.inl.gov/job/3908047.

Removed tests

Test Time (s) Memory (MB)
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T604_5E4P_csv 3.34 64.02
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T573_1E4P_csv 3.30 75.16
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T433_1E4P_csv 3.28 86.82
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T604_6E3P_csv 3.26 102.29
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T433_3E4P_csv 3.22 75.70
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T573_1E3P_csv 3.18 92.23
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T433_1E2P_csv 2.80 108.53

Added tests

Test Time (s) Memory (MB)
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T524_3E4P_csv 4.30 73.92
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T423_1E4P_csv 4.26 91.59
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T524_5E2P_csv 4.16 82.23
test:ZrCo_hydrogen_system.ZrCoHx_PCT_T604_5E2P_csv 4.06 83.38
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_423K_csv 3.66 113.99
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_584K_csv 3.36 145.45
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_604K_csv 2.95 144.07
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_524K_csv 2.79 111.95
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_544K_csv 2.75 109.56
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_624K_csv 2.74 143.15
test:ZrCo_hydrogen_system.ZrCoHx_PCT_Low_to_High_564K_csv 2.71 112.46

@simopier simopier left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting closer too! Let me know if you have any questions about these comments and suggestions.

Comment thread test/tests/ZrCo_hydrogen_system/ZrCoHx_PCT.i Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment thread doc/content/source/interfacekernels/ADMatInterfaceReactionZrCoHxPCT.md Outdated
Comment on lines +61 to +63
return 2.7 - 1.4529 * (
1.0
+ np.exp(6.5726 - 2.2087e-02 * T + (6.5206e-01 - 1.1738e-05 * T) * np.log(arg))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return 2.7 - 1.4529 * (
1.0
+ np.exp(6.5726 - 2.2087e-02 * T + (6.5206e-01 - 1.1738e-05 * T) * np.log(arg))
return 2.7 - 1.45 * (
1.0
+ np.exp(6.57 - 2.21e-02 * T + (6.52e-01 - 1.17e-05 * T) * np.log(arg))

plt.yscale("log")
plt.xlabel("Atom Ratio (-)")
plt.ylabel("Partial Pressure (Pa)")
plt.ylabel("Pressure (Pa)")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
plt.ylabel("Pressure (Pa)")
plt.ylabel("Partial Pressure (Pa)")

I think you should keep the partial here.

Comment on lines +132 to +134
p = os.path.join(gold_dir, f)
if os.path.exists(p):
tmap_low[f] = pd.read_csv(p)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
p = os.path.join(gold_dir, f)
if os.path.exists(p):
tmap_low[f] = pd.read_csv(p)
path = os.path.join(gold_dir, f)
if os.path.exists(path):
tmap_low[f] = pd.read_csv(path)

Comment on lines +138 to +140
p = os.path.join(gold_dir, f)
if os.path.exists(p):
tmap_high[f] = pd.read_csv(p)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
p = os.path.join(gold_dir, f)
if os.path.exists(p):
tmap_high[f] = pd.read_csv(p)
path = os.path.join(gold_dir, f)
if os.path.exists(path):
tmap_high[f] = pd.read_csv(path)

Comment on lines +251 to +252
• Plots exp scatter vs TMAP8 dashed
• Calculates MAPE on overlapping atomic‑ratio range

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Plots exp scatter vs TMAP8 dashed
Calculates MAPE on overlapping atomicratio range
- Plots exp scatter vs TMAP8 dashed
- Calculates MAPE on overlapping atomicratio range

Co-authored-by: Pierre-Clement Simon <pierreclement.simon@gmail.com>
@moosebuild

Copy link
Copy Markdown

Job Precheck, step Format Check Clang on 7dee5d8 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/tmap8/docs/PRs/420/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format dcbf22b9f813a486b8e564bb3e27a54862ebc215

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.

4 participants