Newbie trying to get boat on water
My google-fu has largely failed me. I'm trying to model a boat's hull on moving water. But I'm not sure I'm doing it right. The first question is whether it's possible to pre-flood the modeled test tank at Tzero. Right now, the tank starts empty and has to fill up before reaching the boat -- a lot a wasted simulation time there. I tried to specify a box filled with water in the setFieldsDict file to get things started. But it seems to be being ignored. The second question is whether the outlet has been specified correctly. In short, I just want water to run past my boat at a predefined level and speed so I can evaluate some hull shapes.
It's possible the issues I'm having are related to an exporter I wrote that exports models from Blender 3D directly into an fms file. From there, I run cartesianMesh on the fms file to get it into OpenFoam. The geometry looks correct in Paraview. The project can be downloaded from here: http://www.roboticgladiator.com/Boat.zip Yes, it's very crude right now just to speed things up until I get the config files sorted out. Any help will be appreciated. |
Hi,
have a look at the DTCHull tutorial. This should be a good starting point for your case. Best, Jan |
That was very helpful. I hadn't thought of googling openFoam + hull. I was searching for boat and ship.
Things are working better, but the water still wants to pile up at the outlet to some extend rather than flowing out cleanly. Maybe this is normal? I'm also having trouble with the reconstructPar command. It's dying with an error "No times selected". I'm at a loss for this one. I have the 4 processor directories and decomposePar appears to run without any issues. Any ideas? Edit: I looked in the various processor directories and it appears that there are no time steps inside of them other than 0. Why would this happen? |
For the outlet issue, ensure correct mean velocity is set for the outlet BC, if using outletphasemeanvelocity.
ReconstructPar: Check the writeInterval. |
Things are working nicely as far as I can tell. I still haven't cranked the mesh resolution up yet mostly to keep the run times short while I expiriment with the software.
I do have one question as to why the DTCHull demo scaled the tanker ship so dramatically instead of using real world dimensions. It would seem to me that the significant scaling would cause issues with the dynamic similarity. (?) But I'm not an expert in fluid dynamics by any means. |
All times are GMT -4. The time now is 19:00. |