Code:
#include "udf.h" |
Thank you dmoroian very much for you attention and help.
I have put your code into my case, but unfortunatelly the results are not desired one. I will prepare 4-cell face and thoroughly test it. Perhaps this fixed magnitude 0.8 is a problem. Maybe you or someone else could help or advice me in another matter. These two codes (mass flow and this one) will be eventually in one code. I have prepared code: Code:
#include "udf.h" And now I would like to set it on transient case. The obstacles or openings are rotating around the center. Code:
#include "udf.h" Maybe someone created something like that and could provide me with the code or help me to understand the C++ syntax in that case? I assume there will be loop in the loop. Regards |
My point with "this should be a workable udf" was that is clean and you should start from here, not use it as it is.
One thing that you have to modify is the hardcoded value of the total area. This should be computed using a loop over all faces: Code:
... |
All times are GMT -4. The time now is 19:09. |