Explanation of a UDF codes
Hi guys,
I am trying to apply a UDF to move one of the wall of a cubic tank in order to generate wave in the fluid inside. Regarding these thread I found: https://www.cfd-online.com/Forums/fl...cillating.html https://www.cfd-online.com/Forums/fl...ting-wall.html It seems that I am in a very similar case, because I need to move just one of the faces (let's say along the x-axis for example) to obtain the effect. Essentially I do not grasp if these codes are moving one wall back and forth, because the key point of simulation is that my wall goes REALLY back and forth between a starting and an ending position (following a cosinusoidal law for the x-velocity that I wrote). Do they do this? In which part? |
Code:
#include "udf.h" best regards |
All times are GMT -4. The time now is 03:59. |