moltres
Loading...
Searching...
No Matches
CoupledScalarAdvection.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
10class CoupledScalarAdvection : public Kernel, public ScalarTransportBase
11{
12public:
13 CoupledScalarAdvection(const InputParameters & parameters);
14
15 static InputParameters validParams();
16
18
19protected:
20 virtual Real computeQpResidual();
21 virtual Real computeQpJacobian();
22 virtual Real computeQpOffDiagJacobian(unsigned jvar);
23
24 // Coupled variables
25 const VariableValue & _u_vel;
26 const VariableValue & _v_vel;
27 const VariableValue & _w_vel;
28
29 // Variable numberings
33
34 VariableValue _u_def;
35 VariableValue _v_def;
36 VariableValue _w_def;
37
39};
Definition CoupledScalarAdvection.h:11
unsigned _v_vel_var_number
Definition CoupledScalarAdvection.h:31
VariableValue _u_def
Definition CoupledScalarAdvection.h:34
const VariableValue & _u_vel
Definition CoupledScalarAdvection.h:25
VariableValue _v_def
Definition CoupledScalarAdvection.h:35
virtual Real computeQpResidual()
Definition CoupledScalarAdvection.C:52
static InputParameters validParams()
Definition CoupledScalarAdvection.C:7
VariableValue _w_def
Definition CoupledScalarAdvection.h:36
Real _conc_scaling
Definition CoupledScalarAdvection.h:38
virtual ~CoupledScalarAdvection()
Definition CoupledScalarAdvection.h:17
unsigned _u_vel_var_number
Definition CoupledScalarAdvection.h:30
const VariableValue & _v_vel
Definition CoupledScalarAdvection.h:26
virtual Real computeQpJacobian()
Definition CoupledScalarAdvection.C:60
const VariableValue & _w_vel
Definition CoupledScalarAdvection.h:27
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition CoupledScalarAdvection.C:68
unsigned _w_vel_var_number
Definition CoupledScalarAdvection.h:32
Definition ScalarTransportBase.h:13