https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
19{
20public:
22
24
25protected:
26 virtual ADReal computeQpResidual() override;
27
28private:
34 const Real & _epsilon;
36 const Real & _lambda;
38 const Real & _sigma;
40 const Real & _contactangle;
41};
DualNumber< Real, DNDerivativeType, true > ADReal
Implements a simple constant Neumann BC where grad(u)=alpha * v on the boundary.
const Real & _lambda
Mixing energy density.
const ADVariableValue & _pf
reference to coupled variable, pf here
const Real & _epsilon
Interface width.
const Real & _sigma
Surface tension coefficient.
const ADVariableGradient & _grad_pf
Gradient of coupled variable.
virtual ADReal computeQpResidual() override
static InputParameters validParams()
const Real & _contactangle
Contact angle of the fluid with the wall boundary in Radians.
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue
VariableGradientTempl< true > ADVariableGradient