Loading...
Searching...
No Matches
precEqns.H
Go to the documentation of this file.
1
2difft.correctBoundaryConditions();
3
4tmp<fvScalarMatrix> tprecEq1
5(
6 fvm::div(phi, prec1)
7 ==
8 fvm::laplacian(turbulence->nu() + difft, prec1)
9 - fvm::Sp(lam1, prec1)
10 + beta1* NSF* flux
11 );
12
13fvScalarMatrix& precEq1 = tprecEq1.ref();
14precEq1.relax();
15//precEq1.solve();
16prec1residual = precEq1.solve().initialResidual();
17
18tmp<fvScalarMatrix> tprecEq2
19(
20 fvm::div(phi, prec2)
21 ==
22 fvm::laplacian(turbulence->nu() + difft, prec2)
23 - fvm::Sp(lam2, prec2)
24 + beta2* NSF* flux
25 );
26
27fvScalarMatrix& precEq2 = tprecEq2.ref();
28precEq2.relax();
29//precEq2.solve();
30prec2residual = precEq2.solve().initialResidual();
31
32
33tmp<fvScalarMatrix> tprecEq3
34(
35 fvm::div(phi, prec3)
36 ==
37 fvm::laplacian(turbulence->nu() + difft, prec3)
38 - fvm::Sp(lam3, prec3)
39 + beta3* NSF* flux
40 );
41
42fvScalarMatrix& precEq3 = tprecEq3.ref();
43precEq3.relax();
44// precEq3.solve();
45prec3residual = precEq3.solve().initialResidual();
46
47
48tmp<fvScalarMatrix> tprecEq4
49(
50 fvm::div(phi, prec4)
51 ==
52 fvm::laplacian(turbulence->nu() + difft, prec4)
53 - fvm::Sp(lam4, prec4)
54 + beta4* NSF* flux
55 );
56
57fvScalarMatrix& precEq4 = tprecEq4.ref();
58precEq4.relax();
59//precEq4.solve();
60prec4residual = precEq4.solve().initialResidual();
61
62
63tmp<fvScalarMatrix> tprecEq5
64(
65
66 fvm::div(phi, prec5)
67 ==
68 fvm::laplacian(turbulence->nu() + difft, prec5)
69 - fvm::Sp(lam5, prec5)
70 + beta5* NSF* flux
71 );
72
73fvScalarMatrix& precEq5 = tprecEq5.ref();
74precEq5.relax();
75//precEq5.solve();
76prec5residual = precEq5.solve().initialResidual();
77
78
79tmp<fvScalarMatrix> tprecEq6
80(
81 fvm::div(phi, prec6)
82 ==
83 fvm::laplacian(turbulence->nu() + difft, prec6)
84 - fvm::Sp(lam6, prec6)
85 + beta6* NSF* flux
86 );
87
88fvScalarMatrix& precEq6 = tprecEq6.ref();
89precEq6.relax();
90//precEq6.solve();
91prec6residual = precEq6.solve().initialResidual();
92
93
94tmp<fvScalarMatrix> tprecEq7
95(
96 fvm::div(phi, prec7)
97 ==
98 fvm::laplacian(turbulence->nu() + difft, prec7)
99 - fvm::Sp(lam7, prec7)
100 + beta7* NSF* flux
101 );
102
103fvScalarMatrix& precEq7 = tprecEq7.ref();
104precEq7.relax();
105//precEq7.solve();
106prec7residual = precEq7.solve().initialResidual();
107
108
109tmp<fvScalarMatrix> tprecEq8
110(
111 fvm::div(phi, prec8)
112 ==
113 fvm::laplacian(turbulence->nu() + difft, prec8)
114 - fvm::Sp(lam8, prec8)
115 + beta8* NSF* flux
116 );
117
118fvScalarMatrix& precEq8 = tprecEq8.ref();
119precEq8.relax();
120//precEq8.solve();
121prec8residual = precEq8.solve().initialResidual();
122
123
volScalarField & NSF
volScalarField & difft
volScalarField & prec5
volScalarField & prec6
volScalarField & prec8
volScalarField & flux
volScalarField & prec3
volScalarField & prec2
volScalarField & prec7
volScalarField & prec4
volScalarField & prec1
tmp< fvScalarMatrix > tprecEq1(fvm::div(phi, prec1)==fvm::laplacian(turbulence->nu()+difft, prec1) - fvm::Sp(lam1, prec1)+beta1 *NSF *flux)
prec7residual
Definition precEqns.H:106
fvScalarMatrix & precEq2
Definition precEqns.H:27
fvScalarMatrix & precEq3
Definition precEqns.H:42
tmp< fvScalarMatrix > tprecEq5(fvm::div(phi, prec5)==fvm::laplacian(turbulence->nu()+difft, prec5) - fvm::Sp(lam5, prec5)+beta5 *NSF *flux)
prec2residual
Definition precEqns.H:30
fvScalarMatrix & precEq6
Definition precEqns.H:88
tmp< fvScalarMatrix > tprecEq7(fvm::div(phi, prec7)==fvm::laplacian(turbulence->nu()+difft, prec7) - fvm::Sp(lam7, prec7)+beta7 *NSF *flux)
tmp< fvScalarMatrix > tprecEq6(fvm::div(phi, prec6)==fvm::laplacian(turbulence->nu()+difft, prec6) - fvm::Sp(lam6, prec6)+beta6 *NSF *flux)
tmp< fvScalarMatrix > tprecEq4(fvm::div(phi, prec4)==fvm::laplacian(turbulence->nu()+difft, prec4) - fvm::Sp(lam4, prec4)+beta4 *NSF *flux)
tmp< fvScalarMatrix > tprecEq3(fvm::div(phi, prec3)==fvm::laplacian(turbulence->nu()+difft, prec3) - fvm::Sp(lam3, prec3)+beta3 *NSF *flux)
prec5residual
Definition precEqns.H:76
fvScalarMatrix & precEq5
Definition precEqns.H:73
fvScalarMatrix & precEq7
Definition precEqns.H:103
prec4residual
Definition precEqns.H:60
tmp< fvScalarMatrix > tprecEq8(fvm::div(phi, prec8)==fvm::laplacian(turbulence->nu()+difft, prec8) - fvm::Sp(lam8, prec8)+beta8 *NSF *flux)
tmp< fvScalarMatrix > tprecEq2(fvm::div(phi, prec2)==fvm::laplacian(turbulence->nu()+difft, prec2) - fvm::Sp(lam2, prec2)+beta2 *NSF *flux)
fvScalarMatrix & precEq8
Definition precEqns.H:118
prec6residual
Definition precEqns.H:91
fvScalarMatrix & precEq1
Definition precEqns.H:13
prec8residual
Definition precEqns.H:121
prec3residual
Definition precEqns.H:45
prec1residual
Definition precEqns.H:16
fvScalarMatrix & precEq4
Definition precEqns.H:57
dimensionedScalar & beta1
dimensionedScalar & beta3
dimensionedScalar & beta2
dimensionedScalar & lam2
dimensionedScalar & beta5
dimensionedScalar & beta4
dimensionedScalar & beta8
dimensionedScalar & lam6
dimensionedScalar & lam4
dimensionedScalar & lam8
dimensionedScalar & lam1
dimensionedScalar & beta6
dimensionedScalar & lam5
dimensionedScalar & lam7
dimensionedScalar & lam3
dimensionedScalar & beta7
surfaceScalarField & phi
turbulence