https://mooseframework.inl.gov
LinearFVMomentumBuoyancy.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 
13 
20 {
21 public:
23 
29 
30  virtual Real computeMatrixContribution() override;
31 
32  virtual Real computeRightHandSideContribution() override;
33 
34 protected:
36  const unsigned int _index;
40  const Real _rho_0;
43 };
const unsigned int _index
Index x|y|z of the momentum equation component.
virtual Real computeRightHandSideContribution() override
static InputParameters validParams()
virtual Real computeMatrixContribution() override
Kernel that adds the the gravity term in the momentum equations with variable density (assuming we ar...
LinearFVMomentumBuoyancy(const InputParameters &params)
Class constructor.
const Real _rho_0
the reference density
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RealVectorValue _gravity
The gravity vector.
const Moose::Functor< Real > & _rho
the density