https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSPressurePin.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 "GeneralUserObject.h"
13#include "BlockRestrictable.h"
16
17class MooseMesh;
19
24 public BlockRestrictable,
26{
27public:
29 NSPressurePin(const InputParameters & params);
30
31 virtual void initialSetup() override;
32 virtual void initialize() override {}
33 virtual void execute() override;
34 virtual void finalize() override {}
35
36protected:
38 MeshBase & _mesh;
39
42
45
48
51
54};
Real PostprocessorValue
This user-object corrects the pressure.
const PostprocessorValue & _p0
Value of the pressure pin.
const Point _pressure_pin_point
If using point-value pressure pin, the point at which to apply the pin.
virtual void initialize() override
const PostprocessorValue *const _current_pressure_average
If using average pressure pin, provides the average pressure value.
MeshBase & _mesh
LibMesh mesh class for the current simulation mesh.
const MooseVariableFieldBase & _p
The thread 0 copy of the pressure variable.
const MooseEnum _pressure_pin_type
Pressure pin type.
virtual void initialSetup() override
static InputParameters validParams()
virtual void execute() override
virtual void finalize() override