-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry, my ignoramus questions about the Waterlily again #126
Comments
Hi @tiinaroose, Sorry for the late reply, I missed this issue. This example is a bit advanced, it's perfectly normal not to get it on first read. In In the case of prescribed motion, this works fine because we know the motion and the velocity, and if we can express them in terms of a simple function, we are all set. For FSI, this is different. The map function is unknown and cannot, in general, be expressed simply. The trick I am doing here is to compute the position of the cylinder by solving the 1D equation of motion, and then, I use the position to map the cylinder to the correct location through a map function that uses the global variable
Now the trick is that if we were to differentiate this map function w.r.t to time to get the velocity
we would get a constant zero velocity. Which is not correct, and the kinematic BC would be violated. The trick to achieving this is to ensure that
by setting
This is a trick to use Now, for your case with a rotating ellipse, you have to add rotation on top of the linear motion in much the same fashion
Which moves and rotates the ellipse. To get the rotation angle I actually have an example of a free-falling ellipse that does all that. I can send it if you want. I hope this helps. |
In the moving sphere demo TwoD_cylinder_VIV.jl
there are lines:
initial condition FSI
Why does this imply any movement? v0=0? I've made the ellipse move up and down just like the sphere, but I want to make it now rotate. However, I do not understand how the up and down movement is implemented in the first place in WaterLily.
The text was updated successfully, but these errors were encountered: