Loading...
Searching...
No Matches
TEqn.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ██╗████████╗██╗ ██╗ █████╗ ██████╗ █████╗ ███████╗██╗ ██╗
3 ██║╚══██╔══╝██║ ██║██╔══██╗██╔════╝██╔══██╗ ██╔════╝██║ ██║
4 ██║ ██║ ███████║███████║██║ ███████║█████╗█████╗ ██║ ██║
5 ██║ ██║ ██╔══██║██╔══██║██║ ██╔══██║╚════╝██╔══╝ ╚██╗ ██╔╝
6 ██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚████╔╝
7 ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═══╝
8
9 * In real Time Highly Advanced Computational Applications for Finite Volumes
10 * Copyright (C) 2017 by the ITHACA-FV authors
11-------------------------------------------------------------------------------
12
13 License
14 This file is part of ITHACA-FV
15
16 ITHACA-FV is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License as published by
18 the Free Software Foundation, either version 3 of the License, or
19 (at your option) any later version.
20
21 ITHACA-FV is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU Lesser General Public License for more details.
25
26 You should have received a copy of the GNU Lesser General Public License
27 along with ITHACA-FV. If not, see <http://www.gnu.org/licenses/>.
28
29\*---------------------------------------------------------------------------*/
30alphat.correctBoundaryConditions();
31
32fvScalarMatrix TEqn
33(
34
35 fvm::ddt(T)
36 ==
37 - fvm::div(phi, T)
38 + fvm::laplacian(turbulence->nu() / Pr + alphat, T)
39 + (v / CpRef) * (decLam1 * dec1 + decLam2 * dec2 + decLam3* dec3)
40 + (1 - decbetaTot) * (TXS) / (CpRef)*flux
41
42 );
43
44TEqn.relax();
45TEqn.solve();
46
47
48
49
50
volScalarField & T
Definition createT.H:46
fvScalarMatrix & TEqn
Definition TEqn.H:15
dimensionedScalar & decbetaTot
volScalarField & v
volScalarField & TXS
volScalarField & alphat
volScalarField & flux
volScalarField & dec3
volScalarField & dec1
volScalarField & dec2
dimensionedScalar & CpRef
dimensionedScalar & Pr
dimensionedScalar & decLam1
dimensionedScalar & decLam3
dimensionedScalar & decLam2
surfaceScalarField & phi
turbulence