Rotating Mesh around Local Axis
I'm running some external aerodynamic CFD studies on a Formula Student car as part of my thesis, and I want to simulate wheel movement. However, since the wheels are not perpendicular to the ground, they have some camber and toe angles, I cannot rotate them around the y axis, so how would I go about defining an axis aligned with the wheel orientation. I do not know how hard this would be to implement as I am just starting out using OpenFOAM.
so I did some digging and found the rotateMesh command, and if I read the documentation correctly, I would split my mesh into 5 parts - 4 wheels and the body. Then use rotateMesh (initial orientation where 1 = 90deg?) (final orienation) -time :1000
which should rotate the wheel till t=1000?
figured it out, you split the mesh into 5 parts, wheels and body. Then use a rotatingWallVelocity boundary conditions for them. However, the axis is labelled as
axis (0 0 1);
Which would rotate about the z axis, if I used (0.5 0.5 0); instead (or is this just a simple 1 is on, 0 is off), would that rotate the mesh 45 degrees to the x and y axis then?
If so, and I wanted to say turn the wheels 25 degrees and run them, I'd have it (0.278 0.722 0), although probably best picking something that divides into 90 better.
|All times are GMT -4. The time now is 19:00.|