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
AssembleScalarNonConformalSolverAlgorithm.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 AssembleScalarNonConformalSolverAlgorithm_h
10 #define AssembleScalarNonConformalSolverAlgorithm_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  ScalarFieldType *scalarQ,
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 bool useCurrentNormal_;
49 
50  std::vector< const stk::mesh::FieldBase *> ghostFieldVec_;
51 };
52 
53 } // namespace nalu
54 } // namespace Sierra
55 
56 #endif
GenericFieldType * ncMassFlowRate_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:44
Definition: ABLForcingAlgorithm.C:26
ScalarFieldType * scalarQ_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:40
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
Definition: AssembleScalarNonConformalSolverAlgorithm.h:26
const bool useCurrentNormal_
Definition: AssembleScalarNonConformalSolverAlgorithm.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
VectorFieldType * coordinates_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:42
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
virtual ~AssembleScalarNonConformalSolverAlgorithm()
Definition: AssembleScalarNonConformalSolverAlgorithm.h:36
ScalarFieldType * diffFluxCoeff_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:41
GenericFieldType * exposedAreaVec_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:43
std::vector< const stk::mesh::FieldBase * > ghostFieldVec_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:50
const double eta_
Definition: AssembleScalarNonConformalSolverAlgorithm.h:47
Definition: Realm.h:82