https://mooseframework.inl.gov
LayeredFlowAreaChange.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 
14 #include "LayeredBase.h"
15 
20 class LayeredFlowAreaChange : public SpatialUserObjectFunctor<SideIntegralUserObject>,
21  public LayeredBase
22 {
23 public:
24  LayeredFlowAreaChange(const InputParameters & parameters);
25 
31  virtual Real spatialValue(const Point & p) const override { return integralValue(p); }
32 
33  virtual void initialize() override;
34  virtual void execute() override;
35  virtual void finalize() override;
36  virtual void threadJoin(const UserObject & y) override;
37  virtual Real computeIntegral() override;
38 
39 protected:
40  virtual Real computeQpIntegral() override;
41 
43  unsigned int _dim;
44 
46  std::vector<const VariableValue *> _disp;
47 
48 public:
50 };
This layered user object computes the change in cross sectional area of a flow channel.
virtual void execute() override
virtual Real computeQpIntegral() override
std::vector< const VariableValue * > _disp
the displacement vectors
const std::vector< double > y
static InputParameters validParams()
virtual Real spatialValue(const Point &p) const override
Given a Point return the integral value associated with the layer that point falls in...
virtual Real integralValue(const Point &p) const
LayeredFlowAreaChange(const InputParameters &parameters)
virtual void threadJoin(const UserObject &y) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeIntegral() override
virtual void initialize() override
virtual void finalize() override
unsigned int _dim
the problem dimension