Hello,
I’m trying to implement a piston-type wavemaker to force a large 3D simulation. I’m also using my own point clouds for both the fluid particles and solid particles. I was wondering if it’s possible to specify the point cloud for the moving body as well. This would be helpful ahead of time since my geometry is pretty specific and requires a lot of preprocessing.
Currently, I use a line like this for the wavemaker:
paddle = addBox(GT_MOVING_BODY, FT_SOLID, Point(paddle_origin), paddle_thickness, paddle_width, paddle_length);
and this for my fluid/solid particles:
GeometryID wall = addXYZFile(GT_FIXED_BOUNDARY, Point(0,0,0), wall_file.c_str(), NULL);
GeometryID fluid = addXYZFile(GT_FLUID, Point(0,0,0), fluid_file.c_str(), NULL);
Would it be possible to use the addXYZFile function to initialize the paddle points and then use it like a Box?