Skip to content
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

Generate wall temperature materials with multiple heat transfers #29836

Merged
merged 3 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The heat transfer coefficient $h$ is simply derived from the definition of the Nusselt number $Nu$:

!equation
Nu = \dfrac{Nu k}{D_h}
h = \dfrac{Nu k}{D_h}

with $k$ the thermal conductivity and $D_h$ the hydraulic diameter.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Nusselt number in this correlation is:
!equation
Nu = 0.023 Re^{\dfrac{4}{5}} Pr^n;

with $n$ = 0.4 if the fluid temperature is greater than the wall temperature and 0.3 otherwise,
with $n$ = 0.4 if the fluid temperature is lower than the wall temperature and 0.3 otherwise,
$Re$ the Reynolds number and $Pr$ the Prandtl number.

!syntax parameters /Materials/WallHeatTransferCoefficient3EqnDittusBoelterMaterial
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ WallTemperature1PhaseClosures::addMooseObjectsFlowChannel(const FlowChannelBase
const unsigned int n_ht_connections = flow_channel_1phase.getNumberOfHeatTransferConnections();
if ((n_ht_connections > 0) && (flow_channel.getTemperatureMode()))
{
for (unsigned int i = 0; i < n_ht_connections; i++)
addWallTemperatureFromAuxMaterial(flow_channel_1phase, i);

if (flow_channel.getNumberOfHeatTransferConnections() > 1)
addAverageWallTemperatureMaterial(flow_channel_1phase);
else
addWallTemperatureFromAuxMaterial(flow_channel_1phase);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
time,T_wall
0,600
time,T_wall,T_wall_1,T_wall_2
0,600,500,700
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@
T_wall = 700
[]
[]
[Postprocessors]
[T_wall_1]
type = ADElementAverageMaterialProperty
mat_prop = T_wall:1
execute_on = 'INITIAL'
[]
[T_wall_2]
type = ADElementAverageMaterialProperty
mat_prop = T_wall:2
execute_on = 'INITIAL'
[]
[]
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
input = 'three_pipe_shock.i'
csvdiff = 'three_pipe_shock.csv'
heavy = True
max_time = 600
max_time = 650
requirement = 'The system shall be able to model a 3-pipe shock.'
[]
[]