src/user/cs_user_postprocess_var.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
cs_user_postprocess_var.f90 File Reference

Output additional variables on a postprocessing mesh. More...

## Functions/Subroutines
subroutine | usvpst (ipart, nvar, nscal, nvlsta, ncelps, nfacps, nfbrps, itypps, lstcel, lstfac, lstfbr, dt, rtpa, rtp, propce)

## Detailed Description

Output additional variables on a postprocessing mesh.

Several "automatic" postprocessing meshes may be defined:

- The volume mesh (ipart=-1) if 'ichrvl' = 1
- The boundary mesh (ipart=-2) if 'ichrbo' = 1
- SYRTHES coupling surface (ipart < -2) if 'ichrsy' = 1
- Cooling tower exchange zone meshes (ipart < -2) if 'ichrze' = 1

Additional meshes (cells or faces) may also be defined through the GUI or using the cs_user_postprocess_meshes() function from the cs_user_postprocess.c file.

This subroutine is called once for each post-processing mesh (with a different value of 'ipart') for each time step at which output on this mesh is active.

## Function/Subroutine Documentation

subroutine usvpst | ( | integer | ipart,
|  | integer | nvar,
|  | integer | nscal,
|  | integer | nvlsta,
|  | integer | ncelps,
|  | integer | nfacps,
|  | integer | nfbrps,
|  | integer, dimension(3) | itypps,
|  | integer, dimension(ncelps) | lstcel,
|  | integer, dimension(nfacps) | lstfac,
|  | integer, dimension(nfbrps) | lstfbr,
|  | double precision, dimension(ncelet) | dt,
|  | double precision, dimension(ncelet,*) | rtpa,
|  | double precision, dimension(ncelet,*) | rtp,
|  | double precision, dimension(ncelet,*) | propce
| ) |  |

Parameters

  [in] | ipart | number of the post-processing mesh (< 0 or > 0)
  [in] | nvar | total number of variables
  [in] | nscal | total number of scalars
  [in] | nvlsta | number of Lagrangian statistical variables
  [in] | ncelps | number of cells in post-processing mesh
  [in] | nfacps | number of interior faces in post-process. mesh
  [in] | nfbrps | number of boundary faces in post-process. mesh
  [in] | itypps | global presence flag (0 or 1) for cells (1), interior faces (2), or boundary faces (3) in post-processing mesh
  [in] | lstcel | list of cells in post-processing mesh
  [in] | lstfac | list of interior faces in post-processing mesh
  [in] | lstfbr | list of boundary faces in post-processing mesh
  [in] | dt | time step (per cell)
  [in] | rtp,rtpa | calculated variables at cell centers (at current and previous time steps)
  [in] | propce | physical properties at cell centers