one-way coupled particle tracking
1 Attachment(s)
Hi!
I am trying to do a particle tracking using one-way coupling. Searching the forum, I found this thread discussing the same thing: https://www.cfd-online.com/Forums/op...-tracking.html In the thread, icoUncoupledKinematicParcelFoam is suggested as an appropriate solver. I tried to use the same method and obtained this result: Attachment 99142 The figure shows the velocity magnitude of both the particle and 2-D flow. I applied a glyph filter over the particle track and made the radius scale with the velocity. There are two problems: 1. I cannot specify the 3-dimensional initial position of the particle. I did specify 3 dimensions in constant -> kinematicCloudPositions, but only the x-value seems to have any effect. 2. The straight particle track suggests fully passive transport, because I varied the density and hoped to see vertical motion. (I tried running with rho0 values matching both g/cm3 and kg/m3, but it made no difference for vertical transport). Since the particle is slowly accelerating in a somewhat uniform flow, I don't think it is a passive particle simulation as the description of the solver describes: https://www.openfoam.com/documentati...8C_source.html So my current conclusion is that the particle is somehow modelled in 1 dimension only. I don't understand why this is the case. I will include my kinematicCloudProperties file below, but I am not sure the error is in there. If anyone has a suggestion as to why my simulation behaves like this, or can direct me to other input files I should check, I will be very thankful :). Code:
FoamFile |
Just in case anyone finds this and has the same problem, I found the problem:
I had three 'empty' boundaries, two of which were in the y-dimension to simulate 2D flow, and the final one in the z-dimension at the 'top' boundary to avoid using a 'wall' boundary and creating (unwanted) pipe-like flow. For each dimension in which at least one boundary was 'empty', the particle tracker fixed the particle in that dimension. So, the solution is having functional boundaries (non-empty) in each dimension you wish to track particle movement. I have since switched to simulating multiphase flow to more accurately represent my system, which also solves the top boundary problem. |
All times are GMT -4. The time now is 11:44. |