moltres
Loading...
Searching...
No Matches
INSBoussinesqBodyForce.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
4
10class INSBoussinesqBodyForce : public Kernel
11{
12public:
13 INSBoussinesqBodyForce(const InputParameters & parameters);
14
15 static InputParameters validParams();
16
18
19protected:
20 virtual Real computeQpResidual() override;
21 virtual Real computeQpJacobian() override;
22 virtual Real computeQpOffDiagJacobian(unsigned jvar) override;
23
24 // Parameters
25 const VariableValue & _T;
26 unsigned int _T_id;
27 RealVectorValue _gravity;
28 unsigned _component;
29
30 // Material properties
31 const MaterialProperty<Real> & _alpha;
32 const MaterialProperty<Real> & _rho;
33 const MaterialProperty<Real> & _T_ref;
34};
Definition INSBoussinesqBodyForce.h:11
const VariableValue & _T
Definition INSBoussinesqBodyForce.h:25
virtual Real computeQpOffDiagJacobian(unsigned jvar) override
Definition INSBoussinesqBodyForce.C:61
virtual Real computeQpJacobian() override
Definition INSBoussinesqBodyForce.C:55
unsigned _component
Definition INSBoussinesqBodyForce.h:28
RealVectorValue _gravity
Definition INSBoussinesqBodyForce.h:27
static InputParameters validParams()
Definition INSBoussinesqBodyForce.C:6
virtual Real computeQpResidual() override
Definition INSBoussinesqBodyForce.C:49
const MaterialProperty< Real > & _T_ref
Definition INSBoussinesqBodyForce.h:33
const MaterialProperty< Real > & _rho
Definition INSBoussinesqBodyForce.h:32
virtual ~INSBoussinesqBodyForce()
Definition INSBoussinesqBodyForce.h:17
unsigned int _T_id
Definition INSBoussinesqBodyForce.h:26
const MaterialProperty< Real > & _alpha
Definition INSBoussinesqBodyForce.h:31