30 virtual void execute()
override;
virtual void meshChanged() override
const Moose::Functor< Real > & _pressure
The pressure functor.
virtual void finalize() override
Real computeQpWeightedPressureIntegral() const
Computes the contribution on a Qp to the weighted pressure integral.
Moose::FV::InterpMethod _weight_interp_method
The interpolation method to use for the weighting functor quantity.
Real computeFaceInfoWeightIntegral(const FaceInfo *fi) const
Computes the contribution on a face to the integral of the weight.
const std::vector< double > y
virtual Real computeQpIntegral() override
static InputParameters validParams()
Real _weighted_pressure_upstream
The weighted integral of the upstream pressure.
virtual void execute() override
This postprocessor computes the pressure drop between an upstream and a downstream boundary...
const Moose::Functor< RealVectorValue > *const _weighting_functor
A weighting functor if the pressure profile is not uniform.
Real _weighted_pressure_downstream
The weighted integral of the downstream pressure.
Real _weight_downstream
The integral of the weights on the downstream boundary, for normalization.
PressureDrop(const InputParameters ¶meters)
Real computeQpWeightIntegral() const
Computes the contribution on a Qp to the integral of the weight.
virtual void initialize() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _weight_upstream
The integral of the weights on the upstream boundary, for normalization.
std::vector< BoundaryID > _upstream_boundaries
Vector of the ids of the upstream boundaries.
virtual Real getValue() const override
void mooseError(Args &&... args) const
const InputParameters & parameters() const
std::vector< BoundaryID > _downstream_boundaries
Vector of the ids of the downstream boundaries.
Real computeFaceInfoWeightedPressureIntegral(const FaceInfo *fi) const
Computes the contribution on a face to the weighted pressure integral.
virtual void threadJoin(const UserObject &y) override