https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
Auxiliary kernel responsible for computing a component of the advection flux vector.
static InputParameters validParams()
const bool _advected_quantity_supplied
Whether an advected quantity was supplied in the input.
const MaterialProperty< Real > & _advected_material_property
Material property storing the advected quantity; used for finite elements.
const bool _advected_mat_prop_supplied
Whether an advected material property was supplied in the input.
const Moose::Functor< Real > *const _vel_z
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 Moose::Functor< Real > & _advected_quantity
Functor for the scalar field advected quantity (for a variable usually)
const Moose::Functor< Real > & _vel_x
Velocity components.
virtual Real computeValue()
Compute and return the value of the aux variable.
const Moose::Functor< Real > *const _vel_y
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
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...