Simulate a vessel sailing in a numerical tank
I want to simulate a vessel sailing in a numerical tank with fixed draft and uniform rectilinear motion along the X-axis. So it has two constraints. The first is fixed Z-coordinate of gravity center, the second is X-axis velocity. Does anyone know how to define the first constraint? Thanks.
Comments
check the guide and MOTION directory for that
if you still have problems, email to us (dualsphysics@gmail.com)
By the way, I studied the test case CASEFORCES under RUN_DIRECTORY. Varying gravity is specified in varAccInputFile_0.csv and varAccInputFile_1.csv. Is the file name varAccInputFile_{n} mandatory?
"Is the file name varAccInputFile_{n} mandatory?" OBVIOUSLY NOT
Another question. If the file name is mandatory, where and how to specify it?
In order to restrict the movement of the vessel, I guess the best option is to predefined the movement and load it from an external file or define it as floating object with an external force and restrict the degrees of freedom you want on the source files.
Regards
I guess external forces cannot be applied to floating objects. Because floating objects are not treated as fluid particles. Please refer to "Possibility of adding external forces" section in the user guide.
Maybe the best option is to predefine the movements from external files. I checked Motion08.xml and Motion01.xml. I don't quite understand the meaning of some keywords, such as "start", "finish", "duration". It seems the "finish" value does not equal to the sum of all "duration" values.
And what is the measurement unit of velocity? dp or actual coordinate?