deepblue17 
July 18, 2009 06:20 
rotationVelocity in rotatingTotalPressure and SRF
Hello,
I think the computation of the rotationVelocity in rotatingTotalPressure and SRF could be simplified. The piece of code is:
Code:
vector axisHat = omega_/mag(omega_);
vectorField rotationVelocity =
omega_ ^ (patch().Cf()  axisHat*(axisHat & patch().Cf()));
In mathematical formulation this yields to:
Reformulation of the right term:
This reduces the computation of the rotationVelocity to:
or in C++
Code:
vectorField rotationVelocity = omega_ ^ patch().Cf();
