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
SpecificDissipationRateEquationSystem.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 SpecificDissipationRateEquationSystem_h
10 #define SpecificDissipationRateEquationSystem_h
11 
12 #include <EquationSystem.h>
13 #include <FieldTypeDef.h>
14 #include <NaluParsing.h>
15 
16 namespace stk{
17 struct topology;
18 }
19 
20 namespace sierra{
21 namespace nalu{
22 
23 class AlgorithmDriver;
24 class Realm;
25 class AssembleNodalGradAlgorithmDriver;
26 class LinearSystem;
27 class EquationSystems;
28 
29 
31 
32 public:
33 
35  EquationSystems& equationSystems);
37 
38 
39  virtual void register_nodal_fields(
40  stk::mesh::Part *part);
41 
42  void register_interior_algorithm(
43  stk::mesh::Part *part);
44 
45  void register_inflow_bc(
46  stk::mesh::Part *part,
47  const stk::topology &theTopo,
48  const InflowBoundaryConditionData &inflowBCData);
49 
50  void register_open_bc(
51  stk::mesh::Part *part,
52  const stk::topology &theTopo,
53  const OpenBoundaryConditionData &openBCData);
54 
55  void register_wall_bc(
56  stk::mesh::Part *part,
57  const stk::topology &theTopo,
58  const WallBoundaryConditionData &wallBCData);
59 
60  virtual void register_symmetry_bc(
61  stk::mesh::Part *part,
62  const stk::topology &theTopo,
63  const SymmetryBoundaryConditionData &symmetryBCData);
64 
65  virtual void register_non_conformal_bc(
66  stk::mesh::Part *part,
67  const stk::topology &theTopo);
68 
69  virtual void register_overset_bc();
70 
71  void initialize();
72  void reinitialize_linear_system();
73 
74  void predict_state();
75  void compute_wall_model_parameters();
76  void assemble_nodal_gradient();
77  void compute_effective_diff_flux_coeff();
78 
79  const bool managePNG_;
80 
90 
93  std::vector<Algorithm *> wallModelAlg_;
94 
95 };
96 
97 
98 } // namespace nalu
99 } // namespace Sierra
100 
101 #endif
ScalarFieldType * assembledWallArea_
Definition: SpecificDissipationRateEquationSystem.h:89
Definition: ABLForcingAlgorithm.C:26
Definition: SpecificDissipationRateEquationSystem.h:30
void initialize(int N, aligned_vector &x, aligned_vector &y)
Definition: UnitTestSimdBasic.C:37
ScalarFieldType * sdr_
Definition: SpecificDissipationRateEquationSystem.h:81
Definition: AssembleNodalGradAlgorithmDriver.h:20
Definition: Algorithm.h:14
AssembleNodalGradAlgorithmDriver * assembleNodalGradAlgDriver_
Definition: SpecificDissipationRateEquationSystem.h:91
AlgorithmDriver * diffFluxCoeffAlgDriver_
Definition: SpecificDissipationRateEquationSystem.h:92
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
A collection of Equations to be solved on a Realm.
Definition: EquationSystems.h:56
ScalarFieldType * wTmp_
Definition: SpecificDissipationRateEquationSystem.h:83
Definition: NaluParsing.h:325
Definition: NaluParsing.h:305
Base class representation of a PDE.
Definition: EquationSystem.h:46
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
VectorFieldType * dwdx_
Definition: SpecificDissipationRateEquationSystem.h:82
Definition: NaluParsing.h:310
ScalarFieldType * sdrWallBc_
Definition: SpecificDissipationRateEquationSystem.h:87
Definition: NaluParsing.h:315
ScalarFieldType * tvisc_
Definition: SpecificDissipationRateEquationSystem.h:85
ScalarFieldType * visc_
Definition: SpecificDissipationRateEquationSystem.h:84
Definition: AlgorithmDriver.h:22
const bool managePNG_
Definition: SpecificDissipationRateEquationSystem.h:79
ScalarFieldType * assembledWallSdr_
Definition: SpecificDissipationRateEquationSystem.h:88
std::vector< Algorithm * > wallModelAlg_
Definition: SpecificDissipationRateEquationSystem.h:93
ScalarFieldType * evisc_
Definition: SpecificDissipationRateEquationSystem.h:86