https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NormalBoundaryDisplacement.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 "SidePostprocessor.h"
13
19{
20public:
22
24
25 virtual void initialize() override;
26 virtual void finalize() override;
27 virtual void execute() override;
28 virtual Real getValue() const override;
29 virtual void threadJoin(const UserObject & y) override;
30
31protected:
32 enum class NormalValType
33 {
34 AVERAGE,
36 MAX,
38 };
39
42
44 unsigned int _ncomp;
45
47 std::vector<const VariableValue *> _disp;
48
51
53 Real _area;
54};
const std::vector< double > y
const InputParameters & parameters() const
This postprocessor computes displacements normal to a provided set of boundaries.
std::vector< const VariableValue * > _disp
displacement variable disp_x, disp_y, disp_z
virtual void threadJoin(const UserObject &y) override
virtual Real getValue() const override
Real _area
area of the boundary/boundaries
static InputParameters validParams()
Real _boundary_displacement
boundary displacement value accumulated during execute
unsigned int _ncomp
number of components in _disp
NormalValType _value_type
the type of the normal displacement value