www.mooseframework.org
NodalNormalBC.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 "NodalBC.h"
13 
19 class NodalNormalBC : public NodalBC
20 {
21 public:
23 
25 
26  virtual void computeResidual() override;
27 
28 protected:
29  const VariableValue & _nx;
30  const VariableValue & _ny;
31  const VariableValue & _nz;
33  Point _normal;
34 };
Point _normal
Normal at the node (it is pre-computed by user object subsystem)
Definition: NodalNormalBC.h:33
NodalNormalBC(const InputParameters &parameters)
Definition: NodalNormalBC.C:27
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a base class to enforce strong boundary condition with a normal defined at a node...
Definition: NodalNormalBC.h:19
Base class for deriving any boundary condition that works at nodes.
Definition: NodalBC.h:20
const VariableValue & _nz
Definition: NodalNormalBC.h:31
static InputParameters validParams()
Definition: NodalNormalBC.C:13
const VariableValue & _nx
Definition: NodalNormalBC.h:29
const VariableValue & _ny
Definition: NodalNormalBC.h:30
forward declarations
Definition: MooseArray.h:17
const InputParameters & parameters() const
Get the parameters of the object.
virtual void computeResidual() override
Compute this object's contribution to the residual.
Definition: NodalNormalBC.C:33