https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSThermalBC.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#include "NodalBC.h"
13
14// Forward Declarations
16
17class NSThermalBC : public NodalBC
18{
19public:
21
23
24protected:
25 // Computes the temperature based on ideal gas equation of state,
26 // the total energy, and the velocity: T = e_i/c_v
27 virtual Real computeQpResidual();
28
29 unsigned int _rho_var;
31
33 Real _final;
35
36 // Fluid properties
38};
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
const InputParameters & parameters() const
unsigned int _rho_var
Definition NSThermalBC.h:29
static InputParameters validParams()
Definition NSThermalBC.C:20
const IdealGasFluidProperties & _fp
Definition NSThermalBC.h:37
virtual Real computeQpResidual()
Definition NSThermalBC.C:46
const VariableValue & _rho
Definition NSThermalBC.h:30
VariableValueTempl< false > VariableValue