www.mooseframework.org
MomentumFreeBC.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 "IntegratedBC.h"
13 
14 class MomentumFreeBC;
15 
16 template <>
17 InputParameters validParams<MomentumFreeBC>();
18 
22 class MomentumFreeBC : public IntegratedBC
23 {
24 public:
25  MomentumFreeBC(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29 
30  unsigned int _component;
31 
32  const VariableValue & _pressure;
33  const VariableValue & _vel_x;
34  const VariableValue & _vel_y;
35  const VariableValue & _vel_z;
36 };
37 
validParams< MomentumFreeBC >
InputParameters validParams< MomentumFreeBC >()
Definition: MomentumFreeBC.C:17
MomentumFreeBC::MomentumFreeBC
MomentumFreeBC(const InputParameters &parameters)
Definition: MomentumFreeBC.C:29
MomentumFreeBC::_vel_z
const VariableValue & _vel_z
Definition: MomentumFreeBC.h:35
MomentumFreeBC::_vel_y
const VariableValue & _vel_y
Definition: MomentumFreeBC.h:34
MomentumFreeBC::computeQpResidual
virtual Real computeQpResidual()
Definition: MomentumFreeBC.C:40
MomentumFreeBC::_component
unsigned int _component
Definition: MomentumFreeBC.h:30
MomentumFreeBC::_pressure
const VariableValue & _pressure
Definition: MomentumFreeBC.h:32
MomentumFreeBC
Definition: MomentumFreeBC.h:22
MomentumFreeBC::_vel_x
const VariableValue & _vel_x
Definition: MomentumFreeBC.h:33