programmer's documentation
cs_post_default.h
Go to the documentation of this file.
1 #ifndef __CS_POST_DEFAULT_H__
2 #define __CS_POST_DEFAULT_H__
3 
4 /*============================================================================
5  * Post-processing management
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2015 EDF S.A.
12 
13  This program is free software; you can redistribute it and/or modify it under
14  the terms of the GNU General Public License as published by the Free Software
15  Foundation; either version 2 of the License, or (at your option) any later
16  version.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21  details.
22 
23  You should have received a copy of the GNU General Public License along with
24  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25  Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 /*----------------------------------------------------------------------------*/
29 
30 /*----------------------------------------------------------------------------
31  * Standard C library headers
32  *----------------------------------------------------------------------------*/
33 
34 /*----------------------------------------------------------------------------
35  * Local headers
36  *----------------------------------------------------------------------------*/
37 
38 #include "cs_base.h"
39 
40 /*----------------------------------------------------------------------------*/
41 
43 
44 /*============================================================================
45  * Macro definitions
46  *============================================================================*/
47 
48 /*============================================================================
49  * Local type definitions
50  *============================================================================*/
51 
52 /*=============================================================================
53  * Global variables
54  *============================================================================*/
55 
56 /*============================================================================
57  * Public Fortran function prototypes
58  *============================================================================*/
59 
60 /*----------------------------------------------------------------------------
61  * Output post-processing meshes using associated writers.
62  *
63  * Fortran interface:
64  *
65  * subroutine pstgeo
66  * *****************
67  *----------------------------------------------------------------------------*/
68 
69 void CS_PROCF (pstgeo, PSTGEO)
70 (
71  void
72 );
73 
74 /*----------------------------------------------------------------------------
75  * Loop on post-processing meshes to output variables
76  *
77  * Fortran interface:
78  *
79  * subroutine pstvar
80  * *****************
81  * ( ntcabs,
82  * nvar, nscal, nvlsta, nvisbr )
83  *
84  * integer ntcabs : --> : current time step number
85  * integer nvar : <-- : number of variables
86  * integer nscal : <-- : number of scalars
87  * integer nvlsta : <-- : number of statistical variables (lagr)
88  * integer nvisbr : <-- : number of boundary stat. variables (lagr)
89  *----------------------------------------------------------------------------*/
90 
91 void CS_PROCF (pstvar, PSTVAR)
92 (
93  const cs_int_t *ntcabs,
94  const cs_int_t *nvar,
95  const cs_int_t *nscal,
96  const cs_int_t *nvlsta,
97  const cs_int_t *nvisbr
98 );
99 
100 /*----------------------------------------------------------------------------
101  * Define which Lagrangian variables should be postprocessed
102  *
103  * Fortran interface:
104  *
105  * subroutine lagpvr
106  * *****************
107  * ( ivisv1, ivisv2, ivistp, ivisdm, iviste,
108  * ivismp, ivisdk, iviswat, ivisch, ivisck )
109  *
110  * integer ivisv1 : <-- : display of variable 'fluid velocity'
111  * integer ivisv2 : <-- : display of variable 'particles velocity'
112  * integer ivistp : <-- : display of variable 'resident time'
113  * integer ivisdm : <-- : display of variable 'particle diameter'
114  * integer iviste : <-- : display of variable 'particle temperature'
115  * integer ivismp : <-- : display of variable 'particle mass'
116  * integer ivisdk : <-- : display of variable 'core diameter of part.'
117  * integer iviswat : <-- : display of variable 'mass of water in coal'
118  * integer ivisch : <-- : display of variable 'mass of reactive coal'
119  * integer ivisck : <-- : display of variable 'mass of char'
120  *----------------------------------------------------------------------------*/
121 
122 void CS_PROCF (lagpvr, LAGPVR)
123 (
124  const cs_int_t *ivisv1,
125  const cs_int_t *ivisv2,
126  const cs_int_t *ivistp,
127  const cs_int_t *ivisdm,
128  const cs_int_t *iviste,
129  const cs_int_t *ivismp,
130  const cs_int_t *ivisdk,
131  const cs_int_t *iviswat,
132  const cs_int_t *ivisch,
133  const cs_int_t *ivisck
134 );
135 
136 /*============================================================================
137  * Public function prototypes
138  *============================================================================*/
139 
140 /*----------------------------------------------------------------------------*/
141 
143 
144 #endif /* __CS_POST_DEFAULT_H__ */
integer, save ivismp
associates (=1) or not (=0) the variable "particle mass" with the output of particles or trajectories...
Definition: lagran.f90:1387
void lagpvr(const cs_int_t *ivisv1, const cs_int_t *ivisv2, const cs_int_t *ivistp, const cs_int_t *ivisdm, const cs_int_t *iviste, const cs_int_t *ivismp, const cs_int_t *ivisdk, const cs_int_t *iviswat, const cs_int_t *ivisch, const cs_int_t *ivisck)
Definition: cs_post_default.c:392
integer, save iviswat
Definition: lagran.f90:1405
integer, save ivistp
associates (=1) or not (=0) the variable "residence time" with the output of particles or trajectorie...
Definition: lagran.f90:1375
integer, save ivisck
associates (=1) or not (=0) the variable "mass of coal of the coal particles" with the output of par...
Definition: lagran.f90:1402
integer, save nvlsta
Definition: lagdim.f90:54
#define BEGIN_C_DECLS
Definition: cs_defs.h:429
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:295
integer, save ivisch
associates (=1) or not (=0) the variable "mass of reactive coal of the coal particles" with the outp...
Definition: lagran.f90:1397
integer, save ivisv2
associates (=1) or not (=0) the variable "particle velocity" with the output of particles or trajecto...
Definition: lagran.f90:1371
integer, save ivisv1
associates (=1) or not (=0) the variable "velocity of the locally undisturbed fluid flow field" with...
Definition: lagran.f90:1367
integer, save nvisbr
Definition: lagdim.f90:54
void pstvar(const cs_int_t *ntcabs, const cs_int_t *nvar, const cs_int_t *nscal, const cs_int_t *nvlsta, const cs_int_t *nvisbr)
Definition: cs_post_default.c:335
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition: dimens.f90:42
#define END_C_DECLS
Definition: cs_defs.h:430
integer(c_int), pointer, save ntcabs
Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterat...
Definition: optcal.f90:388
integer, save nscal
number of solved user scalars effective number of scalars solutions of an advection equation...
Definition: dimens.f90:55
#define CS_PROCF(x, y)
Definition: cs_defs.h:453
void pstgeo(void)
Definition: cs_post_default.c:305
integer, save iviste
associates (=1) or not (=0) the variable "particle temperature" with the output of particles or traje...
Definition: lagran.f90:1383
integer, save ivisdm
associates (=1) or not (=0) the variable "particle diameter" with the output of particles or trajecto...
Definition: lagran.f90:1379
integer, save ivisdk
associates (=1) or not (=0) the variable "shrinking core diameter of the coal particles" with the ou...
Definition: lagran.f90:1392