https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
20class LayeredFlowAreaChange : public SpatialUserObjectFunctor<SideIntegralUserObject>,
21 public LayeredBase
22{
23public:
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
39protected:
40 virtual Real computeQpIntegral() override;
41
43 unsigned int _dim;
44
46 std::vector<const VariableValue *> _disp;
47
48public:
50};
const std::vector< double > y
const Real p
virtual Real integralValue(const Point &p) const
This layered user object computes the change in cross sectional area of a flow channel.
virtual void finalize() override
unsigned int _dim
the problem dimension
virtual Real computeIntegral() override
static InputParameters validParams()
virtual void initialize() override
virtual Real computeQpIntegral() override
virtual void threadJoin(const UserObject &y) override
virtual void execute() override
virtual Real spatialValue(const Point &p) const override
Given a Point return the integral value associated with the layer that point falls in.
std::vector< const VariableValue * > _disp
the displacement vectors