-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update first wall variables for clarity #3502
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3502 +/- ##
=======================================
Coverage 31.55% 31.55%
=======================================
Files 82 82
Lines 19565 19565
=======================================
Hits 6173 6173
Misses 13392 13392 ☔ View full report in Codecov by Sentry. |
c630b67
to
6ea5011
Compare
a43a614
to
e007996
Compare
f78c311
to
20cba43
Compare
b086d77
to
140fed0
Compare
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.
Just one thing missing from the obsolete_variables I think
8aa4efe
to
261c375
Compare
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.
Happy with code and docs changes.
26c592c
to
9109f45
Compare
…lace denw in fwbs variables
…y across the codebase
…ncy across the codebase
…y across the codebase
…oss the codebase
…ross the codebase
…ency across the codebase
…ncy across the codebase
…cy across the codebase
…oss the codebase
…ross the codebase
… and consistency
…nd naming conventions
…ross the codebase
…istency across the codebase
…oss the codebase
…ross the codebase
…cross the codebase
…across the codebase
…d consistency across the codebase
…y across the codebase
9109f45
to
724c025
Compare
(Typo on iblanket? (iblnaket)) |
Yes, small typo. Have corrected |
Description
Update the First Wall (FW) variables to be more verbose and meet the new style guide. This should make the code easier to understand.
life_
prefix.visc_
prefix.Namespace changes
Functions
Variables
afw
->radius_fw_channel
fw_wall
->dr_fw_wall
pitch
->dx_fw_module
: Since this is the distance between adjacent FW cooling pipes or more simply the width of each seperate FW cooled segment thedx_
prefix has been used as the direction is not in a single dimension.fwith
->dr_fw_inboard
: Now more clearly shows that it is the radial thicknessfwoth
->dr_fw_outboard
: Now more clearly shows that it is the radial thicknessdenw
: Removed fromfwbs_variables
and added as new variableden_tungsten
intoconstants.py
iblanket
->i_blanket_type
: More explicitly shows that this is the type of blanket system chosen instead of possible being a switch for the presence of a blanket.fwinlet
->temp_fw_coolant_in
: Makes this more explicit that this is the coolant temperature instead of the FW structurefwoutlet
->temp_fw_coolant_out
: Makes this more explicit that this is the coolant temperature instead of the FW structurefwpressure
->pres_fw_coolant
: Makes this more explicit that this is the coolant pressurefwareaib
->a_fw_inboard
: Changed to meet new style guidefwareaob
->a_fw_outboard
: Changed to meet new style guidefwarea
->a_fw_total
: Changed to make it more explicit that it is the sum of the inboard and outboard FW areas.volfw
->vol_fw_total
: Changed to make it more explicit that it is the sum of the inboard and outboard FW volumes.vffwo
->f_a_fw_coolant_outboard
: Make it easier to show that this is the fraction of the FW cross-sectional area taken by the coolant pipes.vffwi
->f_a_fw_coolant_inboard
: Make it easier to show that this is the fraction of the FW cross-sectional area taken by the coolant pipes.fwmass
->m_fw_total
: Make it easier to show that this is the total mass of both first walls.fwcoolant
->i_fw_coolant_type
: Add switchi_
prefix and make it easier to discern if this is choosing the presence of a FW coolant or its type (incase an inertially cooled FW is a future option).fwlife
->life_fw_fpy
pnucfw
->p_fw_nuclear_heat_total_mw
fw_channel_length
->len_fw_channel
tpeak
->temp_fw_peak
tfwmatmax
->temp_fw_max
rhof_fw
->den_fw_coolant
visc_fw
->visc_fw_coolant
peaking_factor
->f_fw_peak
✨ New additions
den_tungsten
: Now added toconstants.f90
🐛 Bugs
Checklist
I confirm that I have completed the following checks: