Line data Source code
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 "NSEnergyInviscidBC.h" 13 : 14 : // Forward Declarations 15 : 16 : /** 17 : * The inviscid energy BC term with specified density and velocity components. 18 : * This was experimental code and did not really work out, do not use! 19 : */ 20 : class NSEnergyInviscidSpecifiedDensityAndVelocityBC : public NSEnergyInviscidBC 21 : { 22 : public: 23 : static InputParameters validParams(); 24 : 25 : NSEnergyInviscidSpecifiedDensityAndVelocityBC(const InputParameters & parameters); 26 : 27 0 : virtual ~NSEnergyInviscidSpecifiedDensityAndVelocityBC() {} 28 : 29 : protected: 30 : virtual Real computeQpResidual(); 31 : virtual Real computeQpJacobian(); 32 : virtual Real computeQpOffDiagJacobian(unsigned jvar); 33 : 34 : // Aux Variables 35 : const VariableValue & _pressure; 36 : 37 : // Required parameters 38 : Real _specified_density; 39 : 40 : Real _specified_u; // FIXME: Read these as a single RealVectorValue 41 : Real _specified_v; // FIXME: Read these as a single RealVectorValue 42 : Real _specified_w; // FIXME: Read these as a single RealVectorValue 43 : };