https://mooseframework.inl.gov
BoundaryFlux3EqnBC.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 "OneDIntegratedBC.h"
13 #include "BoundaryFluxBase.h"
14 
20 {
21 public:
23 
24 protected:
25  virtual Real computeQpResidual() override;
26  virtual Real computeQpJacobian() override;
27  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
28 
34  std::map<unsigned int, unsigned int> getIndexMapping() const;
35 
40 
41  // coupled variables
45 
46  // coupled variable indices
47  const unsigned int _rhoA_var;
48  const unsigned int _rhouA_var;
49  const unsigned int _rhoEA_var;
50 
52  const std::map<unsigned int, unsigned int> _jmap;
53 
55  const unsigned int _equation_index;
56 
59 
60 public:
62 };
Boundary conditions for the 1-D, 1-phase, variable-area Euler equations using a boundary flux user ob...
const unsigned int _equation_index
index within the Euler system of the equation upon which this BC acts
Base class for integrated boundary conditions for 1D problems in 3D space.
const std::map< unsigned int, unsigned int > _jmap
map of coupled variable index to equations variable index convention
BoundaryFlux3EqnBC(const InputParameters &parameters)
virtual Real computeQpJacobian() override
A base class for computing/caching fluxes at boundaries.
const VariableValue & _A_elem
Cross-sectional area, elemental.
static InputParameters validParams()
const VariableValue & _A_linear
Cross-sectional area, linear.
const unsigned int _rhoA_var
const VariableValue & _rhouA
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _rhoEA_var
const BoundaryFluxBase & _flux
boundary flux user object
virtual Real computeQpResidual() override
const InputParameters & parameters() const
const VariableValue & _rhoA
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const VariableValue & _rhoEA
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in Euler system.
const unsigned int _rhouA_var