-
Notifications
You must be signed in to change notification settings - Fork 26
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
XML Format #88
XML Format #88
Conversation
</neutronics> | ||
<heat_fluids> | ||
<driver>surrogate</driver> | ||
<pressure_bc>101325.0</pressure_bc> |
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.
This value of <pressure_bc>
is the outlet temperature used in tests/unit/test_surrogate_th.cpp
. Rather than being set in test driver, I'm setting it here.
|
||
double outlet_pressure = 101325.0; |
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.
Here's the value of pressure BC that I've now set in tests/unit/inputs/test_surrogate_input.xml
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.
Definitely an improvement; thanks @RonRahaman!
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This implements a new format for
enrico.xml
, as discussed in #87. The new format has top-level elements for<neutronics>
,<heat_fluids>
, and<coupling>
. Under those top-level elements, all pre-existing elements are now reorganized as sub-elements.CoupledDriver
are minimal. They required no changes to the constructor's signatureHeatFluidsDriver
was changed to omit thepressure_bc
parameter add an XML node parameter. This is because the<pressure_bc>
element is now a subelement of<heat_fluids>
, so it seemed to make sense to just pass the parent<heat_fluids>
element.