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. |
swak4foam
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? |
Quote:
Code:
variables ( Or you can always load the positions you calculated into a spreadsheet and do the calculation there |
missed a }
thank you for your reply Quote:
|
Quote:
|
thank you so much for the answer :)
|
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? |
you should enter time argument
Quote:
|
Quote:
|
All times are GMT -4. The time now is 12:30. |