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
ComputeMdotNonConformalAlgorithm.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 ComputeMdotNonConformalAlgorithm_h
10 #define ComputeMdotNonConformalAlgorithm_h
11 
12 #include<Algorithm.h>
13 #include<FieldTypeDef.h>
14 
15 // stk
16 #include <stk_mesh/base/Part.hpp>
17 
18 namespace sierra{
19 namespace nalu{
20 
21 class Realm;
22 
24 {
25 public:
26 
28  Realm &realm,
29  stk::mesh::Part *part,
30  ScalarFieldType *pressure,
31  VectorFieldType *Gjp);
33 
34  void execute();
35 
43 
44  const bool meshMotion_;
45  const bool useCurrentNormal_;
46  const double includePstab_;
47 
48  std::vector< const stk::mesh::FieldBase *> ghostFieldVec_;
49 };
50 
51 } // namespace nalu
52 } // namespace Sierra
53 
54 #endif
const bool useCurrentNormal_
Definition: ComputeMdotNonConformalAlgorithm.h:45
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
~ComputeMdotNonConformalAlgorithm()
Definition: ComputeMdotNonConformalAlgorithm.C:78
void execute()
Definition: ComputeMdotNonConformalAlgorithm.C:87
ComputeMdotNonConformalAlgorithm(Realm &realm, stk::mesh::Part *part, ScalarFieldType *pressure, VectorFieldType *Gjp)
Definition: ComputeMdotNonConformalAlgorithm.C:38
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
VectorFieldType * velocityRTM_
Definition: ComputeMdotNonConformalAlgorithm.h:38
Definition: ComputeMdotNonConformalAlgorithm.h:23
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
ScalarFieldType * pressure_
Definition: ComputeMdotNonConformalAlgorithm.h:36
const bool meshMotion_
Definition: ComputeMdotNonConformalAlgorithm.h:44
GenericFieldType * ncMassFlowRate_
Definition: ComputeMdotNonConformalAlgorithm.h:42
GenericFieldType * exposedAreaVec_
Definition: ComputeMdotNonConformalAlgorithm.h:41
Definition: Algorithm.h:28
std::vector< const stk::mesh::FieldBase * > ghostFieldVec_
Definition: ComputeMdotNonConformalAlgorithm.h:48
VectorFieldType * Gjp_
Definition: ComputeMdotNonConformalAlgorithm.h:37
ScalarFieldType * density_
Definition: ComputeMdotNonConformalAlgorithm.h:40
const double includePstab_
Definition: ComputeMdotNonConformalAlgorithm.h:46
Definition: Realm.h:82
VectorFieldType * coordinates_
Definition: ComputeMdotNonConformalAlgorithm.h:39