www.mooseframework.org
NSStagnationPressureBC.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
16 
17 // Specialization required of all user-level Moose objects
18 template <>
19 InputParameters validParams<NSStagnationPressureBC>();
20 
27 {
28 public:
29  NSStagnationPressureBC(const InputParameters & parameters);
30 
31 protected:
32  // NodalBC's can (currently) only specialize the computeQpResidual function,
33  // the computeQpJacobian() function automatically assembles a "1" onto the main
34  // diagonal for this DoF.
35  virtual Real computeQpResidual();
36 
37  // Coupled variables
38  const VariableValue & _pressure;
39 
40  // Required paramters
42 };
43 
NSStagnationBC
This is the base class for the "imposed stagnation" value boundary conditions.
Definition: NSStagnationBC.h:27
NSStagnationPressureBC::_pressure
const VariableValue & _pressure
Definition: NSStagnationPressureBC.h:38
validParams< NSStagnationPressureBC >
InputParameters validParams< NSStagnationPressureBC >()
Definition: NSStagnationPressureBC.C:22
NSStagnationPressureBC::computeQpResidual
virtual Real computeQpResidual()
Definition: NSStagnationPressureBC.C:39
NSStagnationPressureBC::NSStagnationPressureBC
NSStagnationPressureBC(const InputParameters &parameters)
Definition: NSStagnationPressureBC.C:31
NSStagnationBC.h
NSStagnationPressureBC::_desired_stagnation_pressure
const Real _desired_stagnation_pressure
Definition: NSStagnationPressureBC.h:41
NSStagnationPressureBC
This Dirichlet condition imposes the condition p_0 = p_0_desired, where p_0 is the stagnation pressur...
Definition: NSStagnationPressureBC.h:26