ITHACA-FV
2023.1
Loading...
Searching...
No Matches
src
ITHACA_FOMPROBLEMS
unsteadymsrProblem
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
\*---------------------------------------------------------------------------*/
30
alphat
.correctBoundaryConditions();
31
32
fvScalarMatrix
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
44
TEqn
.relax();
45
TEqn
.solve();
46
47
48
49
50
T
volScalarField & T
Definition
createT.H:46
TEqn
fvScalarMatrix & TEqn
Definition
TEqn.H:15
decbetaTot
dimensionedScalar & decbetaTot
Definition
createConstants.H:51
v
volScalarField & v
Definition
createConstants.H:69
TXS
volScalarField & TXS
Definition
createConstants.H:194
alphat
volScalarField & alphat
Definition
createConstants.H:235
flux
volScalarField & flux
Definition
createFields_Neutronics.H:45
dec3
volScalarField & dec3
Definition
createFields_Thermal.H:125
dec1
volScalarField & dec1
Definition
createFields_Thermal.H:72
dec2
volScalarField & dec2
Definition
createFields_Thermal.H:98
CpRef
dimensionedScalar & CpRef
Definition
readConstants.H:67
Pr
dimensionedScalar & Pr
Definition
readConstants.H:39
decLam1
dimensionedScalar & decLam1
Definition
readConstants_TH.H:21
decLam3
dimensionedScalar & decLam3
Definition
readConstants_TH.H:39
decLam2
dimensionedScalar & decLam2
Definition
readConstants_TH.H:30
phi
surfaceScalarField & phi
Definition
createFields.H:68
turbulence
turbulence
Definition
createFields.H:88
Generated by
1.11.0