https://mooseframework.inl.gov
navier_stokes
include
fvkernels
PCNSFVDensityTimeDerivative.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 "
FVTimeKernel.h
"
13
14
class
PCNSFVDensityTimeDerivative
:
public
FVTimeKernel
15
{
16
public
:
17
static
InputParameters
validParams
();
18
PCNSFVDensityTimeDerivative
(
const
InputParameters
&
parameters
);
19
20
protected
:
21
ADReal
computeQpResidual
()
override
;
22
24
const
ADVariableValue
&
_u_dot
;
25
27
const
MaterialProperty<Real>
&
_eps
;
28
const
ADVariableValue
&
_rho_dot
;
29
const
ADVariableValue
&
_rho
;
30
};
PCNSFVDensityTimeDerivative::validParams
static InputParameters validParams()
Definition:
PCNSFVDensityTimeDerivative.C:16
PCNSFVDensityTimeDerivative::_eps
const MaterialProperty< Real > & _eps
The porosity.
Definition:
PCNSFVDensityTimeDerivative.h:27
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
InputParameters
PCNSFVDensityTimeDerivative::computeQpResidual
ADReal computeQpResidual() override
Definition:
PCNSFVDensityTimeDerivative.C:35
FVTimeKernel
PCNSFVDensityTimeDerivative::_rho_dot
const ADVariableValue & _rho_dot
Definition:
PCNSFVDensityTimeDerivative.h:28
FVTimeKernel.h
PCNSFVDensityTimeDerivative::_u_dot
const ADVariableValue & _u_dot
The time derivative of the primary variable.
Definition:
PCNSFVDensityTimeDerivative.h:24
MooseArray< ADReal >
PCNSFVDensityTimeDerivative
Definition:
PCNSFVDensityTimeDerivative.h:14
PCNSFVDensityTimeDerivative::_rho
const ADVariableValue & _rho
Definition:
PCNSFVDensityTimeDerivative.h:29
MaterialProperty< Real >
PCNSFVDensityTimeDerivative::PCNSFVDensityTimeDerivative
PCNSFVDensityTimeDerivative(const InputParameters ¶meters)
Definition:
PCNSFVDensityTimeDerivative.C:25
FVTimeKernel::parameters
const InputParameters & parameters() const
Generated on Wed Aug 6 2025 14:36:56 for https://mooseframework.inl.gov by
1.8.14