ITHACA-FV
2023.1
Loading...
Searching...
No Matches
src
ITHACA_FOMPROBLEMS
unsteadymsrProblem
decEqns.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
difft
.correctBoundaryConditions();
31
32
fvScalarMatrix
decEq1
33
(
34
fvm::ddt(
dec1
)
35
==
36
- fvm::div(
phi
,
dec1
)
37
+ fvm::laplacian(
turbulence
->nu() /
Sc
+
difft
,
dec1
)
38
- fvm::Sp(
decLam1
,
dec1
)
39
+
decBeta1
*
SP
*
flux
40
);
41
42
decEq1
.relax();
43
decEq1
.solve();
44
45
46
47
48
fvScalarMatrix
decEq2
49
(
50
fvm::ddt(
dec2
)
51
==
52
- fvm::div(
phi
,
dec2
)
53
+ fvm::laplacian(
turbulence
->nu() /
Sc
+
difft
,
dec2
)
54
- fvm::Sp(
decLam2
,
dec2
)
55
+
decBeta2
*
SP
*
flux
56
);
57
58
decEq2
.relax();
59
decEq2
.solve();
60
61
62
63
64
fvScalarMatrix
decEq3
65
(
66
fvm::ddt(
dec3
)
67
==
68
- fvm::div(
phi
,
dec3
)
69
+ fvm::laplacian(
turbulence
->nu() /
Sc
+
difft
,
dec3
)
70
- fvm::Sp(
decLam3
,
dec3
)
71
+
decBeta3
*
SP
*
flux
72
);
73
74
decEq3
.relax();
75
decEq3
.solve();
76
77
SP
volScalarField & SP
Definition
createConstants.H:170
difft
volScalarField & difft
Definition
createConstants.H:252
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
decEq3
fvScalarMatrix & decEq3
Definition
decEqns.H:43
decEq1
fvScalarMatrix & decEq1
Definition
decEqns.H:13
decEq2
fvScalarMatrix & decEq2
Definition
decEqns.H:28
Sc
dimensionedScalar & Sc
Definition
readConstants.H:97
decLam1
dimensionedScalar & decLam1
Definition
readConstants_TH.H:21
decBeta3
dimensionedScalar & decBeta3
Definition
readConstants_TH.H:66
decBeta1
dimensionedScalar & decBeta1
Definition
readConstants_TH.H:48
decBeta2
dimensionedScalar & decBeta2
Definition
readConstants_TH.H:57
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