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
AssembleMomentumNonConformalSolverAlgorithm.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 AssembleMomentumNonConformalSolverAlgorithm_h
10 #define AssembleMomentumNonConformalSolverAlgorithm_h
11 
12 #include<SolverAlgorithm.h>
13 #include<FieldTypeDef.h>
14 
15 namespace stk {
16 namespace mesh {
17 class Part;
18 }
19 }
20 
21 namespace sierra{
22 namespace nalu{
23 
24 class Realm;
25 
27 {
28 public:
29 
31  Realm &realm,
32  stk::mesh::Part *part,
33  EquationSystem *eqSystem,
34  VectorFieldType *velocity,
35  ScalarFieldType *diffFluxCoeff);
37  virtual void initialize_connectivity();
38  virtual void execute();
39 
45 
46  // options that prevail over all algorithms created
47  const double eta_;
48  const double includeDivU_;
49  const double useCurrentNormal_;
50 
51  std::vector< const stk::mesh::FieldBase *> ghostFieldVec_;
52 };
53 
54 } // namespace nalu
55 } // namespace Sierra
56 
57 #endif
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
ScalarFieldType * diffFluxCoeff_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:41
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:26
GenericFieldType * ncMassFlowRate_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:44
Definition: SolverAlgorithm.h:24
const double useCurrentNormal_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:49
VectorFieldType * velocity_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:40
Definition: Algorithm.h:14
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
Base class representation of a PDE.
Definition: EquationSystem.h:46
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
const double eta_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:47
virtual ~AssembleMomentumNonConformalSolverAlgorithm()
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:36
GenericFieldType * exposedAreaVec_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:43
std::vector< const stk::mesh::FieldBase * > ghostFieldVec_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:51
Definition: Realm.h:82
VectorFieldType * coordinates_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:42
const double includeDivU_
Definition: AssembleMomentumNonConformalSolverAlgorithm.h:48