- **OpenFOAM**
(*http://www.cfd-online.com/Forums/openfoam/*)

- - **Update internal mesh with a predicting equation instead of motion solver with diffus?**
(*http://www.cfd-online.com/Forums/openfoam/111309-update-internal-mesh-predicting-equation-instead-motion-solver-diffus.html*)

Update internal mesh with a predicting equation instead of motion solver with diffus?3 Attachment(s)
Update internal mesh with a predicting equation instead of motion solver with diffusivity?
Hi, everybody! My channel has a wavy bottom wall, which can be described as y_wall(x,t)=a*sin(k*(x-c*t), i.e. a travelling sine wave. This could be achieved by adapting "waveDisplacement". However, I have trouble with the diffusivity. None of the available diffusivity can satisfy my need. For it squeeze grids vertically above crests and stretch over troughs, squeeze makes the first grid spacing much too small, and stretch makes the first grid spacing even larger than the second. Any given point at the bottom wall can be crest at one time, but becomes trough the next time. So it's tricky to give a proper diffusivity. See attached pictures. Yet, the grid points can be predicted only if the bottom wall position is known. The i_th point elevation y_i = y_0 * r^(i-1) + y_wall, where r is the expansion ratio, y_0 the first grid height. Does anyone known how to update the internal points using a predicting equation rather the "diffusivity"? Where should I add it? Best regards. Nick |

All times are GMT -4. The time now is 21:49. |