Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
AveragingInfo.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 Sandia Corporation. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 
9 #ifndef AveragingInfo_h
10 #define AveragingInfo_h
11 
12 #include <NaluParsing.h>
13 
14 #include <string>
15 #include <vector>
16 
17 namespace stk {
18  namespace mesh {
19  class FieldBase;
20  class Part;
21  typedef std::vector<Part*> PartVector;
22  }
23 }
24 
25 namespace sierra{
26 namespace nalu{
27 
29 {
30 public:
31 
32  AveragingInfo();
33  ~AveragingInfo();
34 
35  // name of this block
36  std::string name_;
37 
38  // specialty options
46 
47  // vector of part names, e.g., block_1, surface_2
48  std::vector<std::string> targetNames_;
49 
50  // vector of parts
52 
53  // vector of favre/reynolds fields
54  std::vector<std::string> favreFieldNameVec_;
55  std::vector<std::string> reynoldsFieldNameVec_;
56 
57  // vector of pairs of fields
58  std::vector<std::pair<stk::mesh::FieldBase *, stk::mesh::FieldBase *> > favreFieldVecPair_;
59  std::vector<std::pair<stk::mesh::FieldBase *, stk::mesh::FieldBase *> > reynoldsFieldVecPair_;
60 
61  // sizes for each
62  std::vector<unsigned> favreFieldSizeVec_;
63  std::vector<unsigned> reynoldsFieldSizeVec_;
64 };
65 
66 } // namespace nalu
67 } // namespace Sierra
68 
69 #endif
bool computeVorticity_
Definition: AveragingInfo.h:43
std::vector< Part * > PartVector
Definition: Algorithm.h:16
Definition: ABLForcingAlgorithm.C:26
std::vector< unsigned > favreFieldSizeVec_
Definition: AveragingInfo.h:62
std::vector< unsigned > reynoldsFieldSizeVec_
Definition: AveragingInfo.h:63
std::vector< std::string > reynoldsFieldNameVec_
Definition: AveragingInfo.h:55
std::vector< std::string > favreFieldNameVec_
Definition: AveragingInfo.h:54
Definition: Algorithm.h:14
bool computeFavreStress_
Definition: AveragingInfo.h:41
bool computeLambdaCI_
Definition: AveragingInfo.h:45
bool computeFavreTke_
Definition: AveragingInfo.h:42
std::vector< std::string > targetNames_
Definition: AveragingInfo.h:48
std::string name_
Definition: AveragingInfo.h:36
bool computeReynoldsStress_
Definition: AveragingInfo.h:39
std::vector< std::pair< stk::mesh::FieldBase *, stk::mesh::FieldBase * > > reynoldsFieldVecPair_
Definition: AveragingInfo.h:59
bool computeTke_
Definition: AveragingInfo.h:40
std::vector< std::pair< stk::mesh::FieldBase *, stk::mesh::FieldBase * > > favreFieldVecPair_
Definition: AveragingInfo.h:58
bool computeQcriterion_
Definition: AveragingInfo.h:44
stk::mesh::PartVector partVec_
Definition: AveragingInfo.h:51
Definition: AveragingInfo.h:28