|
3D-ICE 3.0.0
|
#include <math.h>Go to the source code of this file.
Macros | |
| #define | PI 3.14159265358979323846 |
| #define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
| #define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
| #define | PARALLEL(x, y) (((x) * (y)) / ((x) + (y))) |
| #define | IS_CHANNEL_COLUMN(channel_model, column) |
| #define | CCONV_MC_4RM(nchannels, vhc, fr) |
| #define | CCONV_MC_2RM(nchannels, vhc, fr, porosity, cell_l, channel_l) |
| #define | CCONV_PF(vhc, darcy_velocity, cell_l, cavity_h) |
| #define | EFFECTIVE_HTC_PF_INLINE(darcy_velocity) |
| #define | EFFECTIVE_HTC_PF_STAGGERED(darcy_velocity) |
| #define | FLOW_RATE_FROM_MLMIN_TO_UM3SEC(fr) (( fr * 1e+12 ) / 60.0) |
| #define | FLOW_RATE_FROM_UM3SEC_TO_MLMIN(fr) (( fr * 60.0 ) / 1e+12) |
| #define | POROSITY(diameter, pitch) |
| #define | DIAMETER(porosity, pitch) |
| #define CCONV_MC_2RM | ( | nchannels, | |
| vhc, | |||
| fr, | |||
| porosity, | |||
| cell_l, | |||
| channel_l | |||
| ) |
Returns the C convective term for the 2RM model of microchannels
FlowRatePerChannel [ um3 / sec ] = FlowRate [ um3 / sec ] / #Channels [ ]
CoolantVelocity [ m / sec ] = FlowRatePerChannel [ um3 / sec ] / (CavityHeight * ChannelLength) [ um2 ]
Cconv [ J / ( K . sec) ] = CoolantVHC [ J / ( um3 . K ) ]
CoolantVelocity = FlowRate / (#Channels * CavityHeight * ChannelLength)
Cconv = (CoolantVHC * FlowRate * Porosity * CellLength) / (#Channels * 2 * ChannelLength)
| #define CCONV_MC_4RM | ( | nchannels, | |
| vhc, | |||
| fr | |||
| ) |
Returns the C convective term for the 4RM model of microchannels
FlowRatePerChannel [ um3 / sec ] = FlowRate [ um3 / sec ] / #ChannelColumns [ ]
CoolantVelocity [ m / sec ] = FlowRatePerChannel [ um3 / sec ]
Cconv [ J / ( K . sec) ] = CoolantVHC [ J / ( um3 . K ) ]
CoolantVelocity = FlowRate / (#ChannelColumns * Ay )
Cconv = (CoolantVHC * FlowRate) / (#ChannelColumns * 2)
| #define CCONV_PF | ( | vhc, | |
| darcy_velocity, | |||
| cell_l, | |||
| cavity_h | |||
| ) |
Returns the C convective term for the 2RM model of pin fins
Cconv [ J / ( K . sec) ] = CoolantVHC [ J / ( um3 . K ) ]
| #define DIAMETER | ( | porosity, | |
| pitch | |||
| ) |
Returns the diameter of a 2RM pin fins
| #define EFFECTIVE_HTC_PF_INLINE | ( | darcy_velocity | ) |
| #define EFFECTIVE_HTC_PF_STAGGERED | ( | darcy_velocity | ) |
| #define FLOW_RATE_FROM_MLMIN_TO_UM3SEC | ( | fr | ) | (( fr * 1e+12 ) / 60.0) |
| #define FLOW_RATE_FROM_UM3SEC_TO_MLMIN | ( | fr | ) | (( fr * 60.0 ) / 1e+12) |
| #define IS_CHANNEL_COLUMN | ( | channel_model, | |
| column | |||
| ) |
Returns TRUE if column is the index of a channel column. If channel_model is 4RM, then odd indeces are channel columns. Otherwise, all indexes are channels (2RM microchannel or pin fins).
| #define MAX | ( | a, | |
| b | |||
| ) | (((a) > (b)) ? (a) : (b)) |
| #define MIN | ( | a, | |
| b | |||
| ) | (((a) < (b)) ? (a) : (b)) |
| #define PARALLEL | ( | x, | |
| y | |||
| ) | (((x) * (y)) / ((x) + (y))) |