CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] I have warning in use swak4Foam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 14, 2013, 07:27
Default I have warning in use swak4Foam
  #2
Member
 
sajad
Join Date: Aug 2013
Posts: 70
Rep Power: 12
seju is on a distinguished road
Dear foamer
I want use this code for calculate droplet velocity but I dont kwon any thing.I dont know I must how use it?
its:

downAverage
{
type swakExpression;
valueType internalField;
variables (
"downDirection=vector(0,-1,0);"//select the downwards direction
"thres=0.5;"//which cells to keep
"liquidVol=sum(alpha1>thres ? vol() : 0);" //calculates the volume of the drop
"downVel=alpha1>thres ? (U & downDirection) : 0;" //a & b:inner vector product. Keep the y component of U. );
expression "downVel*vol()/liquidVol" //vol():vol of the cell
accumulations ( sum ); verbose true;
}


please help me. I dont know any thing about use swak4Foam,I just found this code in wiki.
http://www.openfoamwiki.net/index.ph...ropletVelocity
seju is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 14:27.