Problems exporting floating body as VTK
Hi all,
I set up a coast simulation with a boat in it (included as STL).
When i tried to export the floating data I did it like in the CASE_PUMP-example:
%boundaryvtk% -loadvtk %dirout%/%name%_Boat_Actual.vtk -filexml %dirout%/%name%.xml -motiondatatime %dirout% -savevtkdata %dirout%/MotionBoat -onlymk:23
MK 23 should be correct since it exports one single vtk, but thats it. Why doesn´t export it one vtk per timestep?
It works, if I use PartVTK or IsoSurface to get the data exported, but I want to have the exact shape of the boat.
Thanks in advance.
Chris
I set up a coast simulation with a boat in it (included as STL).
When i tried to export the floating data I did it like in the CASE_PUMP-example:
%boundaryvtk% -loadvtk %dirout%/%name%_Boat_Actual.vtk -filexml %dirout%/%name%.xml -motiondatatime %dirout% -savevtkdata %dirout%/MotionBoat -onlymk:23
MK 23 should be correct since it exports one single vtk, but thats it. Why doesn´t export it one vtk per timestep?
It works, if I use PartVTK or IsoSurface to get the data exported, but I want to have the exact shape of the boat.
Thanks in advance.
Chris
Comments
Regards
thank you for your quick response.
It is the boat, but ParaView says that "%name%_Boat_Actual.vtk" only contains mk:23.
How can I change it?
Thank you in advance.
Chris
Hence I just get the %name%__Actual.vtk as output. It includes both. Cost and boat, but I still cannot export the floating boat.
I also export the wavemaker with the same code (mk is 22 instead 23).
I have no idea, why it doesn´t work...
The key was to change -motiondatatime to -motiondata
But thank you anyway for your explanation and help, Alex.