Actual source code: variables.h

  1: #include "structs.h"

  3: St_Input Input;
  4: St_Grid Grid;
  5: St_Geom Geom;
  6: St_Trans Trans;

  8: Ptr_Var firstVar;
  9: Ptr_Var varU, varV, varW, varP, varT, varKE, varEP;

 11: St_Interp Interp;

 13: St_Sys CoupledSys;
 14: St_Sys SegregatedSys;

 16: St_Global Global;
 17: St_Local Local;

 19: /*D
 20:   DomainPatch - Pointer to the patch representing the whole domain of
 21:   the problem.

 23:   Level: advanced

 25: .seealso St_Patch
 26: D*/
 27: Ptr_Patch DomainPatch;

 29: /*D
 30:   DomainPatchDim - TODO document me!!

 32:   Level: advanced

 34: .seealso St_Patch
 35: D*/
 36: Ptr_Patch DomainPatchDim;

 38: /*D
 39:   DomainPatchVar - TODO document me!!

 41:   Level: advanced

 43: .seealso St_Patch
 44: D*/
 45: Ptr_Patch DomainPatchVar;

 47: /*D
 48:   Conv - Property for the evaluation of the convective term of the
 49:   discretized Navier-Stokes equations.

 51:   Level: advanced

 53: .seealso St_Prop, ConvFunct
 54: D*/
 55: Ptr_Prop Conv;
 56: /*D
 57:   Diff - Property for the evaluation of the diffusive term of the
 58:   discretized Navier-Stokes equations.

 60:   Level: advanced

 62: .seealso St_Prop, DiffFunct
 63: D*/
 64: Ptr_Prop Diff;
 65: /*D
 66:   MIPresCont - TODO document me!!

 68:   Level: advanced

 70: .seealso St_Prop, MIPresContFunct
 71: D*/
 72: Ptr_Prop MIPresCont;
 73: /*D
 74:   Omicp - TODO document me!!

 76:   Level: advanced

 78: .seealso St_Prop, OmicpFunct
 79: D*/
 80: Ptr_Prop Omicp;
 81: /*D
 82:   Omica - TODO document me!!

 84:   Level: advanced

 86: .seealso St_Prop, OmicaFunct
 87: D*/
 88: Ptr_Prop Omica;
 89: /*D
 90:   Tmic1 - TODO document me!!

 92:   Level: advanced

 94: .seealso St_Prop, Tmic1Funct
 95: D*/
 96: Ptr_Prop Tmic1;
 97: /*D
 98:   Tmic2 - TODO document me!!

100:   Level: advanced

102: .seealso St_Prop, Tmic2Funct
103: D*/
104: Ptr_Prop Tmic2;
105: /*D
106:   MICorr - TODO document me!!

108:   Level: advanced

110: .seealso St_Prop, MICorrFunct
111: D*/
112: Ptr_Prop MICorr;
113: /*D
114:   TransExp1 - TODO document me!!

116:   Level: advanced

118: .seealso St_Prop, TransExp1Funct
119: D*/
120: Ptr_Prop TransExp1;
121: /*D
122:   TransExpEUL2 - TODO document me!!

124:   Level: advanced

126: .seealso St_Prop, TransExpEUL2Funct
127: D*/
128: Ptr_Prop TransExpEUL2;
129: /*D
130:   TransExpADM2 - TODO document me!!

132:   Level: advanced

134: .seealso St_Prop, TransExpADM2Funct
135: D*/
136: Ptr_Prop TransExpADM2;
137: /*D
138:   TransExpADM3 - TODO document me!!

140:   Level: advanced

142: .seealso St_Prop, TransExpADM3Funct
143: D*/
144: Ptr_Prop TransExpADM3;
145: /*D
146:   TransExpADMaux - TODO document me!!

148:   Level: advanced

150: .seealso St_Prop, TransExpADMauxFunct
151: D*/
152: Ptr_Prop TransExpADMaux;
153: /*D
154:   ViscTLES - Property for the evaluation of the turbulent viscosity
155:   using the Smagorinsky LES model.

157:   Level: advanced

159: .seealso St_Prop, ViscTLESFunct
160: D*/
161: Ptr_Prop ViscTLES;
162: /*D
163:   ViscTKE - Property for the evaluation of the turbulent viscosity
164:   using the K-Epsilon RANS model.

166:   Level: advanced

168: .seealso St_Prop, ViscTKE
169: D*/
170: Ptr_Prop ViscTKE;
171: /*D
172:   TurmodPk - Pk is the volumetric production rate of KE by shear forces.

174:   Level: advanced

176: .seealso St_Prop, TurmodPkFunct
177: D*/
178: Ptr_Prop TurmodPk;
179: /*D
180:   TurmodGb - Gb is the volumetric production rate of KE by gravitational
181:   forces interacting with density gradients.

183:   Level: advanced

185: .seealso St_Prop, TurmodGbFunct
186: D*/
187: Ptr_Prop TurmodGb;
188: /*D
189:   Rho - Property for the evaluation of the density.

191:   Level: advanced

193: .seealso St_Prop, RhoFunct
194: D*/
195: Ptr_Prop Rho;
196: /*D
197:   Nuss - Property for the evaluation of the Nusselt number.

199:   Level: advanced

201: .seealso St_Prop, NussFunct
202: D*/
203: Ptr_Prop Nuss;
204: /*D
205:   Pscomp - TODO document me!!

207:   Level: advanced

209: .seealso St_Prop, PscompFunct
210: D*/
211: Ptr_Prop Pscomp;
212: /*D
213:   MIrelax - TODO document me!!

215:   Level: advanced

217: .seealso St_Prop, MIrelaxFunct
218: D*/
219: Ptr_Prop MIrelax;

221: /*D
222:   dpdx - Property representing the variable mass flux dp/dx

224:   Level: advanced

226: .seealso St_Prop, DPDXFunct
227: D*/
228: Ptr_Prop dpdx;

230: /*D
231:   utau2 - Property representing the value of utau^2, used for
232:   the calculation of the dpdx property.

234:   Level: advanced

236: .seealso St_Prop, Utau2Funct, dpdx, utau2prev
237: D*/
238: Ptr_Prop utau2;

240: /*D
241:   utau2prev - Property representing the value of utau^2 in the previous
242:   iteration, used for the calculation of the dpdx property.

244:   Level: advanced

246: .seealso St_Prop, Utau2PrevFunct, utau2, dpdx
247: D*/
248: Ptr_Prop utau2prev;

250: /*D
251:   outer_its - Number of outer iterations performed. This number is set
252:   to 0 at the beginning of each time step.

254:   Level: advanced
255: D*/
256: PetscInt outer_its; /*! Number of outer iterations. */

258: /*D
259:   logger - PETSc object used for logging. Is preferable to use the Log,
260:   LogSync and LogView functions instead of using the object directly.

262:   Level: advanced

264: .seealso Log, LogSync, LogView
265: D*/
266: PetscViewer logger;

268: /*D
269:   instantMeans - Set of vectors containing the means of the instant values
270:   for each variable.

272:   Level: advanced
273: D*/
274: Vec *instantMeans;
275: /*D
276:   instantSums - Set of vectors containing the sum of all instant values
277:   for each variable.

279:   Level: advanced
280: D*/
281: Vec *instantSums;
282: /*D
283:   varianceSums - Set of vectors containing the sum of all variance values
284:   for each variable.

286:   Level: advanced
287: D*/
288: Vec *varianceSums;