My Project
programmer's documentation
Functions/Subroutines
cffana.f90 File Reference

Computes the analytical flux at the boundary for Euler and Energy. More...

Functions/Subroutines

subroutine cffana (imodif, bc_en, bc_pr, bc_vel)
 

Detailed Description

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*}

Function/Subroutine Documentation

◆ cffana()

subroutine cffana ( integer  imodif,
double precision, dimension(nfabor)  bc_en,
double precision, dimension(nfabor)  bc_pr,
double precision, dimension(3,nfabor)  bc_vel 
)
Parameters
[in]imodifindicator of what is computed
[in,out]bc_endirichlet value for the total energy
[in,out]bc_prdirichlet value for the pressure
[in,out]bc_veldirichlet value for the velocity