https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DiffusionFluxAux.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "AuxKernel.h"
13
19{
20public:
22
24
25protected:
26 virtual Real computeValue();
27
29 const bool _use_normal;
30
32 const int _component;
33
36
41
44
47};
OutputTools< Real >::VariableGradient VariableGradient
Definition MooseTypes.h:349
Auxiliary kernel responsible for computing the components of the flux vector in diffusion problems.
const MooseVariableFVReal *const _fv_var
Pointer to the variable as a finite volume variable (nullptr if not FV)
virtual Real computeValue()
Compute and return the value of the aux variable.
const bool _use_normal
Whether the normal component has been selected.
const int _component
Will hold 0, 1, or 2 corresponding to x, y, or z.
const MaterialProperty< Real > *const _diffusion_coef
Holds the diffusivity from the material system if non-AD.
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
const ADMaterialProperty< Real > *const _ad_diffusion_coef
Holds the diffusivity from the material system if AD.
static InputParameters validParams()
const MooseArray< Point > & _normals
normals at quadrature points
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
forward declarations
Definition MooseArray.h:18
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131