https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
kernels
UserForcingFunction.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 "
BodyForce.h
"
13
17
class
UserForcingFunction
:
public
BodyForce
18
{
19
public
:
20
static
InputParameters
validParams
();
21
22
UserForcingFunction
(
const
InputParameters
&
parameters
);
23
24
protected
:
25
Real
f
();
26
};
BodyForce.h
BodyForceTempl
This kernel implements a generic functional body force term: $ - c \cdof f \cdot \phi_i $.
Definition
BodyForce.h:26
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
UserForcingFunction
Deprecated, use BodyForce.
Definition
UserForcingFunction.h:18
UserForcingFunction::f
Real f()
Definition
UserForcingFunction.C:27
UserForcingFunction::validParams
static InputParameters validParams()
Definition
UserForcingFunction.C:16
Generated on Fri Aug 21 2026 13:33:49 for https://mooseframework.inl.gov by
1.9.8