www.mooseframework.org
Functions
AdvectiveFluxCalculatorBase.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< AdvectiveFluxCalculatorBase > ()
 

Function Documentation

◆ validParams< AdvectiveFluxCalculatorBase >()

template<>
InputParameters validParams< AdvectiveFluxCalculatorBase > ( )

Definition at line 19 of file AdvectiveFluxCalculatorBase.C.

20 {
21  InputParameters params = validParams<ElementUserObject>();
22  params.addClassDescription(
23  "Base class to compute K_ij (a measure of advective flux from node i to node j) "
24  "and R+ and R- (which quantify amount of antidiffusion to add) in the "
25  "Kuzmin-Turek FEM-TVD multidimensional scheme");
26  MooseEnum flux_limiter_type("MinMod VanLeer MC superbee None", "VanLeer");
27  params.addParam<MooseEnum>("flux_limiter_type",
28  flux_limiter_type,
29  "Type of flux limiter to use. 'None' means that no antidiffusion "
30  "will be added in the Kuzmin-Turek scheme");
31  params.addRangeCheckedParam<Real>(
32  "allowable_MB_wastage",
33  5.0,
34  "allowable_MB_wastage > 0.0",
35  "This object will issue a memory warning if the internal node-numbering data structure "
36  "wastes more than allowable_MB_wastage megabytes. This data structure uses sequential "
37  "node-numbering which is optimized for speed rather than memory efficiency");
38 
39  params.addRelationshipManager("ElementPointNeighborLayers",
40  Moose::RelationshipManagerType::GEOMETRIC |
41  Moose::RelationshipManagerType::ALGEBRAIC |
42  Moose::RelationshipManagerType::COUPLING,
43  [](const InputParameters &, InputParameters & rm_params) {
44  rm_params.set<unsigned short>("layers") = 2;
45  });
46 
47  params.set<ExecFlagEnum>("execute_on", true) = {EXEC_LINEAR};
48  return params;
49 }

Referenced by validParams< AdvectiveFluxCalculatorConstantVelocity >(), and validParams< PorousFlowAdvectiveFluxCalculatorBase >().