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
AssembleScalarElemOpenSolverAlgorithm.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 AssembleScalarElemOpenSolverAlgorithm_h
10 #define AssembleScalarElemOpenSolverAlgorithm_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  ScalarFieldType *bcScalarQ,
37  VectorFieldType *dqdx,
38  ScalarFieldType *diffFluxCoeff);
40  virtual void initialize_connectivity();
41  virtual void execute();
42 
43  const bool meshMotion_;
44 
53 
54  // peclet function specifics
56 };
57 
58 } // namespace nalu
59 } // namespace Sierra
60 
61 #endif
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
Definition: AssembleScalarElemOpenSolverAlgorithm.h:27
ScalarFieldType * density_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:51
VectorFieldType * coordinates_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:50
Definition: SolverAlgorithm.h:24
Definition: Algorithm.h:14
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
VectorFieldType * velocityRTM_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:49
GenericFieldType * openMassFlowRate_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:52
Base class representation of a PDE.
Definition: EquationSystem.h:46
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
const bool meshMotion_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:43
ScalarFieldType * scalarQ_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:45
ScalarFieldType * bcScalarQ_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:46
PecletFunction * pecletFunction_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:55
VectorFieldType * dqdx_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:47
ScalarFieldType * diffFluxCoeff_
Definition: AssembleScalarElemOpenSolverAlgorithm.h:48
Definition: Realm.h:82
Definition: PecletFunction.h:15