Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
9f7b8f6c
Commit
9f7b8f6c
authored
May 24, 2011
by
andy
Browse files
ENH: Added Weber numbver evaluation
parent
8dcf604c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.H
View file @
9f7b8f6c
...
...
@@ -547,6 +547,15 @@ public:
const
scalar
muc
// carrier dynamic viscosity
)
const
;
//- Weber number
inline
scalar
We
(
const
vector
&
U
,
// particle velocity
const
scalar
d
,
// particle diameter
const
scalar
rhoc
,
// carrier density
const
scalar
sigma
// particle surface tension
)
const
;
// Main calculation loop
...
...
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcelI.H
View file @
9f7b8f6c
...
...
@@ -542,4 +542,17 @@ inline Foam::scalar Foam::KinematicParcel<ParcelType>::Re
}
template
<
class
ParcelType
>
inline
Foam
::
scalar
Foam
::
KinematicParcel
<
ParcelType
>::
We
(
const
vector
&
U
,
const
scalar
d
,
const
scalar
rhoc
,
const
scalar
sigma
)
const
{
return
rhoc
*
magSqr
(
U
-
Uc_
)
*
d
/
(
sigma
+
ROOTVSMALL
);
}
// ************************************************************************* //
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment