You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the 2D example, but it seems like its not working properly. I tried running it "out of the box", but the function
'isoturb.generate_isotropic_turbulence' requires 9 arguments, in the example2D.py, only 7 were provided. If values for lz and nz are provided, the generator crashes.
The text was updated successfully, but these errors were encountered:
Hello, I found the solution. In line 147 where u, v are determined i.e., u, v = isoturb.generate_isotropic_turbulence(lx, ly, nx, ny, nmodes, wn1, whichspec), the original code was calling the 3D function, instead of the 2D.
It should be u, v = isoturb.generate_isotropic_turbulence_2d(lx, ly, nx, ny, nmodes, wn1, whichspec)
I am trying to run the 2D example, but it seems like its not working properly. I tried running it "out of the box", but the function
'isoturb.generate_isotropic_turbulence' requires 9 arguments, in the example2D.py, only 7 were provided. If values for lz and nz are provided, the generator crashes.
The text was updated successfully, but these errors were encountered: