www.mooseframework.org
navier_stokes
include
bcs
NSStagnationTemperatureBC.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
#include "
NSStagnationBC.h
"
13
14
// Forward Declarations
15
class
NSStagnationTemperatureBC
;
16
17
template
<>
18
InputParameters
validParams<NSStagnationTemperatureBC>
();
19
25
class
NSStagnationTemperatureBC
:
public
NSStagnationBC
26
{
27
public
:
28
NSStagnationTemperatureBC
(
const
InputParameters & parameters);
29
30
protected
:
31
// NodalBC's can (currently) only specialize the computeQpResidual function,
32
// the computeQpJacobian() function automatically assembles a "1" onto the main
33
// diagonal for this DoF.
34
virtual
Real
computeQpResidual
();
35
36
const
VariableValue &
_temperature
;
37
38
// Required paramters
39
const
Real
_desired_stagnation_temperature
;
40
};
41
NSStagnationBC
This is the base class for the "imposed stagnation" value boundary conditions.
Definition:
NSStagnationBC.h:27
NSStagnationTemperatureBC::NSStagnationTemperatureBC
NSStagnationTemperatureBC(const InputParameters ¶meters)
Definition:
NSStagnationTemperatureBC.C:30
NSStagnationBC.h
NSStagnationTemperatureBC::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSStagnationTemperatureBC.C:38
NSStagnationTemperatureBC::_temperature
const VariableValue & _temperature
Definition:
NSStagnationTemperatureBC.h:36
NSStagnationTemperatureBC::_desired_stagnation_temperature
const Real _desired_stagnation_temperature
Definition:
NSStagnationTemperatureBC.h:39
NSStagnationTemperatureBC
This Dirichlet condition imposes the condition T_0 = T_0_desired, where T_0 is the stagnation tempera...
Definition:
NSStagnationTemperatureBC.h:25
validParams< NSStagnationTemperatureBC >
InputParameters validParams< NSStagnationTemperatureBC >()
Definition:
NSStagnationTemperatureBC.C:21
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16