Define user properties for two-phase homogeneous compressible model. More...
#include "cs_defs.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "cs_headers.h" Include dependency graph for cs_user_hgn.c:
 Include dependency graph for cs_user_hgn.c:| Functions | |
| void | cs_user_hgn_thermo_relax_time (const cs_mesh_t *mesh, const cs_real_t *alpha_eq, const cs_real_t *y_eq, const cs_real_t *z_eq, const cs_real_t *ei, const cs_real_t *v, cs_real_t *relax_tau) | 
| Computation of the relaxation time-scale.  More... | |
Define user properties for two-phase homogeneous compressible model.
| void cs_user_hgn_thermo_relax_time | ( | const cs_mesh_t * | mesh, | 
| const cs_real_t * | alpha_eq, | ||
| const cs_real_t * | y_eq, | ||
| const cs_real_t * | z_eq, | ||
| const cs_real_t * | ei, | ||
| const cs_real_t * | v, | ||
| cs_real_t * | relax_tau | ||
| ) | 
Computation of the relaxation time-scale.
This function computes the value of the relaxation time-scale (for the return to equilibrium).
| [in] | mesh | pointer to mesh | 
| [in] | alpha_eq | equilibrium volume fraction | 
| [in] | y_eq | equilibrium mass fraction | 
| [in] | z_eq | equilibrium energy fraction | 
| [in] | ei | specific internal energy | 
| [in] | v | specific volume | 
| [in] | relax_tau | relaxation time scale towards equilibrium |