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
AssembleScalarEdgeSolverAlgorithm.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 AssembleScalarEdgeSolverAlgorithm_h
10 #define AssembleScalarEdgeSolverAlgorithm_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,
35  ScalarFieldType *scalarQ,
36  VectorFieldType *dqdx,
37  ScalarFieldType *diffFluxCoeff);
39  virtual void initialize_connectivity();
40  virtual void execute();
41 
42  double van_leer(
43  const double &dqm,
44  const double &dqp,
45  const double &small);
46 
47  const bool meshMotion_;
48 
57 
58  // peclect function specifics
60 };
61 
62 } // namespace nalu
63 } // namespace Sierra
64 
65 #endif
VectorFieldType * dqdx_
Definition: AssembleScalarEdgeSolverAlgorithm.h:50
Definition: ABLForcingAlgorithm.C:26
VectorFieldType * edgeAreaVec_
Definition: AssembleScalarEdgeSolverAlgorithm.h:56
ScalarFieldType * scalarQ_
Definition: AssembleScalarEdgeSolverAlgorithm.h:49
const bool meshMotion_
Definition: AssembleScalarEdgeSolverAlgorithm.h:47
Definition: SolverAlgorithm.h:24
Definition: Algorithm.h:14
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
VectorFieldType * velocityRTM_
Definition: AssembleScalarEdgeSolverAlgorithm.h:52
Base class representation of a PDE.
Definition: EquationSystem.h:46
ScalarFieldType * massFlowRate_
Definition: AssembleScalarEdgeSolverAlgorithm.h:55
PecletFunction * pecletFunction_
Definition: AssembleScalarEdgeSolverAlgorithm.h:59
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
Definition: AssembleScalarEdgeSolverAlgorithm.h:27
VectorFieldType * coordinates_
Definition: AssembleScalarEdgeSolverAlgorithm.h:53
ScalarFieldType * diffFluxCoeff_
Definition: AssembleScalarEdgeSolverAlgorithm.h:51
Definition: Realm.h:82
Definition: PecletFunction.h:15
ScalarFieldType * density_
Definition: AssembleScalarEdgeSolverAlgorithm.h:54