|
[Sponsors] |
[swak4Foam] need funkysetfields to creat a droplet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 24, 2012, 06:46 |
|
#21 |
New Member
Tom Schmitz
Join Date: Mar 2011
Posts: 19
Rep Power: 15 |
Thank you. You helped me a lot. I think i understand now how it works.
Unfortunately it doesn't work at all with potentialWaveFoam. I try to figure out why and will post it, if i succeed. |
|
December 15, 2012, 04:43 |
swak4foam
|
#22 |
New Member
Sahar
Join Date: Oct 2012
Posts: 2
Rep Power: 0 |
hi
im new in openFoam too. im trying to simulate falling droplet. for having a set of results i use swak4foam to get the information of field deitalls. i wrote the function for calculating mass center of falling drop. now i want to find some other variables in each time step (such as velocity) using the mass center that i found as i said. explaining more: i wrote function for calculating mass center in each step time (x) now i want to use x to calculate velocity in this formulation: v=[x(2)-x(1)]/deltaT how can i match these function in control dict? |
|
December 16, 2012, 19:32 |
|
#23 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Code:
variables ( "newPos= <however you calculate your mass centern>;" "velocity=(newPos-oldPos)/deltaT();" "oldPos=newPos;" ); expression "velocity"; storedVariables ( { name oldPos; initialValue "vector(0,0,0)"; ); Or you can always load the positions you calculated into a spreadsheet and do the calculation there
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 17, 2012, 01:39 |
|
#24 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
missed a }
thank you for your reply Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
December 17, 2012, 04:16 |
|
#25 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
That's what I mean with "just a sketch"
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
December 20, 2012, 04:53 |
|
#26 |
New Member
Sahar
Join Date: Oct 2012
Posts: 2
Rep Power: 0 |
thank you so much for the answer
|
|
August 4, 2013, 05:57 |
|
#27 |
Member
Mohammad Bahreini
Join Date: Dec 2012
Posts: 36
Rep Power: 13 |
Hi all
i want use of FunkySetFields for may case in OpenFoam2.1.1,i instal swak4Foam for this version witout problem,i made FunkySetFieldsDict for my case and after when i run that i see this problem --> FOAM FATAL ERROR: funkySetFields: time/latestTime option is required From function main() in file funkySetFields.C at line 641. FOAM exiting what is my mistake? |
|
August 4, 2013, 06:08 |
|
#28 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
you should enter time argument
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
August 4, 2013, 11:40 |
|
#29 |
Member
Mohammad Bahreini
Join Date: Dec 2012
Posts: 36
Rep Power: 13 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Droplet breakup using FLUENTT KHRT model | gauthamnarayan | FLUENT | 0 | June 30, 2016 01:51 |
[swak4Foam] To apply force on a droplet using funkySetFields | Shayansh | OpenFOAM Community Contributions | 1 | May 9, 2015 02:43 |
2D VOF Droplet evaporation model. Multi-component problem | nb92 | Fluent Multiphase | 0 | February 28, 2014 10:36 |
droplet falling - VOF | bohis | FLUENT | 1 | July 10, 2013 04:28 |
DieselFoam Droplet Temperature Issues - OF 1.6 | viv05 | OpenFOAM | 0 | February 27, 2010 11:20 |