How to modify the particle patchInjection model to a position injection model?
1 Attachment(s)
Sorry that I am pretty new about the C++ code in OpenFOAM. I am currently trying to simulate a particle-laden flow with the lagrangian particles injecting into the domain from a section at a certain position. The geometry of the section is as same as the inject patch, but it is 100mm away from the inject patch in the downstream domain (shown in the figure). Can it be achieved by simply modifying the codes related to “position” as below in the "patchInjection.C" file? If it is achievable, how to modify them?
Code:
if ((time0 >= 0.0) && (time0 < duration_)) Thank in advance and kind regards. |
All times are GMT -4. The time now is 23:17. |