Loading...
Searching...
No Matches
DiffEqn.H
Go to the documentation of this file.
1
2tmp<fvScalarMatrix> tNEqn
3(
4
5 - fvm::laplacian(D, flux)
6 ==
7 fvm::Sp(NSF * (1 - betaTot), flux)
8 - fvm::Sp(A, flux)
9 + lam1* prec1
10 + lam2* prec2
11 + lam3* prec3
12 + lam4* prec4
13 + lam5* prec5
14 + lam6* prec6
15 + lam7* prec7
16 + lam8* prec8
17
18 );
19
20fvScalarMatrix& NEqn = tNEqn.ref();
21NEqn.relax();
22//NEqn.solve();
23fluxresidual = NEqn.solve().initialResidual();
24
25
26
27
tmp< fvScalarMatrix > tNEqn(- fvm::laplacian(D, flux)==fvm::Sp(NSF *(1 - betaTot), flux) - fvm::Sp(A, flux)+lam1 *prec1+lam2 *prec2+lam3 *prec3+lam4 *prec4+lam5 *prec5+lam6 *prec6+lam7 *prec7+lam8 *prec8)
fvScalarMatrix & NEqn
Definition DiffEqn.H:20
fluxresidual
Definition DiffEqn.H:23
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 & lam4
dimensionedScalar & lam8
dimensionedScalar & lam1
dimensionedScalar & lam5
dimensionedScalar & lam7
dimensionedScalar & lam3