Hi Everyone
when i look at th
Hi Everyone
when i look at the MRFZone.C,i have some question about the member function void Foam::MRFZone::correctBoundaryVelocity ..... forAll(patchLabels_, i) { U.boundaryField()[patchLabels_[i]] == (Omega ^ (mesh_.Cf().boundaryField()[patchLabels_[i]] - origin)); } could you please tell me, what is the "==" doing here?and what is the mean of that. for example if a patch is inlet,which is fixedValue in velocity.what will this function do with the inlet ?and what should this function do with the inlet ? change the U to the Omega^R or add Omega^R to U? i guess the function should add Omega^R to U,but here it will change to Omega^R.is that right? thanks wayne |
Hi
in my calculation,it loo
Hi
in my calculation,it looks like that this function modify the U.boudaryfiedl()[patchLabels[i]] to the (Omega ^ (mesh_.Cf().boundaryField()[patchLabels_[i]] - origin)) at all patch.so take point at inlet for example,if the velocity inlet is fixed valued as [1 0 0]m/s,and rotation speed at that point is [0 0 1]m/s after the function the speed at the point will be [0 0 1]m/s.but what I think it should be [1 0 1]m/s for the U_absolute = C_relative +W_rotation could anybody help? wayne |
All times are GMT -4. The time now is 11:09. |