https://mooseframework.inl.gov
Loading...
Searching...
No Matches
AEFVFreeOutflowBoundaryFlux.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 "BoundaryFluxBase.h"
13
14// Forward Declarations
15
22{
23public:
25
28
29 virtual void calcFlux(unsigned int iside,
30 dof_id_type ielem,
31 const std::vector<Real> & uvec1,
32 const RealVectorValue & dwave,
33 std::vector<Real> & flux) const override;
34
35 virtual void calcJacobian(unsigned int iside,
36 dof_id_type ielem,
37 const std::vector<Real> & uvec1,
38 const RealVectorValue & dwave,
39 DenseMatrix<Real> & jac1) const override;
40
41protected:
43 const Real _velocity;
44};
Free outflow BC based boundary flux user object for the advection equation using a cell-centered fini...
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, DenseMatrix< Real > &jac1) const override
Compute the Jacobian matrix on the boundary face.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, std::vector< Real > &flux) const override
Solve the Riemann problem on the boundary face.
const Real _velocity
advective velocity
A base class for computing/caching fluxes at boundaries.
const InputParameters & parameters() const