Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
solvers
multiphase
bubbleFoam
liftDragCoeffs.H
Go to the documentation of this file.
1
volVectorField
Ur
=
Ua
-
Ub
;
2
volScalarField
magUr
=
mag
(
Ur
);
3
4
volScalarField
CdaMagUr
=
5
(24.0*
nub
/da)*(scalar(1) + 0.15*
pow
(da*
magUr
/
nub
, 0.687));
6
7
volScalarField
CdbMagUr
=
8
(24.0*
nua
/db)*(scalar(1) + 0.15*
pow
(db*
magUr
/
nua
, 0.687));
9
10
volScalarField
dragCoef
11
(
12
"Cd"
,
13
0.75*(
beta
*
rhob
*
CdaMagUr
/da + alpha*
rhoa
*CdbMagUr/db)
14
);
15
16
volVectorField
liftCoeff
= Cl*(
beta
*
rhob
+ alpha*
rhoa
)*(
Ur
^
fvc::curl
(
U
));
17
18
// ************************ vim: set sw=4 sts=4 et: ************************ //