https://mooseframework.inl.gov
phase_field
include
bcs
ADPhaseFieldContactAngleBC.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 "
ADIntegratedBC.h
"
13
18
class
ADPhaseFieldContactAngleBC
:
public
ADIntegratedBC
19
{
20
public
:
21
ADPhaseFieldContactAngleBC
(
const
InputParameters
&
parameters
);
22
23
static
InputParameters
validParams
();
24
25
protected
:
26
virtual
ADReal
computeQpResidual
()
override
;
27
28
private
:
30
const
ADVariableValue
&
_pf
;
32
const
ADVariableGradient
&
_grad_pf
;
34
const
Real
&
_epsilon
;
36
const
Real
&
_lambda
;
38
const
Real
&
_sigma
;
40
const
Real
&
_contactangle
;
41
};
ADPhaseFieldContactAngleBC::_contactangle
const Real & _contactangle
Contact angle of the fluid with the wall boundary in Radians.
Definition:
ADPhaseFieldContactAngleBC.h:40
ADPhaseFieldContactAngleBC::ADPhaseFieldContactAngleBC
ADPhaseFieldContactAngleBC(const InputParameters ¶meters)
Definition:
ADPhaseFieldContactAngleBC.C:28
ADIntegratedBCTempl::parameters
const InputParameters & parameters() const
ADPhaseFieldContactAngleBC::_pf
const ADVariableValue & _pf
reference to coupled variable, pf here
Definition:
ADPhaseFieldContactAngleBC.h:30
InputParameters
ADPhaseFieldContactAngleBC::_sigma
const Real & _sigma
Surface tension coefficient.
Definition:
ADPhaseFieldContactAngleBC.h:38
ADPhaseFieldContactAngleBC::_epsilon
const Real & _epsilon
Interface width.
Definition:
ADPhaseFieldContactAngleBC.h:34
ADIntegratedBCTempl
ADIntegratedBC.h
MooseArray< ADReal >
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADPhaseFieldContactAngleBC::_lambda
const Real & _lambda
Mixing energy density.
Definition:
ADPhaseFieldContactAngleBC.h:36
ADPhaseFieldContactAngleBC::computeQpResidual
virtual ADReal computeQpResidual() override
Definition:
ADPhaseFieldContactAngleBC.C:40
MetaPhysicL::DualNumber
ADPhaseFieldContactAngleBC
Implements a simple constant Neumann BC where grad(u)=alpha * v on the boundary.
Definition:
ADPhaseFieldContactAngleBC.h:18
ADPhaseFieldContactAngleBC::_grad_pf
const ADVariableGradient & _grad_pf
Gradient of coupled variable.
Definition:
ADPhaseFieldContactAngleBC.h:32
ADPhaseFieldContactAngleBC::validParams
static InputParameters validParams()
Definition:
ADPhaseFieldContactAngleBC.C:15
Generated on Sun Sep 21 2025 20:18:40 for https://mooseframework.inl.gov by
1.8.14