https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FluidFreeSurfaceBC.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://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#include "FluidFreeSurfaceBC.h"
11
13
16{
18 params.addClassDescription("Applies a mixed Dirichlet-Neumann BC on the fluid surface.");
19 params.addRangeCheckedParam<Real>(
20 "alpha", 0.1, "alpha>0", "Inverse of the acceleration due to gravity.");
21 return params;
22}
23
25 : IntegratedBC(parameters),
26 _alpha(getParam<Real>("alpha")),
27 _u_dotdot(dotDot()),
28 _du_dotdot_du(dotDotDu())
29{
30}
31
32Real
37
38Real
registerMooseObject("FsiApp", FluidFreeSurfaceBC)
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
const VariableValue & _du_dotdot_du
FluidFreeSurfaceBC(const InputParameters &parameters)
static InputParameters validParams()
const Real _alpha
Ratio of u to du/dn. alpha is the inverse of acceleration due to gravity.
const VariableValue & _u_dotdot
void addClassDescription(const std::string &doc_string)
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)
unsigned int _qp
unsigned int _i
unsigned int _j
static InputParameters validParams()
const VariablePhiValue & _phi
const VariableTestValue & _test