https://mooseframework.inl.gov
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
};
VariableGradient
OutputTools< Real >::VariableGradient VariableGradient
ObtainAvgContactAngle::getValue
virtual Real getValue() const override
Definition:
ObtainAvgContactAngle.C:55
SidePostprocessor.h
SidePostprocessor::parameters
const InputParameters & parameters() const
ObtainAvgContactAngle::validParams
static InputParameters validParams()
Definition:
ObtainAvgContactAngle.C:17
ObtainAvgContactAngle::initialize
virtual void initialize() override
Definition:
ObtainAvgContactAngle.C:31
y
const std::vector< double > y
Definition:
EquilibriumConstantFitTest.C:18
ObtainAvgContactAngle::_grad_pf
const VariableGradient & _grad_pf
Gradient of coupled variable.
Definition:
ObtainAvgContactAngle.h:37
ObtainAvgContactAngle::ObtainAvgContactAngle
ObtainAvgContactAngle(const InputParameters ¶meters)
Definition:
ObtainAvgContactAngle.C:25
ObtainAvgContactAngle::_cos_theta_val
Real _cos_theta_val
cos theta value
Definition:
ObtainAvgContactAngle.h:43
ObtainAvgContactAngle::_pf
const VariableValue & _pf
Gradient of coupled variable.
Definition:
ObtainAvgContactAngle.h:34
InputParameters
ObtainAvgContactAngle::threadJoin
virtual void threadJoin(const UserObject &y) override
Definition:
ObtainAvgContactAngle.C:61
SidePostprocessor
ObtainAvgContactAngle::finalize
virtual void finalize() override
Definition:
ObtainAvgContactAngle.C:69
VariableValue
OutputTools< Real >::VariableValue VariableValue
ObtainAvgContactAngle
This postprocessor computes displacements normal to a provided set of boundaries. ...
Definition:
ObtainAvgContactAngle.h:18
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ObtainAvgContactAngle::_contact_angle
Real _contact_angle
Average contact angle.
Definition:
ObtainAvgContactAngle.h:40
Postprocessor::getValue
virtual PostprocessorValue getValue() const=0
ObtainAvgContactAngle::execute
virtual void execute() override
Definition:
ObtainAvgContactAngle.C:38
UserObject
ObtainAvgContactAngle::_total_weight
Real _total_weight
total weight
Definition:
ObtainAvgContactAngle.h:46
Generated on Sat Sep 20 2025 20:20:59 for https://mooseframework.inl.gov by
1.8.14