Download User's Guide

Transcript
Chapter 6
External Routines
47
Volume Heating
real function userVHeating (iv
,time
,p
, T
,q0
,tau0 )
Returns the heating power deposition (W) in a volume. Called if Heating=user.
Parameter
iv
time
p
T
q0
tau0
Type Units
I
R
R
R
R
R
Meaning
(-)
(s)
(Pa)
(K)
(W)
(s)
Volume number
Simulation time
Volume pressure
Volume temperature
Reference power (as from input)
Reference heating time (as from input)
Pipe Heating
real function userPHeating (ij
,time
,x
,T
,q0
,tau0
)
Returns the heating power deposition (W/m) in a pipe. Called if Heating=user for a junction
of type Cpipe. The calculation is performed at all nodes of the junction, identified by their
nodal coordinate.
Parameter
ij
time
x
T
q0
tau0
Type Units
I
R
R
R
R
R
Meaning
(-)
(s)
(m)
(K)
(W/m)
(s)
Junction number
Simulation time
Node coordinate from inlet
Temperature at the node
Reference power (as from input)
Reference heating time (as from input)
Pipe Heat Transfer Coefficient
real function userHTC (ij
,time
,x
,T
,p
, D
,Dh
,Reynol,HTC )
Returns the heat exchange (W/m2 K) in a pipe. Called if HTC=user for a junction of type
Cpipe. The calculation is performed at all nodes of the junction, identified by their nodal
coordinate.
Parameter
ij
time
x
T
p
D
Dh
Reynol
HTC
Type Units
I
(-)
R
(s)
R
(m)
R
(K)
R
(Pa)
R (Kg/m3)
R
(m)
(-)
R
R (W/m2 K)
Meaning
Junction number
Simulation time
Node coordinate from inlet
Temperature in the node
Pressure in the node
Density in the node
Hydraulic diameter of the junction
Reynolds number of the flow at the node
reference heat transfer coefficient (as from input).
© CryoSoft, 2013