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

[swak4Foam] for sprayCloud

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2015, 15:33
Default for sprayCloud
  #1
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Dear foam users

im going to use swak4Foam for Lagrangian cloud in sprayFoam called as sprayCloud, but i faced following error, how i can resolve this problem:
Quote:
-> FOAM FATAL ERROR:
Unknown cloud type Cloud<basicSprayParcel> (cloud: Cloud<basicSprayParcel>)
Consider setting the parameter 'alternateCloudType' in "/home/nimasam/Desktop/aachenBomb/system/controlDict.functions.cloudPosition" to a valid type

Valid cloudType are :

5
(
Cloud<ReaderParticle>
Cloud<basicKinematicParcel>
Cloud<basicReactingMultiphaseParcel>
Cloud<basicReactingParcel>
Cloud<basicThermoParcel>
)

my setting at controlDict is:

Quote:
...
libs (
"libsimpleSwakFunctionObjects.so"
"libswakLagrangianParser.so"
);


functions {
cloudPosition {
type swakExpression;
outputControlMode timeStep;
expression "pos()";
accumulations (
min
max
//average
//weightedAverage
);
verbose true;

valueType cloud;
cloudName sprayCloud;
}
....
sh.CFD likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Tags
spraycloud, sprayfoam, swak4foam


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



All times are GMT -4. The time now is 16:20.