#include "cs_defs.h"
Go to the source code of this file.
Functions | |
void | cs_solve_equation_scalar (cs_field_t *f, cs_lnum_t ncesmp, int iterns, int itspdv, const cs_lnum_t icetsm[], int itypsm[], cs_real_t smacel[], cs_real_t viscf[], cs_real_t viscb[]) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a scalar quantity over a time step. More... | |
void | cs_solve_equation_vector (cs_field_t *f, const cs_lnum_t ncesmp, int iterns, const cs_lnum_t icetsm[], int itypsm[], cs_real_t smacel[], cs_real_t viscf[], cs_real_t viscb[]) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a vectorial quantity over a time step.. More... | |
void cs_solve_equation_scalar | ( | cs_field_t * | f, |
cs_lnum_t | ncesmp, | ||
int | iterns, | ||
int | itspdv, | ||
const cs_lnum_t | icetsm[], | ||
int | itypsm_sc[], | ||
cs_real_t | smacel_sc[], | ||
cs_real_t | viscf[], | ||
cs_real_t | viscb[] | ||
) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a scalar quantity over a time step.
[in] | f | pointer to field structure |
[in] | ncesmp | number of cells with mass source term |
[in] | iterns | Navier-Stokes iteration number |
[in] | itspdv | indicator to compute production/dissipation terms for a variance:
|
[in] | icetsm | index of cells with mass source term |
[in] | itypsm | type of mass source term for the variables |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ![]() |
viscf | visc*surface/dist at internal faces (work array) | |
viscb | visc*surface/dist at boundary faces (work array) |
Electric arcs, Joule effect ionic conduction
Cooling towers
void cs_solve_equation_vector | ( | cs_field_t * | f, |
const cs_lnum_t | ncesmp, | ||
int | iterns, | ||
const cs_lnum_t | icetsm[], | ||
int | itypsm_v[], | ||
cs_real_t | smacel_v[], | ||
cs_real_t | viscf[], | ||
cs_real_t | viscb[] | ||
) |
Solve the convection/diffusion equation (with optional source terms and/or drift) for a vectorial quantity over a time step..
[in] | f | pointer to field structure |
[in] | ncesmp | number of cells with mass source term |
[in] | iterns | Navier-Stokes iteration number |
[in] | icetsm | index of cells with mass source term |
[in] | itypsm | type of mass source term for the variables |
[in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux ![]() |
viscf | visc*surface/dist at internal faces (work array) | |
viscb | visc*surface/dist at boundary faces (work array) |