When I was simulating the effect of the six propeller rotations on the wings of the airplane, I rotated the wings with the propellers by 15 degrees along the y-axis, at which point the axis of rotation of the propellers should not have been at the original (1,0,0), but should have been (0.9659,0,0.2588), so I made a change to the code. When I voxelized all the propellers before the simulation loop, and then voxelized the propellers again in the while loop of the simulation, the propellers did not rotate in accordance with the given axis of rotation, and I didn't voxelize the wings a second time in the whie loop, so in the subsequent results, I could only see the wake generated by the rotation of the propellers, and the results are shown in the figure.
file:///home/ps/weijun_simulation_data/LBM_data/DEP_15d/DEP_1/image-000017880.png
The code is as follows
Since I only see the wake flow from the propeller in the result, I voxelize the wing again in the while loop.
The code is as follows
lbm.voxelize_mesh_on_device(fuselage);
The result shows the wake flow generated by the wing, however, for the propeller, in both the results it is found that the propeller is not rotating according to the given axis of rotation, is it because my axis of rotation is wrongly defined? How can I fix it, thanks a lot!
When I was simulating the effect of the six propeller rotations on the wings of the airplane, I rotated the wings with the propellers by 15 degrees along the y-axis, at which point the axis of rotation of the propellers should not have been at the original (1,0,0), but should have been (0.9659,0,0.2588), so I made a change to the code. When I voxelized all the propellers before the simulation loop, and then voxelized the propellers again in the while loop of the simulation, the propellers did not rotate in accordance with the given axis of rotation, and I didn't voxelize the wings a second time in the whie loop, so in the subsequent results, I could only see the wake generated by the rotation of the propellers, and the results are shown in the figure. file:///home/ps/weijun_simulation_data/LBM_data/DEP_15d/DEP_1/image-000017880.png The code is as follows
Since I only see the wake flow from the propeller in the result, I voxelize the wing again in the while loop. The code is as follows lbm.voxelize_mesh_on_device(fuselage);
The result shows the wake flow generated by the wing, however, for the propeller, in both the results it is found that the propeller is not rotating according to the given axis of rotation, is it because my axis of rotation is wrongly defined? How can I fix it, thanks a lot!![图片1](https://github.com/ProjectPhysX/FluidX3D/assets/160718220/19738b2c-143a-4d21-adc9-ba0f57c41816)