www.mooseframework.org
NSInflowThermalBC.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 // MOOSE includes
13 #include "NodalBC.h"
14 
15 // Forward Declarations
17 
22 class NSInflowThermalBC : public NodalBC
23 {
24 public:
26 
28 
29 protected:
30  // In general, the residual equation is u-u_d=0, where u_d
31  // is a Dirichlet value. Note that no computeQpJacobian()
32  // function can be specified in this class... it is assumed
33  // to simply have a 1 on the diagonal.
34  virtual Real computeQpResidual();
35 
36  // The specified density for this inflow boundary
38 
39  // The specified temperature for this inflow boundary
41 
42  // The specified velocity magnitude for this inflow boundary
44 
45  // Fluid properties
47 };
const Real _specified_rho
const IdealGasFluidProperties & _fp
NSInflowThermalBC(const InputParameters &parameters)
This class is used on a boundary where the incoming flow values (rho, u, v, T) are all completely spe...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _specified_velocity_magnitude
const Real _specified_temperature
static InputParameters validParams()
const InputParameters & parameters() const
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
virtual Real computeQpResidual()