My Project
programmer's documentation
|
Go to the source code of this file.
Data Structures | |
struct | cs_vof_parameters_t |
VOF model parameters. Void fraction variable tracks fluid 2. More... | |
struct | cs_cavitation_parameters_t |
Cavitation model parameters. More... | |
Macros | |
#define | CS_VOF_ENABLED (1 << 0) |
#define | CS_VOF_FREE_SURFACE (1 << 1) |
#define | CS_VOF_MERKLE_MASS_TRANSFER (1 << 2) |
Functions | |
cs_vof_parameters_t * | cs_get_glob_vof_parameters (void) |
void | cs_vof_compute_linear_rho_mu (const cs_domain_t *domain) |
Compute the mixture density, mixture dynamic viscosity given fluid volume fractions and the reference density and dynamic viscosity (liquid), (gas). More... | |
void | cs_vof_update_phys_prop (const cs_domain_t *domain) |
Compute the mixture density, mixture dynamic viscosity and mixture mass flux given the volumetric flux, the volume fraction and the reference density and dynamic viscosity (liquid), (gas). More... | |
void | cs_vof_log_mass_budget (const cs_domain_t *domain) |
Write in main log the global mixture mass budget: More... | |
cs_cavitation_parameters_t * | cs_get_glob_cavitation_parameters (void) |
Variables | |
const cs_vof_parameters_t * | cs_glob_vof_parameters |
cs_cavitation_parameters_t* cs_get_glob_cavitation_parameters | ( | void | ) |
cs_vof_parameters_t* cs_get_glob_vof_parameters | ( | void | ) |
void cs_vof_compute_linear_rho_mu | ( | const cs_domain_t * | domain | ) |
Compute the mixture density, mixture dynamic viscosity given fluid volume fractions and the reference density and dynamic viscosity (liquid), (gas).
Computation is done as follows on cells:
A similar linear formula is followed on boundary using fluid volume fraction value on the boundary.
void cs_vof_log_mass_budget | ( | const cs_domain_t * | domain | ) |
Write in main log the global mixture mass budget:
void cs_vof_update_phys_prop | ( | const cs_domain_t * | domain | ) |
Compute the mixture density, mixture dynamic viscosity and mixture mass flux given the volumetric flux, the volume fraction and the reference density and dynamic viscosity (liquid), (gas).
For the computation of mixture density, mixture dynamic viscosity, see cs_vof_compute_linear_rho_mu.
Computation of mass flux is as follows:
const cs_vof_parameters_t* cs_glob_vof_parameters |