7.0
general documentation
cs_ht_convert.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_ht_convert.h:

Go to the source code of this file.

Functions

void cs_ht_convert_h_to_t_cells (const cs_real_t h[], cs_real_t t[])
 Convert enthalpy to temperature at all cells. More...
 
void cs_ht_convert_h_to_t_cells_solid (void)
 Convert enthalpy to temperature at solid cells only. More...
 
void cs_ht_convert_h_to_t_faces (const cs_real_t h[], cs_real_t t[])
 Convert enthalpy to temperature at all boundary faces. More...
 
void cs_ht_convert_t_to_h_faces_l (cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_real_t t[], cs_real_t h[])
 Convert temperature to enthalpy at selected boundary faces. More...
 

Function Documentation

◆ cs_ht_convert_h_to_t_cells()

void cs_ht_convert_h_to_t_cells ( const cs_real_t  h[],
cs_real_t  t[] 
)

Convert enthalpy to temperature at all cells.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

Parameters
[in]henthalpy values
[out]ttemperature values

◆ cs_ht_convert_h_to_t_cells_solid()

void cs_ht_convert_h_to_t_cells_solid ( void  )

Convert enthalpy to temperature at solid cells only.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

◆ cs_ht_convert_h_to_t_faces()

void cs_ht_convert_h_to_t_faces ( const cs_real_t  h[],
cs_real_t  t[] 
)

Convert enthalpy to temperature at all boundary faces.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

Parameters
[in]henthalpy values
[out]ttemperature values

◆ cs_ht_convert_t_to_h_faces_l()

void cs_ht_convert_t_to_h_faces_l ( cs_lnum_t  n_faces,
const cs_lnum_t  face_ids[],
const cs_real_t  t[],
cs_real_t  h[] 
)

Convert temperature to enthalpy at selected boundary faces.

This handles both user and model enthalpy conversions, so can be used safely whenever conversion is needed.

Parameters
[in]n_facesnumber of selected boundary faces
[in]face_idslist of associated face ids
[in]ttemperature values
[out]henthalpy values