Subroutine PELTIER
Calculates the heat inputs to the hot and cold sides of a Peltier device.
Before you use the PELTIER
subroutine, you must first define a Peltier Card in which you specify zero values for volt
and current
parameters. The subroutine overwrites the Peltier Card parameters.
Calling convention:
call peltier(grpcold, grphot, npole, seebeck, geomf ,elecres, volt, current, ktherm, t, q)
Arguments | Data type | Input/Output | Description |
---|---|---|---|
grpcold |
Character*7 | Call | Group name of cold side elements. |
grphot |
Character*7 | Call | Group name of hot side elements. |
npole
|
Integer | Call | Number of poles of the device. |
seebeck |
Real | Call | The Seebeck coefficient of the cooler. If set to a negative integer value, the Seeback coefficient is interpolated from thermal solver table abs(seebeck ). For example, if seebeck=–3 , then the Seebeck coefficient is interpolated from the table 3. |
geomf |
Real | Call | The geometric factor for the device. |
elecres |
Real | Call | The electrical resistivity of the cooler. If set to a negative integer value, the electrical resistivity is interpolated from thermal solver table abs(elecres ). For example, if elecres=–4 , then the electrical resistivity is interpolated from the table 4. |
volt |
Real | Call | The voltage applied to the device. Either volt or current must be zero, defining it as a dependent quantity. |
current |
Real | Call | The current flowing through the device. Either volt or current must be zero, defining it as a dependent quantity. |
ktherm |
Real | Call | The thermal conductivity of the cooler. If set to a negative integer value, the thermal conductivity is interpolated from thermal solver table abs(ktherm ). For example, if ktherm =–5 , then the thermal conductivity is interpolated from the table 5. |
t |
Real(*) | Call | The main thermal solver temperature array. It is the same array referenced by argument 2 of the routine USER1 . |
q |
Real(*) | Return | The main thermal solver heat input array. It is the same array referenced by argument 4 of the routine USER1 . The values in this array corresponding to the hot and cold sides of the device are set by this routine. |