Loading...
Searching...
No Matches
DiffEqn.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
31fvScalarMatrix NEqn
32(
33
34 fvm::ddt(IV1, flux)
35 ==
36 fvm::laplacian(D, flux)
37 +fvm::Sp(NSF * (1 - betaTot) - A, flux)
38 + lam1* prec1
39 + lam2* prec2
40 + lam3* prec3
41 + lam4* prec4
42 + lam5* prec5
43 + lam6* prec6
44 + lam7* prec7
45 + lam8* prec8
46
47 );
48
49NEqn.relax();
50NEqn.solve();
51
52
53
54
55
fvScalarMatrix & NEqn
Definition DiffEqn.H:20
volScalarField & NSF
volScalarField & A
dimensionedScalar & betaTot
volScalarField & D
volScalarField & prec5
volScalarField & prec6
volScalarField & prec8
volScalarField & flux
volScalarField & prec3
volScalarField & prec2
volScalarField & prec7
volScalarField & prec4
volScalarField & prec1
dimensionedScalar & lam2
dimensionedScalar & lam6
dimensionedScalar & IV1
dimensionedScalar & lam4
dimensionedScalar & lam8
dimensionedScalar & lam1
dimensionedScalar & lam5
dimensionedScalar & lam7
dimensionedScalar & lam3