https://mooseframework.inl.gov
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
FVDiffusionInterpolationInterface Class Reference

Interface function that holds the member variables and functions related to the interpolation schemes used for diffusion problems. More...

#include <FVDiffusionInterpolationInterface.h>

Inheritance diagram for FVDiffusionInterpolationInterface:
[legend]

Public Member Functions

 FVDiffusionInterpolationInterface (const InputParameters &params)
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

const Moose::FV::InterpMethod _var_interp_method
 Decides which interpolation method should be used for the computation of the gradients within the face normal gradient. More...
 
const bool _correct_skewness
 Just a convenience member for using skewness correction. More...
 

Detailed Description

Interface function that holds the member variables and functions related to the interpolation schemes used for diffusion problems.

Definition at line 19 of file FVDiffusionInterpolationInterface.h.

Constructor & Destructor Documentation

◆ FVDiffusionInterpolationInterface()

FVDiffusionInterpolationInterface::FVDiffusionInterpolationInterface ( const InputParameters params)

Definition at line 25 of file FVDiffusionInterpolationInterface.C.

27  Moose::FV::selectInterpolationMethod(params.get<MooseEnum>("variable_interp_method"))),
29 {
30 }
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
Combine two vector parameters into a single vector of pairs.
const Moose::FV::InterpMethod _var_interp_method
Decides which interpolation method should be used for the computation of the gradients within the fac...
const bool _correct_skewness
Just a convenience member for using skewness correction.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
(gc*elem+(1-gc)*neighbor)+gradient*(rf-rf&#39;)
InterpMethod selectInterpolationMethod(const std::string &interp_method)
Definition: MathFVUtils.C:81

Member Function Documentation

◆ validParams()

InputParameters FVDiffusionInterpolationInterface::validParams ( )
static

Definition at line 13 of file FVDiffusionInterpolationInterface.C.

Referenced by FVAnisotropicDiffusion::validParams(), and FVDiffusion::validParams().

14 {
16  MooseEnum face_interp_method("average skewness-corrected", "average");
17  params.addParam<MooseEnum>(
18  "variable_interp_method",
19  face_interp_method,
20  "Switch that can select between face interpolation methods for the variable.");
21 
22  return params;
23 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters emptyInputParameters()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:33
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an optional parameter and a documentation string to the InputParameters object...

Member Data Documentation

◆ _correct_skewness

const bool FVDiffusionInterpolationInterface::_correct_skewness
protected

Just a convenience member for using skewness correction.

Definition at line 31 of file FVDiffusionInterpolationInterface.h.

Referenced by FVAnisotropicDiffusion::computeQpResidual(), and FVDiffusion::computeQpResidual().

◆ _var_interp_method

const Moose::FV::InterpMethod FVDiffusionInterpolationInterface::_var_interp_method
protected

Decides which interpolation method should be used for the computation of the gradients within the face normal gradient.

Definition at line 28 of file FVDiffusionInterpolationInterface.h.


The documentation for this class was generated from the following files: