www.mooseframework.org
AdvectiveFluxCalculatorConstantVelocity.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 {
19 public:
21 
23 
24 protected:
25  virtual Real computeVelocity(unsigned i, unsigned j, unsigned qp) const override;
26 
27  virtual Real computeU(unsigned i) const override;
28 
31 
34 
37 
40 };
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem) ...
AdvectiveFluxCalculatorConstantVelocity(const InputParameters &parameters)
const VariablePhiValue & _phi
Kuzmin-Turek shape function.
const VariablePhiGradient & _grad_phi
grad(Kuzmin-Turek shape function)
OutputTools< Real >::VariablePhiValue VariablePhiValue
const VariableValue & _u_at_nodes
the nodal values of u
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...
Base class to compute Advective fluxes.
Computes Advective fluxes for a constant velocity.
OutputTools< Real >::VariableValue VariableValue
OutputTools< Real >::VariablePhiGradient VariablePhiGradient
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")