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
AssembleMomentumEdgeSolverAlgorithm.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 AssembleMomentumEdgeSolverAlgorithm_h
10 #define AssembleMomentumEdgeSolverAlgorithm_h
11 
12 #include<SolverAlgorithm.h>
13 #include<FieldTypeDef.h>
14 
15 namespace sierra{
16 namespace nalu{
17 
18 class Realm;
19 class PecletFunction;
20 
22 {
23 public:
24 
26  Realm &realm,
27  stk::mesh::Part *part,
28  EquationSystem *eqSystem);
30  virtual void initialize_connectivity();
31  virtual void execute();
32 
33  double van_leer(
34  const double &dqm,
35  const double &dqp,
36  const double &small);
37 
38  const bool meshMotion_;
39  const double includeDivU_;
40 
49 
50  // peclet function specifics
52 };
53 
54 } // namespace nalu
55 } // namespace Sierra
56 
57 #endif
Definition: ABLForcingAlgorithm.C:26
virtual void initialize_connectivity()
Definition: AssembleMomentumEdgeSolverAlgorithm.C:85
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
ScalarFieldType * viscosity_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:46
virtual ~AssembleMomentumEdgeSolverAlgorithm()
Definition: AssembleMomentumEdgeSolverAlgorithm.C:76
ScalarFieldType * massFlowRate_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:48
Definition: SolverAlgorithm.h:24
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
const bool meshMotion_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:38
Base class representation of a PDE.
Definition: EquationSystem.h:46
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
VectorFieldType * coordinates_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:43
Definition: AssembleMomentumEdgeSolverAlgorithm.h:21
AssembleMomentumEdgeSolverAlgorithm(Realm &realm, stk::mesh::Part *part, EquationSystem *eqSystem)
Definition: AssembleMomentumEdgeSolverAlgorithm.C:35
VectorFieldType * edgeAreaVec_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:47
GenericFieldType * dudx_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:44
ScalarFieldType * density_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:45
VectorFieldType * velocityRTM_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:41
double van_leer(const double &dqm, const double &dqp, const double &small)
Definition: AssembleMomentumEdgeSolverAlgorithm.C:421
virtual void execute()
Definition: AssembleMomentumEdgeSolverAlgorithm.C:94
VectorFieldType * velocity_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:42
PecletFunction * pecletFunction_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:51
Definition: Realm.h:82
Definition: PecletFunction.h:15
const double includeDivU_
Definition: AssembleMomentumEdgeSolverAlgorithm.h:39