src/base/predfl.f90 File Reference

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions/Subroutines
predfl.f90 File Reference

Update the convective mass flux before the Navier Stokes equations (prediction and correction steps). More...

## Functions/Subroutines
subroutine | predfl (nvar, ncesmp, icetsm, dt, smacel)

## Detailed Description

Update the convective mass flux before the Navier Stokes equations (prediction and correction steps).

This function computes a potential solving the equation:

This potential is then used to update the mass flux as follows:

## Function/Subroutine Documentation

subroutine predfl | ( | integer | nvar,
|  | integer | ncesmp,
|  | integer, dimension(ncesmp) | icetsm,
|  | double precision, dimension(ncelet) | dt,
|  | double precision, dimension(ncesmp,nvar) | smacel
| ) |  |

Parameters

  [in] | nvar | total number of variables
  [in] | nscal | total number of scalars
  [in] | ncesmp | number of cells with mass source term
  [in] | icetsm | index of cells with mass source term
  [in] | dt | time step (per cell)
  [in] | smacel | variable value associated to the mass source term (for ivar=ipr, smacel is the mass flux )