Some incomprehensible parts of SCM code #30971
-
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 32 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Regarding the first question : _Wij_vec is the current solution of the crossflow. Its a PETSc vector that has the size of all axial levels times gaps per level. It's not a zero vector. loc_holder_Wij does seem not to be used. So that might be a bug. @tanoret |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the second question. It seems you are right regarding the enthalpy calculation. It is always lagged. @tanoret ? |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the third question: SCM uses 1D mesh per sub-channel that is radially connected to the neighboring 1D channels, through the lateral momentum equation to capture the 3D effect of crossflow. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 1414 to 1425 in 8b12082 moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 1484 to 1496 in 8b12082 |
Beta Was this translation helpful? Give feedback.
-
|
moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 1883 to 1897 in 8b12082 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Hello, please forgive me for bothering you again.
moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 456 to 457 in 8b12082 moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 2408 to 2409 in 8b12082
moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 1438 to 1439 in 8b12082
moose/modules/subchannel/src/problems/SubChannel1PhaseProblem.C Lines 599 to 601 in 8b12082
Thanks and best wishes. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.

When first developing SCM, subchannel surface area was thought to be constant so the node selections doesn't really affect the results for that case. In any case we usually opt to upwind surface area which is consistent with the one-directional flow assumption in most subchannel codes.
Maybe in future iterations we can have a more consistent indexing scheme for the various geometric parameters. If you want, correct it where you see fit and make a PR about it.
The sweep mixing parameter is only considered for enthalpy and not momentum, which is not the case for the SCM where in general the mixing parameter beta affects both momentum mixing and enthalpy mixing. So sweep flow had to be…