https://mooseframework.inl.gov
Loading...
Searching...
No Matches
navier_stokes
include
kernels
INSADGravityForce.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 "
ADKernelValue.h
"
// Provides AD(Vector)KernelValue
13
17
class
INSADGravityForce
:
public
ADVectorKernelValue
18
{
19
public
:
20
INSADGravityForce
(
const
InputParameters
&
parameters
);
21
22
static
InputParameters
validParams
();
23
24
protected
:
25
ADRealVectorValue
precomputeQpResidual
()
override
;
26
27
const
ADMaterialProperty<RealVectorValue>
&
_gravity_strong_residual
;
28
};
ADKernelValue.h
ADKernelValueTempl
ADMaterialProperty
INSADGravityForce
Computes a body force due to gravity.
Definition
INSADGravityForce.h:18
INSADGravityForce::precomputeQpResidual
ADRealVectorValue precomputeQpResidual() override
Definition
INSADGravityForce.C:41
INSADGravityForce::validParams
static InputParameters validParams()
Definition
INSADGravityForce.C:17
INSADGravityForce::_gravity_strong_residual
const ADMaterialProperty< RealVectorValue > & _gravity_strong_residual
Definition
INSADGravityForce.h:27
ADKernelValueTempl::parameters
const InputParameters & parameters() const
libMesh::VectorValue< ADReal >
InputParameters
Generated on Fri Aug 21 2026 13:41:07 for https://mooseframework.inl.gov by
1.9.8