https://mooseframework.inl.gov
Loading...
Searching...
No Matches
solid_mechanics
include
bcs
PresetVelocity.h
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
#pragma once
11
12
#include "
DirichletBCBase.h
"
13
14
class
PresetVelocity
:
public
DirichletBCBase
15
{
16
public
:
17
static
InputParameters
validParams
();
18
19
PresetVelocity
(
const
InputParameters
&
parameters
);
20
21
protected
:
22
virtual
Real
computeQpValue
();
23
24
const
VariableValue
&
_u_old
;
25
const
Real
_velocity
;
26
const
Function
&
_function
;
27
};
DirichletBCBase.h
DirichletBCBase
Function
DirichletBCBase::parameters
const InputParameters & parameters() const
PresetVelocity
Definition
PresetVelocity.h:15
PresetVelocity::validParams
static InputParameters validParams()
Definition
PresetVelocity.C:16
PresetVelocity::_u_old
const VariableValue & _u_old
Definition
PresetVelocity.h:24
PresetVelocity::computeQpValue
virtual Real computeQpValue()
Definition
PresetVelocity.C:42
PresetVelocity::_velocity
const Real _velocity
Definition
PresetVelocity.h:25
PresetVelocity::_function
const Function & _function
Definition
PresetVelocity.h:26
VariableValue
VariableValueTempl< false > VariableValue
InputParameters
Generated on Fri Aug 21 2026 13:41:34 for https://mooseframework.inl.gov by
1.9.8