59#define CS_VOF_ENABLED (1 << 0)
62#define CS_VOF_FREE_SURFACE (1 << 1)
65#define CS_VOF_MERKLE_MASS_TRANSFER (1 << 2)
#define BEGIN_C_DECLS
Definition cs_defs.h:542
double cs_real_t
Floating-point value.
Definition cs_defs.h:342
#define END_C_DECLS
Definition cs_defs.h:543
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition cs_defs.h:359
void cs_vof_deshpande_drift_flux(const cs_mesh_t *m, const cs_mesh_quantities_t *mq)
Compute the flux of the drift velocity , by using the flux of the standard velocity following the ap...
Definition cs_vof.cpp:1440
void cs_vof_surface_tension(const cs_mesh_t *m, const cs_mesh_quantities_t *mq, cs_real_3_t stf[])
Compute the surface tension momentum source term following the CSF model of Brackbill et al....
Definition cs_vof.cpp:1180
cs_cavitation_parameters_t * cs_get_glob_cavitation_parameters(void)
Definition cs_vof.cpp:2133
cs_vof_contact_angle_t
Definition cs_vof.h:120
@ CS_VOF_N_CONTACT_ANGLE_TYPES
Definition cs_vof.h:124
@ CS_VOF_CONTACT_ANGLE_STATIC
Definition cs_vof.h:122
@ CS_VOF_CONTACT_ANGLE_DYN
Definition cs_vof.h:123
@ CS_VOF_CONTACT_ANGLE_OFF
Definition cs_vof.h:121
void cs_vof_drift_term(int imrgra, int nswrgp, int imligp, int iwarnp, cs_real_t epsrgp, cs_real_t climgp, cs_real_t *pvar, const cs_real_t *pvara, cs_real_t *rhs)
Add the explicit part of the convection/diffusion terms of a standard transport equation of a scalar ...
void cs_vof_compute_linear_rho_mu(const cs_mesh_t *m)
Compute the mixture density, mixture dynamic viscosity given fluid volume fractions and the reference...
Definition cs_vof.cpp:872
void cs_vof_field_create(void)
Create VoF fields.
Definition cs_vof.cpp:665
void cs_cavitation_compute_source_term(const cs_real_t pressure[], const cs_real_t voidf[])
Compute the vaporization source term using the Merkle model:
Definition cs_vof.cpp:2167
void cs_vof_log_setup(void)
Log setup of VoF model.
Definition cs_vof.cpp:779
const cs_vof_parameters_t * cs_glob_vof_parameters
void cs_vof_log_mass_budget(const cs_mesh_t *m, const cs_mesh_quantities_t *mq)
Write in main log the global mixture mass budget:
Definition cs_vof.cpp:1015
void cs_vof_contact_angle_set(const cs_vof_contact_angle_t choice)
Set the contact angle mode.
Definition cs_vof.cpp:2219
const cs_cavitation_parameters_t * cs_glob_cavitation_parameters
void cs_vof_update_phys_prop(const cs_mesh_t *m)
Compute the mixture density, mixture dynamic viscosity and mixture mass flux given the volumetric flu...
Definition cs_vof.cpp:953
void cs_vof_solve_void_fraction(int iterns)
Solve the void fraction for the Volume of Fluid method (and hence for cavitating flows).
Definition cs_vof.cpp:1751
cs_vof_parameters_t * cs_get_glob_vof_parameters(void)
Definition cs_vof.cpp:653
int itscvi
Definition cs_vof.h:114
cs_real_t linf
Definition cs_vof.h:109
cs_real_t presat
Definition cs_vof.h:107
cs_real_t cdest
Definition cs_vof.h:110
cs_real_t uinf
Definition cs_vof.h:108
cs_real_t cprod
Definition cs_vof.h:111
int icvevm
Definition cs_vof.h:112
cs_real_t mcav
Definition cs_vof.h:113
double rho2
Definition cs_vof.h:86
double kdrift
Definition cs_vof.h:98
double cdrift
Definition cs_vof.h:96
double mu1
Definition cs_vof.h:88
int idrift
Definition cs_vof.h:94
double rho1
Definition cs_vof.h:84
unsigned vof_model
Definition cs_vof.h:81
double mu2
Definition cs_vof.h:90
double sigma_s
Definition cs_vof.h:92
Cavitation model parameters.
Definition cs_vof.h:105
Definition cs_mesh_quantities.h:92
VOF model parameters. Void fraction variable tracks fluid 2.
Definition cs_vof.h:79