https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSInflowThermalBC.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// MOOSE includes
13#include "NodalBC.h"
14
15// Forward Declarations
17
23{
24public:
26
28
29protected:
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
37 const Real _specified_rho;
38
39 // The specified temperature for this inflow boundary
41
42 // The specified velocity magnitude for this inflow boundary
44
45 // Fluid properties
47};
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
const InputParameters & parameters() const
This class is used on a boundary where the incoming flow values (rho, u, v, T) are all completely spe...
static InputParameters validParams()
const Real _specified_temperature
const IdealGasFluidProperties & _fp
virtual Real computeQpResidual()
const Real _specified_velocity_magnitude