repo.or.cz
/
ShipHydroSIG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git]
/
src
/
navalFoam
/
alphaImplicit.H
blob
5aa2be7f15c08dcfd28d081f79a592bddff8dc0f
1
{
2
fvScalarMatrix alpha1Eqn
3
(
4
fvm::ddt(alpha1)
5
+ fvm::div(phi, alpha1, alphaScheme)
6
+ fvm::div
7
(
8
-fvc::flux(-phir, scalar(1) - alpha1, alpharScheme),
9
alpha1,
10
alpharScheme
11
)
12
);
13
14
alpha1Eqn.solve();
15
}