https://mooseframework.inl.gov
Loading...
Searching...
No Matches
AdvectiveFluxCalculatorConstantVelocity.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
13
18{
19public:
21
23
24protected:
25 virtual Real computeVelocity(unsigned i, unsigned j, unsigned qp) const override;
26
27 virtual Real computeU(unsigned i) const override;
28
30 RealVectorValue _velocity;
31
34
37
40};
Base class to compute Advective fluxes.
Computes Advective fluxes for a constant velocity.
const VariablePhiValue & _phi
Kuzmin-Turek shape function.
virtual Real computeVelocity(unsigned i, unsigned j, unsigned qp) const override
Computes the transfer velocity between current node i and current node j at the current qp in the cur...
const VariablePhiGradient & _grad_phi
grad(Kuzmin-Turek shape function)
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
const VariableValue & _u_at_nodes
the nodal values of u
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue
VariableShapeGradient< false > VariablePhiGradient
VariableShapeValue< false > VariablePhiValue