8.3
general documentation
cs_solve_equation.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_solve_equation.h:

Go to the source code of this file.

Functions

void cs_solve_equation_scalar (cs_field_t *f, int iterns, int itspdv, 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, int iterns, 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...
 

Function Documentation

◆ cs_solve_equation_scalar()

void cs_solve_equation_scalar ( cs_field_t f,
int  iterns,
int  itspdv,
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.

Parameters
[in]fpointer to field structure
[in]iternsNavier-Stokes iteration number
[in]itspdvindicator to compute production/dissipation terms for a variance:
  • 0: no
  • 1: yes
viscfvisc*surface/dist at internal faces (work array)
viscbvisc*surface/dist at boundary faces (work array)

Electric arcs, Joule effect ionic conduction

Cooling towers

◆ cs_solve_equation_vector()

void cs_solve_equation_vector ( cs_field_t f,
int  iterns,
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..

Parameters
[in]fpointer to field structure
[in]iternsNavier-Stokes iteration number
viscfvisc*surface/dist at internal faces (work array)
viscbvisc*surface/dist at boundary faces (work array)