We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9860039 + 30633ea commit fd2b033Copy full SHA for fd2b033
1 file changed
applications/solvers/dfLowMachFoam/EEqn.H
@@ -3,29 +3,27 @@
3
4
fvScalarMatrix EEqn
5
(
6
- turbName == "laminar"
7
- ?
8
- (
9
- fvm::ddt(rho, he) + mvConvection->fvmDiv(phi, he)
10
- + fvc::ddt(rho, K) + fvc::div(phi, K)
11
- - dpdt
12
- - fvm::laplacian(turbulence->alphaEff(), he)
13
- + diffAlphaD
14
- ==
15
- fvc::div(hDiffCorrFlux)
16
- )
17
- :
18
+
19
fvm::ddt(rho, he) + mvConvection->fvmDiv(phi, he)
20
+ fvc::ddt(rho, K) + fvc::div(phi, K)
21
- dpdt
22
23
+ ==
+ (
+ turbName == "laminar"
+ ?
+ fvm::laplacian(turbulence->alpha(), he)
+ - diffAlphaD
+ + fvc::div(hDiffCorrFlux)
+ )
+ :
+ fvm::laplacian(turbulence->alphaEff(), he)
24
);
25
26
EEqn.relax();
27
28
EEqn.solve("ha");
29
-
30
31
}
0 commit comments