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
src
base
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-2013 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
42
BEGIN_C_DECLS
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
* nbpmax, nvp, nvp1, nvep, nivep,
84
* itepa,
85
* dt, rtpa, rtp, propce,
86
* coefa, coefb,
87
* statce, stativ, statfb,
88
* ettp, ettpa, tepa )
89
*
90
* integer ntcabs : --> : current time step number
91
* integer nvar : <-- : number of variables
92
* integer nscal : <-- : number of scalars
93
* integer nvlsta : <-- : number of statistical variables (lagr)
94
* integer nvisbr : <-- : number of boundary stat. variables (lagr)
95
* integer nbpmax : <-- : maximum number of particles allowed
96
* integer nvp : <-- : number of particle variables
97
* integer nvp1 : <-- : nvp less position, fluid and
98
* : : particle velocity
99
* integer nvep : <-- : number of real particle attributes
100
* integer nivep : <-- : number of interger particle attributes
101
* double precision ttcabs : <-- : current physical time
102
* integer itepa : <-- : integer particle attributes
103
* double precision dt : <-- : local time step
104
* double precision rtpa : <-- : cell variables at previous time step
105
* double precision rtp : <-- : cell variables
106
* double precision propce : <-- : cell physical properties
107
*----------------------------------------------------------------------------*/
108
109
void
CS_PROCF
(
pstvar
, PSTVAR)
110
(
111
const
cs_int_t
*ntcabs,
112
const
cs_int_t
*nvar,
113
const
cs_int_t
*nscal,
114
const
cs_int_t
*nvlsta,
115
const
cs_int_t
*nvisbr,
116
const
cs_int_t
*nbpmax,
117
const
cs_int_t
*nvp,
118
const
cs_int_t
*nvp1,
119
const
cs_int_t
*nvep,
120
const
cs_int_t
*nivep,
121
const
cs_int_t
itepa[],
122
const
cs_real_t
dt[],
123
const
cs_real_t
rtpa[],
124
const
cs_real_t
rtp[],
125
const
cs_real_t
propce[]
126
);
127
128
/*----------------------------------------------------------------------------
129
* Define which Lagrangian variables should be postprocessed
130
*
131
* Fortran interface:
132
*
133
* subroutine lagpvr
134
* *****************
135
* ( iphyla, ivisv1, ivisv2, ivistp, ivisdm, iviste,
136
* ivismp, ivisdk, iviswat, ivisch, ivisck )
137
*
138
* integer iphyla : <-- : type of lagrangian calculation
139
* integer ivisv1 : <-- : display of variable 'fluid velocity'
140
* integer ivisv2 : <-- : display of variable 'particles velocity'
141
* integer ivistp : <-- : display of variable 'resident time'
142
* integer ivisdm : <-- : display of variable 'particle diameter'
143
* integer iviste : <-- : display of variable 'particle temperature'
144
* integer ivismp : <-- : display of variable 'particle mass'
145
* integer ivisdk : <-- : display of variable 'core diameter of part.'
146
* integer iviswat : <-- : display of variable 'mass of water in coal'
147
* integer ivisch : <-- : display of variable 'mass of reactive coal'
148
* integer ivisck : <-- : display of variable 'mass of char'
149
*----------------------------------------------------------------------------*/
150
151
void
CS_PROCF
(
lagpvr
, LAGPVR)
152
(
153
const
cs_int_t
*iphyla,
154
const
cs_int_t
*ivisv1,
155
const
cs_int_t
*ivisv2,
156
const
cs_int_t
*ivistp,
157
const
cs_int_t
*ivisdm,
158
const
cs_int_t
*iviste,
159
const
cs_int_t
*ivismp,
160
const
cs_int_t
*ivisdk,
161
const
cs_int_t
*iviswat,
162
const
cs_int_t
*ivisch,
163
const
cs_int_t
*ivisck
164
);
165
166
/*============================================================================
167
* Public function prototypes
168
*============================================================================*/
169
170
/*----------------------------------------------------------------------------*/
171
172
END_C_DECLS
173
174
#endif
/* __CS_POST_DEFAULT_H__ */
Generated on Thu Feb 27 2014 19:21:34 by
1.8.3.1