www.mooseframework.org
navier_stokes
include
bcs
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
16
class
NSInflowThermalBC
;
17
class
IdealGasFluidProperties
;
18
19
template
<>
20
InputParameters
validParams<NSInflowThermalBC>
();
21
26
class
NSInflowThermalBC
:
public
NodalBC
27
{
28
public
:
29
NSInflowThermalBC
(
const
InputParameters & parameters);
30
31
protected
:
32
// In general, the residual equation is u-u_d=0, where u_d
33
// is a Dirichlet value. Note that no computeQpJacobian()
34
// function can be specified in this class... it is assumed
35
// to simply have a 1 on the diagonal.
36
virtual
Real
computeQpResidual
();
37
38
// The specified density for this inflow boundary
39
const
Real
_specified_rho
;
40
41
// The specified temperature for this inflow boundary
42
const
Real
_specified_temperature
;
43
44
// The specified velocity magnitude for this inflow boundary
45
const
Real
_specified_velocity_magnitude
;
46
47
// Fluid properties
48
const
IdealGasFluidProperties
&
_fp
;
49
};
50
NSInflowThermalBC::NSInflowThermalBC
NSInflowThermalBC(const InputParameters ¶meters)
Definition:
NSInflowThermalBC.C:35
NSInflowThermalBC::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSInflowThermalBC.C:45
IdealGasFluidProperties
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
Definition:
IdealGasFluidProperties.h:26
NSInflowThermalBC::_fp
const IdealGasFluidProperties & _fp
Definition:
NSInflowThermalBC.h:48
NSInflowThermalBC::_specified_velocity_magnitude
const Real _specified_velocity_magnitude
Definition:
NSInflowThermalBC.h:45
NSInflowThermalBC
This class is used on a boundary where the incoming flow values (rho, u, v, T) are all completely spe...
Definition:
NSInflowThermalBC.h:26
NSInflowThermalBC::_specified_rho
const Real _specified_rho
Definition:
NSInflowThermalBC.h:39
validParams< NSInflowThermalBC >
InputParameters validParams< NSInflowThermalBC >()
Definition:
NSInflowThermalBC.C:19
NSInflowThermalBC::_specified_temperature
const Real _specified_temperature
Definition:
NSInflowThermalBC.h:42
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16