-
Notifications
You must be signed in to change notification settings - Fork 317
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
Boat in water simulation setup #220
Comments
Hello @antoniopucciarelli, I have also struggled with the same thing, and managed to figure out a working solution for your model. Firstly, by default, all boundaries are periodic unless you specifically set them to be something else like TYPE_S or TYPE_E. I made a few changes to you setup as there were a couple of mistakes (like using the density and viscosity of air instead of water), but the important changes are to get correct boundary conditions when using free-surface flow. This is not intuitive, but using the "hydraulic jump" example, I was able to apply a similar approach to your model. Here is the modified code which produces great results. I have tried to add comments to explain. Your Force extraction code at the end seems to work fine, and is not included below to keep things more clear.
I have also opened a related issue #243 regarding the Raytracing with an STL object which you might like to follow. I hope this helps. Kind Regards, |
Dear Community / @ProjectPhysX ,
I am struggling with the setup of a boat moving through water in FluidX3D.
The issue i have is the following:
As you can see, the flow at the outlet of the domain is flowing in at the inlet. Do you know how to solve this problem?
The setup I use is the following:
Attached there is the .stl geometry.
boat.zip
My final aim is to simulate the motion of the boat inside water taking into account forces and moments.
If you have some scripts dealing with conservation of momentum and angular momentum, feel free to share it.
Thank you for the support.
The text was updated successfully, but these errors were encountered: