You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 GPUlbm.run(lbm_dt); // run dt time stepspropellers->rotate(float3x3(float3(1.0f, 0.0f, 0.0f), domega)); // rotate meshToensurea15degreeangleofattackforthewing, Irotatedthewingandpropeller15degreesalongthey-axis. AtthispointIusethefollowing 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 GPUlbm.run(lbm_dt); // run dt time stepspropellers->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
The text was updated successfully, but these errors were encountered:
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:
The propeller does not follow the given axis, how do I solve it?Thank you very much.
![image](https://private-user-images.githubusercontent.com/160718220/314588607-13fdffe6-f7ef-4ff9-be5b-01ed2ee7b472.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0ODMyNjgsIm5iZiI6MTcyMDQ4Mjk2OCwicGF0aCI6Ii8xNjA3MTgyMjAvMzE0NTg4NjA3LTEzZmRmZmU2LWY3ZWYtNGZmOS1iZTViLTAxZWQyZWU3YjQ3Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOFQyMzU2MDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMTI0Mjk5ZTExN2UwZGVmN2EwMzAwZjdlZWJjNTdjMjA1NjQxOTVjMzQ4YmVlN2YyOTZlNTRhNmUyZDAyY2QzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.r65njijSKaeLoxaZYjID1SLT0t-JGri1b3Ot_8kdxcc)
The geometric model is schematically shown below
The text was updated successfully, but these errors were encountered: