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