9.0
general documentation
Loading...
Searching...
No Matches
cs_ht_convert.h File Reference
#include "base/cs_defs.h"
#include "base/cs_zone.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.
void cs_ht_convert_h_to_t_cells_solid (void)
 Convert enthalpy to temperature at solid cells only.
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.
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.
void cs_ht_convert_t_to_h_faces_z (const cs_zone_t *z, const cs_real_t t[], cs_real_t h[])
 Convert temperature to enthalpy for a given boundary zone, using dense storage for temperature and enthalpy arrays.

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

◆ cs_ht_convert_t_to_h_faces_z()

void cs_ht_convert_t_to_h_faces_z ( const cs_zone_t * z,
const cs_real_t t[],
cs_real_t h[] )

Convert temperature to enthalpy for a given boundary zone, using dense storage for temperature and enthalpy arrays.

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

Parameters
[in]zpointer to selected zone.
[in]ttemperature values
[out]henthalpy values