https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ObtainAvgContactAngle.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
22{
23public:
25
27
28 virtual void initialize() override;
29 virtual void finalize() override;
30 virtual void execute() override;
32 virtual Real getValue() const override;
33 virtual void threadJoin(const UserObject & y) override;
34
35protected:
38
41
44
47
50};
const std::vector< double > y
const InputParameters & parameters() const
Computes the average contact angle that the phase field interface makes with a boundary.
virtual void execute() override
Real _total_weight
Boundary integral of (1 - pf^2) * |grad(pf)|, the normalization of _cos_theta_val.
virtual void initialize() override
virtual void finalize() override
const VariableValue & _pf
Value of the phase field variable, used to localize the average to the interface.
const VariableGradient & _grad_pf
Gradient of the phase field variable.
Real _contact_angle
Average contact angle, in degrees.
Real _cos_theta_val
Boundary integral of (1 - pf^2) * grad(pf).n, the numerator of the averaged cos(theta)
virtual Real getValue() const override
static InputParameters validParams()
virtual void threadJoin(const UserObject &y) override
virtual PostprocessorValue getValue() const=0
VariableValueTempl< false > VariableValue
VariableGradientTempl< false > VariableGradient