www.mooseframework.org
AEFVFreeOutflowBoundaryFlux.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 
12 #include "BoundaryFluxBase.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
26 {
27 public:
28  AEFVFreeOutflowBoundaryFlux(const InputParameters & parameters);
30 
31  virtual void calcFlux(unsigned int iside,
32  dof_id_type ielem,
33  const std::vector<Real> & uvec1,
34  const RealVectorValue & dwave,
35  std::vector<Real> & flux) const override;
36 
37  virtual void calcJacobian(unsigned int iside,
38  dof_id_type ielem,
39  const std::vector<Real> & uvec1,
40  const RealVectorValue & dwave,
41  DenseMatrix<Real> & jac1) const override;
42 
43 protected:
45  const Real _velocity;
46 };
47 
AEFVFreeOutflowBoundaryFlux::calcFlux
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.
Definition: AEFVFreeOutflowBoundaryFlux.C:33
BoundaryFluxBase.h
AEFVFreeOutflowBoundaryFlux::calcJacobian
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.
Definition: AEFVFreeOutflowBoundaryFlux.C:52
AEFVFreeOutflowBoundaryFlux::_velocity
const Real _velocity
advective velocity
Definition: AEFVFreeOutflowBoundaryFlux.h:45
BoundaryFluxBase
A base class for computing/caching fluxes at boundaries.
Definition: BoundaryFluxBase.h:30
AEFVFreeOutflowBoundaryFlux
Free outflow BC based boundary flux user object for the advection equation using a cell-centered fini...
Definition: AEFVFreeOutflowBoundaryFlux.h:25
validParams< AEFVFreeOutflowBoundaryFlux >
InputParameters validParams< AEFVFreeOutflowBoundaryFlux >()
Definition: AEFVFreeOutflowBoundaryFlux.C:16
AEFVFreeOutflowBoundaryFlux::~AEFVFreeOutflowBoundaryFlux
virtual ~AEFVFreeOutflowBoundaryFlux()
Definition: AEFVFreeOutflowBoundaryFlux.C:30
AEFVFreeOutflowBoundaryFlux::AEFVFreeOutflowBoundaryFlux
AEFVFreeOutflowBoundaryFlux(const InputParameters &parameters)
Definition: AEFVFreeOutflowBoundaryFlux.C:25