repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed unnecessary return statement
[foam-extend-3.2.git]
/
applications
/
solvers
/
multiphase
/
barotropicCavitatingFoam
/
UEqn.H
blob
4699346c1da158feeb364636edfb60c279b63f8e
1
surfaceScalarField gammaf = fvc::interpolate(gamma);
2
3
surfaceScalarField muf =
4
fvc::interpolate(rho)*(gammaf*nug + (1.0 - gammaf)*nul);
5
6
fvVectorMatrix UEqn
7
(
8
fvm::ddt(rho, U)
9
+ fvm::div(rhoPhi, U)
10
- fvm::laplacian(muf, U)
11
- (fvc::grad(U) & fvc::grad(muf))
12
);