https://mooseframework.inl.gov
INSFVMomentumBoussinesq.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 "FVElementalKernel.h"
14 
20 {
21 public:
24 
25  void gatherRCData(const Elem &) override {}
26  void gatherRCData(const FaceInfo &) override {}
27 
28 protected:
29  ADReal computeQpResidual() override;
30 
41 };
DualNumber< Real, DNDerivativeType, true > ADReal
const Moose::Functor< ADReal > & _temperature
Fluid temperature.
const Moose::Functor< ADReal > & _rho
the density
Imposes a Boussinesq force on the momentum equation.
All objects that contribute to pressure-based (e.g.
static InputParameters validParams()
void gatherRCData(const FaceInfo &) override
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
const Moose::Functor< ADReal > & _alpha
The thermal expansion coefficient.
const Real _ref_temperature
Reference temperature at which the value of _rho was measured.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RealVectorValue _gravity
The gravity vector.
ADReal computeQpResidual() override
INSFVMomentumBoussinesq(const InputParameters &params)
void gatherRCData(const Elem &) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...