Skip to content

Conversation

@kyriv1980
Copy link
Contributor

This PR resolves issue #31406

@GiudGiud GiudGiud self-assigned this Jan 29, 2026
@moosebuild
Copy link
Contributor

moosebuild commented Jan 30, 2026

Job Documentation, step Docs: sync website on 6bc317e wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

moosebuild commented Jan 30, 2026

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

Framework coverage

e4407b #32289 6bc317
Total Total +/- New
Rate 85.77% 85.77% +0.00% -
Hits 127594 127595 +1 0
Misses 21166 21165 -1 0

Diff coverage report

Full coverage report

Modules coverage

Subchannel

e4407b #32289 6bc317
Total Total +/- New
Rate 93.48% 93.44% -0.03% 100.00%
Hits 6075 6185 +110 206
Misses 424 434 +10 0

Diff coverage report

Full coverage report

Full coverage reports

Reports

This comment will be updated on new commits.

@kyriv1980 kyriv1980 force-pushed the quadDuct branch 2 times, most recently from 878e734 to cf8f64d Compare January 30, 2026 22:26
@kyriv1980 kyriv1980 requested a review from GiudGiud January 30, 2026 22:54
@kyriv1980 kyriv1980 force-pushed the quadDuct branch 2 times, most recently from a35b4f5 to 2817724 Compare February 2, 2026 18:28
@moosebuild
Copy link
Contributor

Job Test, step Results summary on 6bc317e wanted to post the following:

Framework test summary

Compared against e4407b3 in job civet.inl.gov/job/3542080.

No change

Modules test summary

Compared against e4407b3 in job civet.inl.gov/job/3542080.

Added tests

Test Time (s) Memory (MB)
subchannel/test:mesh/quad_subchannel_duct_mesh.test 0.85 0.00

Run time changes

Test Base (s) Head (s) +/- Base (MB) Head (MB)
stochastic_tools/test:web_server_control.stochastic_control/normal 2.63 4.08 +54.97% 0.00 0.00

Comment on lines +58 to +62
* Function that returns the vector of the duct nodes.
*
* Over-writing to avoid abstract template definition in this class
* NOTE: must match base-class signature exactly (returns by value).
*/
///@{
virtual Node * getDuctNodeFromChannel(Node *) override { return nullptr; }
virtual Node * getChannelNodeFromDuct(Node *) override { return nullptr; }
virtual const std::vector<Node *> getDuctNodes() const override { return std::vector<Node *>(); }
///@}
const std::vector<Node *> getDuctNodes() const override { return _duct_nodes; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Function that returns the vector of the duct nodes.
*
* Over-writing to avoid abstract template definition in this class
* NOTE: must match base-class signature exactly (returns by value).
*/
///@{
virtual Node * getDuctNodeFromChannel(Node *) override { return nullptr; }
virtual Node * getChannelNodeFromDuct(Node *) override { return nullptr; }
virtual const std::vector<Node *> getDuctNodes() const override { return std::vector<Node *>(); }
///@}
const std::vector<Node *> getDuctNodes() const override { return _duct_nodes; }
* Function that returns the vector of the duct nodes.
*/
const std::vector<Node *> & getDuctNodes() const override { return _duct_nodes; }

a reference is likely enough and prevents the copy

Copy link
Contributor

Choose a reason for hiding this comment

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

you ll need to fix the base class and other derived classes since this is virtual

Comment on lines +200 to +211
Node *
QuadSubChannelMesh::getDuctNodeFromChannel(Node * channel_node) const
{
auto it = _chan_to_duct_node_map.find(channel_node);
return (it == _chan_to_duct_node_map.end()) ? nullptr : it->second;
}

Node *
QuadSubChannelMesh::getChannelNodeFromDuct(Node * duct_node) const
{
auto it = _duct_node_to_chan_map.find(duct_node);
return (it == _duct_node_to_chan_map.end()) ? nullptr : it->second;
Copy link
Contributor

Choose a reason for hiding this comment

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

these are exactly the same in the TriSubChannelMesh
why are they not defined in the parent class?

same for other routines most likely

InputParameters params = MeshGenerator::validParams();
params.addClassDescription("Creates a mesh of 2D duct cells around a square-lattice subassembly");
params.addRequiredParam<MeshGeneratorName>("input", "The corresponding subchannel mesh");
params.addParam<unsigned int>("block_id", 2, "Domain Index");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
params.addParam<unsigned int>("block_id", 2, "Domain Index");
params.addParam<unsigned int>("block_id", 2, "Subdomain id for the duct mesh cells");

Comment on lines +34 to +39
"built a duct.[-]");
params.addRangeCheckedParam<unsigned int>(
"ny",
"ny > 1",
"Number of channels in the y direction for the subchannel assembly. Must be more than 1 to "
"built a duct.[-]");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"built a duct.[-]");
params.addRangeCheckedParam<unsigned int>(
"ny",
"ny > 1",
"Number of channels in the y direction for the subchannel assembly. Must be more than 1 to "
"built a duct.[-]");
"built a duct [-]");
params.addRangeCheckedParam<unsigned int>(
"ny",
"ny > 1",
"Number of channels in the y direction for the subchannel assembly. Must be more than 1 to "
"built a duct [-]");


This mesh generator creates the mesh were the variables associated with the duct live.
This mesh generator creates the mesh (with Quad4 elements) where the variables associated with the duct live.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The subdomain name used for the duct will match the name of this mesh generator.

same for the other one

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