#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "bft_printf.h"
#include "bft_error.h"
#include "cs_cf_boundary_conditions.h"
#include "cs_cf_thermo.h"
#include "cs_field_pointer.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_cf_boundary_flux.h"
Functions | |
void | cs_cf_boundary_analytical_flux (const cs_lnum_t f_id, const cs_real_t *val_ext_en, const cs_real_t *val_ext_p, const cs_real_3_t *val_ext_v) |
Computes the analytical flux at the boundary for Euler and Energy. More... | |
void | cs_cf_boundary_rusanov (const cs_lnum_t f_id, const cs_real_t *val_ext_en, cs_real_t *val_ext_p, cs_real_3_t *val_ext_v) |
Computes the Rusanov flux at the boundary for Euler and Energy. More... | |
void cs_cf_boundary_analytical_flux | ( | const cs_lnum_t | f_id, |
const cs_real_t * | val_ext_en, | ||
const cs_real_t * | val_ext_p, | ||
const cs_real_3_t * | val_ext_v | ||
) |
Computes the analytical flux at the boundary for Euler and Energy.
The Euler equations used to compute the flux are:
[in] | f_id | face id |
[in] | val_ext_en | Dirichlet value for the total energy |
[in] | val_ext_p | Dirichlet value for the pressure |
[in] | val_ext_v | Dirichlet value for the velocity |
void cs_cf_boundary_rusanov | ( | const cs_lnum_t | f_id, |
const cs_real_t * | val_ext_en, | ||
cs_real_t * | val_ext_p, | ||
cs_real_3_t * | val_ext_v | ||
) |
Computes the Rusanov flux at the boundary for Euler and Energy.
d rho /dt + div rho u = 0 d rho u /dt + div rho u u + grad P = 0 d E /dt + div rho u E + div u P = 0
[in] | f_id | face id |
[in] | val_ext_en | Dirichlet value for the total energy |
[in,out] | val_ext_p | Dirichlet value for the pressure |
[in,out] | val_ext_v | Dirichlet value for the velocity |