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
AssembleMomentumElemSolverAlgorithm.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 AssembleMomentumElemSolverAlgorithm_h
10 #define AssembleMomentumElemSolverAlgorithm_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 class PecletFunction;
26 
28 {
29 public:
30 
32  Realm &realm,
33  stk::mesh::Part *part,
34  EquationSystem *eqSystem);
36  virtual void initialize_connectivity();
37  virtual void execute();
38 
39  double van_leer(
40  const double &dqm,
41  const double &dqp,
42  const double &small);
43 
44  const double includeDivU_;
45  const double meshMotion_;
46 
54 
55  // peclet function specifics
57 };
58 
59 } // namespace nalu
60 } // namespace Sierra
61 
62 #endif
ScalarFieldType * viscosity_
Definition: AssembleMomentumElemSolverAlgorithm.h:52
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
Definition: AssembleMomentumElemSolverAlgorithm.h:27
VectorFieldType * velocity_
Definition: AssembleMomentumElemSolverAlgorithm.h:48
Definition: SolverAlgorithm.h:24
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
GenericFieldType * dudx_
Definition: AssembleMomentumElemSolverAlgorithm.h:50
VectorFieldType * coordinates_
Definition: AssembleMomentumElemSolverAlgorithm.h:49
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
const double meshMotion_
Definition: AssembleMomentumElemSolverAlgorithm.h:45
GenericFieldType * massFlowRate_
Definition: AssembleMomentumElemSolverAlgorithm.h:53
PecletFunction * pecletFunction_
Definition: AssembleMomentumElemSolverAlgorithm.h:56
Definition: Realm.h:82
ScalarFieldType * density_
Definition: AssembleMomentumElemSolverAlgorithm.h:51
Definition: PecletFunction.h:15
VectorFieldType * velocityRTM_
Definition: AssembleMomentumElemSolverAlgorithm.h:47
const double includeDivU_
Definition: AssembleMomentumElemSolverAlgorithm.h:44