Free outflow BC based boundary flux user object for the advection equation using a cell-centered finite volume method. More...
#include <AEFVFreeOutflowBoundaryFlux.h>
Public Member Functions | |
| AEFVFreeOutflowBoundaryFlux (const InputParameters ¶meters) | |
| virtual | ~AEFVFreeOutflowBoundaryFlux () |
| 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. More... | |
| 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. More... | |
| virtual void | execute () override |
| virtual void | initialize () override |
| virtual void | finalize () override |
| virtual void | threadJoin (const UserObject &) override |
| virtual const std::vector< Real > & | getFlux (unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const |
| Get the boundary flux vector. More... | |
| virtual const DenseMatrix< Real > & | getJacobian (unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const |
| Get the boundary Jacobian matrix. More... | |
Protected Attributes | |
| const Real | _velocity |
| advective velocity More... | |
| unsigned int | _cached_flux_elem_id |
| element ID of the cached flux values More... | |
| unsigned int | _cached_flux_side_id |
| side ID of the cached flux values More... | |
| unsigned int | _cached_jacobian_elem_id |
| element ID of the cached Jacobian values More... | |
| unsigned int | _cached_jacobian_side_id |
| side ID of the cached Jacobian values More... | |
| std::vector< Real > | _flux |
| Cached flux. More... | |
| DenseMatrix< Real > | _jac1 |
| Cached flux Jacobian. More... | |
Free outflow BC based boundary flux user object for the advection equation using a cell-centered finite volume method.
Definition at line 25 of file AEFVFreeOutflowBoundaryFlux.h.
| AEFVFreeOutflowBoundaryFlux::AEFVFreeOutflowBoundaryFlux | ( | const InputParameters & | parameters | ) |
Definition at line 25 of file AEFVFreeOutflowBoundaryFlux.C.
|
virtual |
Definition at line 30 of file AEFVFreeOutflowBoundaryFlux.C.
|
overridevirtual |
Solve the Riemann problem on the boundary face.
| [in] | iside | local index of current side |
| [in] | ielem | global index of the current element |
| [in] | uvec1 | vector of variables on the host side |
| [in] | dwave | vector of unit normal |
| [out] | flux | flux vector for conservation equations |
Implements BoundaryFluxBase.
Definition at line 33 of file AEFVFreeOutflowBoundaryFlux.C.
|
overridevirtual |
Compute the Jacobian matrix on the boundary face.
| [in] | iside | local index of current side |
| [in] | ielem | global index of the current element |
| [in] | uvec1 | vector of variables on the host side |
| [in] | dwave | vector of unit normal |
| [out] | jac1 | Jacobian matrix contribution |
Implements BoundaryFluxBase.
Definition at line 52 of file AEFVFreeOutflowBoundaryFlux.C.
|
overridevirtualinherited |
Definition at line 39 of file BoundaryFluxBase.C.
|
overridevirtualinherited |
Definition at line 44 of file BoundaryFluxBase.C.
|
virtualinherited |
Get the boundary flux vector.
| [in] | iside | local index of current side |
| [in] | ielem | global index of the current element |
| [in] | uvec1 | vector of variables on the host side |
| [in] | dwave | vector of unit normal |
Definition at line 54 of file BoundaryFluxBase.C.
Referenced by BoundaryFluxPostprocessor::computeQpIntegral(), and AEFVBC::computeQpResidual().
|
virtualinherited |
Get the boundary Jacobian matrix.
| [in] | iside | local index of current side |
| [in] | ielem | global index of the current element |
| [in] | uvec1 | vector of variables on the host side |
| [in] | dwave | vector of unit normal |
Definition at line 70 of file BoundaryFluxBase.C.
Referenced by AEFVBC::computeQpJacobian().
|
overridevirtualinherited |
Definition at line 30 of file BoundaryFluxBase.C.
|
overridevirtualinherited |
Definition at line 49 of file BoundaryFluxBase.C.
|
mutableprotectedinherited |
element ID of the cached flux values
Definition at line 94 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
side ID of the cached flux values
Definition at line 96 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
element ID of the cached Jacobian values
Definition at line 99 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
side ID of the cached Jacobian values
Definition at line 101 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian(), and BoundaryFluxBase::initialize().
|
mutableprotectedinherited |
Cached flux.
Definition at line 104 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getFlux().
|
mutableprotectedinherited |
Cached flux Jacobian.
Definition at line 107 of file BoundaryFluxBase.h.
Referenced by BoundaryFluxBase::getJacobian().
|
protected |
advective velocity
Definition at line 45 of file AEFVFreeOutflowBoundaryFlux.h.
Referenced by calcFlux(), and calcJacobian().
1.8.16