Computes the analytical flux at the boundary for Euler and Energy. More...
Functions/Subroutines | |
subroutine | cffana (imodif, bc_en, bc_pr, bc_vel) |
Computes the analytical flux at the boundary for Euler and Energy.
The Euler equations used to compute the flux are:
\begin{eqnarray*} \der{\rho}{t} + \divs \left(\rho\vect{u}\right) &=&0 \\ \der{\rho \vect{u}}{t} + \divv \left(\vect{u}\otimes\rho\vect{u}\right)&=&0 \\ \der{E}{t} + \divs \left(\rho\vect{u} E\right) &=&0 \end{eqnarray*}
subroutine cffana | ( | integer | imodif, |
double precision, dimension(nfabor) | bc_en, | ||
double precision, dimension(nfabor) | bc_pr, | ||
double precision, dimension(3,nfabor) | bc_vel | ||
) |
[in] | imodif | indicator of what is computed |
[in,out] | bc_en | dirichlet value for the total energy |
[in,out] | bc_pr | dirichlet value for the pressure |
[in,out] | bc_vel | dirichlet value for the velocity |