accessing 0 time directory in coded functionObject
Hi there,
I am hoping to get some help with coded function objects in openFoam. I have written a function object to compute the radius of a bubble based on volume fraction alpha and cell volume as follows (compressibleInterFoam): Code:
The code compiles and runs but with the above setting the radius clearly stays constant for all time-directories. Please help. Any advice will be greatly appreciated. p.s. I know I can do something similar in swak4Foam but so far I have not managed to make this work for my current version (v5.0) and I want to try out some coding in OpenFOAM and c++ as an exercise (still a newbie). |
All times are GMT -4. The time now is 18:21. |