Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition of the rotational axis of a tilt propeller #166

Closed
wjsjtu123 opened this issue Mar 20, 2024 · 0 comments
Closed

Definition of the rotational axis of a tilt propeller #166

wjsjtu123 opened this issue Mar 20, 2024 · 0 comments
Labels
setup question question for a specific setup

Comments

@wjsjtu123
Copy link

wjsjtu123 commented Mar 20, 2024

I'm using fluidx3d for rotational simulation of a propeller. In the initial state, there is no angle of attack between the wing and the propeller, and the propeller is in rotational motion around the x-axis, the code is defined as follows:

lbm.voxelize_mesh_on_device(propellers, TYPE_S, propellers->get_center(), float3(0.0f), float3(omega, 0.0f, 0.0f)); // revoxelize mesh on GPU
lbm.run(lbm_dt); // run dt time steps
propellers->rotate(float3x3(float3(1.0f, 0.0f, 0.0f), domega)); // rotate mesh
To ensure a 15 degree angle of attack for the wing, I rotated the wing and propeller 15 degrees along the y-axis. At this point I use the following definition:
lbm.voxelize_mesh_on_device(propellers, TYPE_S, propellers->get_center(), float3(0.0f), float3(omega*0.9659f, 0.0f, omega*0.2588f)); // revoxelize mesh on GPU
lbm.run(lbm_dt); // run dt time steps
propellers->rotate(float3x3(float3(0.9659f, 0.0f, 0.2588f), domega)); // rotate mesh

The propeller does not follow the given axis, how do I solve it?Thank you very much.
The geometric model is schematically shown below
image

@ProjectPhysX ProjectPhysX added the setup question question for a specific setup label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup question question for a specific setup
Projects
None yet
Development

No branches or pull requests

2 participants