time vary boundary condition to simulate waves in interFoam or equivalent
Hi all,
I am currently required to run a simulation that takes in boundary conditions that are time varying from a data file, basically with alpha1 and velocity beneath the surface of the water at every time step. Would like to find out what is the best way I can achieve this. Generally, from many wave tank simulations we normally use groovy BC for regular waves, which we have been using for a while now: From http://openfoamwiki.net/index.php/Contrib/groovyBC For a surface elevation following the second order stokes wave, Code:
Code:
Regards. |
All times are GMT -4. The time now is 15:33. |