https://mooseframework.inl.gov
Loading...
Searching...
No Matches
phase_field
include
postprocessors
ObtainAvgContactAngle.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.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
18
class
ObtainAvgContactAngle
:
public
SidePostprocessor
19
{
20
public
:
21
static
InputParameters
validParams
();
22
23
ObtainAvgContactAngle
(
const
InputParameters
&
parameters
);
24
25
virtual
void
initialize
()
override
;
26
virtual
void
finalize
()
override
;
27
virtual
void
execute
()
override
;
28
using
Postprocessor::getValue
;
29
virtual
Real
getValue
()
const override
;
30
virtual
void
threadJoin
(
const
UserObject
&
y
)
override
;
31
32
protected
:
34
const
VariableValue
&
_pf
;
35
37
const
VariableGradient
&
_grad_pf
;
38
40
Real
_contact_angle
;
41
43
Real
_cos_theta_val
;
44
46
Real
_total_weight
;
47
};
y
const std::vector< double > y
Definition
EquilibriumConstantFitTest.C:18
SidePostprocessor.h
SidePostprocessor::parameters
const InputParameters & parameters() const
ObtainAvgContactAngle
This postprocessor computes displacements normal to a provided set of boundaries.
Definition
ObtainAvgContactAngle.h:19
ObtainAvgContactAngle::execute
virtual void execute() override
Definition
ObtainAvgContactAngle.C:38
ObtainAvgContactAngle::_total_weight
Real _total_weight
total weight
Definition
ObtainAvgContactAngle.h:46
ObtainAvgContactAngle::initialize
virtual void initialize() override
Definition
ObtainAvgContactAngle.C:31
ObtainAvgContactAngle::finalize
virtual void finalize() override
Definition
ObtainAvgContactAngle.C:69
ObtainAvgContactAngle::_pf
const VariableValue & _pf
Gradient of coupled variable.
Definition
ObtainAvgContactAngle.h:34
ObtainAvgContactAngle::_grad_pf
const VariableGradient & _grad_pf
Gradient of coupled variable.
Definition
ObtainAvgContactAngle.h:37
ObtainAvgContactAngle::_contact_angle
Real _contact_angle
Average contact angle.
Definition
ObtainAvgContactAngle.h:40
ObtainAvgContactAngle::_cos_theta_val
Real _cos_theta_val
cos theta value
Definition
ObtainAvgContactAngle.h:43
ObtainAvgContactAngle::getValue
virtual Real getValue() const override
Definition
ObtainAvgContactAngle.C:55
ObtainAvgContactAngle::validParams
static InputParameters validParams()
Definition
ObtainAvgContactAngle.C:17
ObtainAvgContactAngle::threadJoin
virtual void threadJoin(const UserObject &y) override
Definition
ObtainAvgContactAngle.C:61
Postprocessor::getValue
virtual PostprocessorValue getValue() const=0
SidePostprocessor
UserObject
VariableValue
VariableValueTempl< false > VariableValue
VariableGradient
VariableGradientTempl< false > VariableGradient
InputParameters
Generated on Fri Aug 21 2026 13:41:20 for https://mooseframework.inl.gov by
1.9.8