post-processing solver
Hello Foamers
I am trying to make my own customize post-processing solver. I guess it is not so difficult thing. However I am unable to find any right source or link for my guidance. If anyone knows then please tell. My actual problem is let say I have run a rising bubble problem. I have saved my time step data for N number of steps (0, 0.1, 0.2, ...). I want to make a solver which loop over to read the data for each N step case and do my calculation with those data (lets say calculate bubble centroid) and I create an output data file for each N step like Xc(0, 0.1, 0.2 ...). I am having trouble in writing the loop. What should be the syntax to read over each time step file. Thanks |
Hello All,
I am able to write the solver. It is a derivative of postProcess.c. It is giving results. However, I am getting a warning like this --> FOAM Warning : From function bool Foam::dictionary::add(Foam::entry*, bool) in file db/dictionary/dictionary.C at line 807 Reading "" attempt to add entry functions which already exists in dictionary "" It is because I am using the same create fields as in my simulation solver. How can I suppress this warning? Coz in a long run it can be time consuming as well. Thanks |
All times are GMT -4. The time now is 10:55. |