Skip to content
Snippets Groups Projects
Commit b3b650fa authored by graham's avatar graham Committed by andy
Browse files

Added free stream velocity components to tangential velocities.

parent 607e9e53
Branches
Tags
No related merge requests found
...@@ -367,6 +367,8 @@ void Foam::FreeStream<CloudType>::inflow() ...@@ -367,6 +367,8 @@ void Foam::FreeStream<CloudType>::inflow()
rndGen.GaussNormal()*t1 rndGen.GaussNormal()*t1
+ rndGen.GaussNormal()*t2 + rndGen.GaussNormal()*t2
) )
+ (t1 & faceVelocity)*t1
+ (t2 & faceVelocity)*t2
+ mostProbableSpeed*uNormal*n; + mostProbableSpeed*uNormal*n;
scalar Ei = cloud.equipartitionInternalEnergy scalar Ei = cloud.equipartitionInternalEnergy
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment