carbatpy.models.components.heat_transfer

Created on Fri Jul 26 10:57:15 2024 wrapper to call ht-database and pressure loss

@author: welp

Attributes

fluidmodel

Functions

get_correct_trans_string(fluid)

calc_alpha_dpdl_tube(fluid, fluidstate, mdot, l, d_big)

heat transfer coefficient and pressure drop for working fluid, changes

calc_2P_pressure_loss(pl_method, d_big, G, state, ...)

calc_2P_heat_transfer(ht_method, mdot, fluidstate, ...)

Module Contents

carbatpy.models.components.heat_transfer.fluidmodel = 'TREND'[source]
carbatpy.models.components.heat_transfer.get_correct_trans_string(fluid)[source]
carbatpy.models.components.heat_transfer.calc_alpha_dpdl_tube(fluid, fluidstate, mdot, l, d_big, d_small=0, pl_method='Macdonald_et_al-2016', dT_wall=5, ht_method='Deng_et_al-2019', CT='HC')[source]

heat transfer coefficient and pressure drop for working fluid, changes automatically to 1phase if necessary.

Parameters:
  • fluid (TYPE) – DESCRIPTION.

  • fluidstate (TYPE) – DESCRIPTION.

  • mdot (TYPE) – DESCRIPTION. mass flow rate [kg/s]

  • method (TYPE) – DESCRIPTION. Nusselt correlation as in ht database or constant

  • l (TYPE) –

    DESCRIPTION. length of tube (only used for flow field as reference

    length) [m]

  • d_big (TYPE) – DESCRIPTION. diameter [m]

  • U_i (TYPE, optional) – DESCRIPTION. The default is 0. please set, if constant U shall be used

Returns:

  • alpha_KM (TYPE) – DESCRIPTION. heat transfer coefficient [W/(m^2*K)]

  • dp_wf (TYPE) – DESCRIPTION. differential pressure loss [Pa/m]

carbatpy.models.components.heat_transfer.calc_2P_pressure_loss(pl_method, d_big, G, state, fluid, mdot, heat_transfer_rate=None, eps=1e-05)[source]
carbatpy.models.components.heat_transfer.calc_2P_heat_transfer(ht_method, mdot, fluidstate, fluid, d_big, dT_wall, CT)[source]