Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2011-09-08 12:04:28 +01:00

View File

@ -113,15 +113,13 @@ void Foam::SRFFreestreamVelocityFvPatchVectorField::updateCoeffs()
scalar theta = time*mag(srf.omega().value()); scalar theta = time*mag(srf.omega().value());
refValue() = refValue() =
//cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_) cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_)
UInf_
- srf.velocity(patch().Cf()); - srf.velocity(patch().Cf());
// Set the inlet-outlet choice based on the direction of the freestream // Set the inlet-outlet choice based on the direction of the freestream
//valueFraction() = 1.0 - pos(refValue() & patch().Sf()); valueFraction() = 1.0 - pos(refValue() & patch().Sf());
//mixedFvPatchField<vector>::updateCoeffs(); mixedFvPatchField<vector>::updateCoeffs();
inletOutletFvPatchVectorField::updateCoeffs();
} }