You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tanoret opened this issue
Jan 20, 2025
· 0 comments
· May be fixed by #29710
Labels
P: normalA defect affecting operation with a low possibility of significantly affects.T: defectAn anomaly, which is anything that deviates from expectations.
The issue appears when using variable density materials in Navier Stokes, e.g., density dependent on temperature.
When specifying inlet mass flow rates using the WCNSFVMassFluxBC and WCNSFVMomentumFluxBC, the specified mass flow rates are reconstructed via second order interpolation to the face and are not necessarily reproducing the values specified by the user. This could be fine for the outlet, where the density have to be reconstructed to the outlet face, but not for the inlet where the user is specifying the mass flow rate.
Steps to Reproduce
This is an example input reproducing the error. The mass flow rate should be 1,400 kg/s. However, the post-processors are showing the following values:
The computed inlet mass flow rate is 1,384.7 kg/s at the inlet and 1,4711.5 at the outlet. This is wrong for both cases. The errors reduce as we refine the mesh, of course, but we would generally like to use coarse meshes.
This will improve the domain-overlap coupling action and enable the user to actually see in the postprocessors the values that were actually specified for the inlet mass flow rates.
[Optional] Diagnostics
No response
The text was updated successfully, but these errors were encountered:
tanoret
added
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: defect
An anomaly, which is anything that deviates from expectations.
labels
Jan 20, 2025
tanoret
pushed a commit
to tanoret/moose
that referenced
this issue
Jan 20, 2025
P: normalA defect affecting operation with a low possibility of significantly affects.T: defectAn anomaly, which is anything that deviates from expectations.
Bug Description
The issue appears when using variable density materials in Navier Stokes, e.g., density dependent on temperature.
When specifying inlet mass flow rates using the
WCNSFVMassFluxBC
andWCNSFVMomentumFluxBC
, the specified mass flow rates are reconstructed via second order interpolation to the face and are not necessarily reproducing the values specified by the user. This could be fine for the outlet, where the density have to be reconstructed to the outlet face, but not for the inlet where the user is specifying the mass flow rate.Steps to Reproduce
This is an example input reproducing the error. The mass flow rate should be 1,400 kg/s. However, the post-processors are showing the following values:
+----------------+----------------+----------------+----------------+----------------+----------------+
| time | area_pp_left | inlet_mdot | inlet_mfr | outlet_mfr | velocity_pp |
+----------------+----------------+----------------+----------------+----------------+----------------+
: : : : : : :
| 7.167000e+00 | 1.000000e+00 | 1.400000e+03 | -1.391791e+03 | 1.635018e+03 | 1.000000e+00 |
| 8.191000e+00 | 1.000000e+00 | 1.400000e+03 | -1.390112e+03 | 1.575618e+03 | 1.000000e+00 |
| 1.023900e+01 | 1.000000e+00 | 1.400000e+03 | -1.388269e+03 | 1.511694e+03 | 1.000000e+00 |
| 1.433500e+01 | 1.000000e+00 | 1.400000e+03 | -1.385957e+03 | 1.478058e+03 | 1.000000e+00 |
| 2.252700e+01 | 1.000000e+00 | 1.400000e+03 | -1.384653e+03 | 1.471348e+03 | 1.000000e+00 |
| 3.891100e+01 | 1.000000e+00 | 1.400000e+03 | -1.384485e+03 | 1.471105e+03 | 1.000000e+00 |
| 7.167900e+01 | 1.000000e+00 | 1.400000e+03 | -1.384581e+03 | 1.471155e+03 | 1.000000e+00 |
| 1.372150e+02 | 1.000000e+00 | 1.400000e+03 | -1.384645e+03 | 1.471159e+03 | 1.000000e+00 |
| 2.682870e+02 | 1.000000e+00 | 1.400000e+03 | -1.384676e+03 | 1.471159e+03 | 1.000000e+00 |
| 5.304310e+02 | 1.000000e+00 | 1.400000e+03 | -1.384691e+03 | 1.471159e+03 | 1.000000e+00 |
| 1.054719e+03 | 1.000000e+00 | 1.400000e+03 | -1.384699e+03 | 1.471159e+03 | 1.000000e+00 |
| 2.103295e+03 | 1.000000e+00 | 1.400000e+03 | -1.384703e+03 | 1.471159e+03 | 1.000000e+00 |
| 4.200447e+03 | 1.000000e+00 | 1.400000e+03 | -1.384705e+03 | 1.471159e+03 | 1.000000e+00 |
| 8.394751e+03 | 1.000000e+00 | 1.400000e+03 | -1.384705e+03 | 1.471159e+03 | 1.000000e+00 |
| 1.000000e+04 | 1.000000e+00 | 1.400000e+03 | -1.384704e+03 | 1.471159e+03 | 1.000000e+00 |
+----------------+----------------+----------------+----------------+----------------+----------------+
The computed inlet mass flow rate is 1,384.7 kg/s at the inlet and 1,4711.5 at the outlet. This is wrong for both cases. The errors reduce as we refine the mesh, of course, but we would generally like to use coarse meshes.
Impact
This will improve the domain-overlap coupling action and enable the user to actually see in the postprocessors the values that were actually specified for the inlet mass flow rates.
[Optional] Diagnostics
No response
The text was updated successfully, but these errors were encountered: