https://mooseframework.inl.gov
AdvectiveFluxAux.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 
18 {
19 public:
21 
23 
24 protected:
25  virtual Real computeValue();
26 
28  const bool _use_normal;
29 
31  const int _component;
32 
35 
38 
43 
46 
49 
52 };
Auxiliary kernel responsible for computing a component of the advection flux vector.
const Moose::Functor< Real > & _vel_x
Velocity components.
static InputParameters validParams()
const Moose::Functor< Real > & _advected_quantity
Functor for the scalar field advected quantity (for a variable usually)
AdvectiveFluxAux(const InputParameters &parameters)
virtual Real computeValue()
Compute and return the value of the aux variable.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const bool _advected_mat_prop_supplied
Whether an advected material property was supplied in the input.
const bool _use_normal
Whether the normal component has been selected.
const MaterialProperty< Real > & _advected_material_property
Material property storing the advected quantity; used for finite elements.
const MooseArray< Point > & _normals
normals at quadrature points
const bool _advected_quantity_supplied
Whether an advected quantity was supplied in the input.
const Moose::Functor< Real > *const _vel_z
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Functor< Real > *const _vel_y
const InputParameters & parameters() const
Get the parameters of the object.
const int _component
Will hold 0, 1, or 2 corresponding to x, y, or z.