Added free stream velocity components to tangential velocities.

This commit is contained in:
graham
2009-04-28 13:17:37 +01:00
parent 4fdcd3ef7b
commit 3c0e9e62f3

View File

@ -367,6 +367,8 @@ void Foam::FreeStream<CloudType>::inflow()
rndGen.GaussNormal()*t1
+ rndGen.GaussNormal()*t2
)
+ (t1 & faceVelocity)*t1
+ (t2 & faceVelocity)*t2
+ mostProbableSpeed*uNormal*n;
scalar Ei = cloud.equipartitionInternalEnergy