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

This commit is contained in:
mattijs
2011-08-26 16:03:18 +01:00
164 changed files with 115270 additions and 14 deletions

View File

@ -129,8 +129,8 @@ void Foam::SRFVelocityFvPatchVectorField::updateCoeffs()
return;
}
// If relative, include the effect of the SRF
if (relative_)
// If not relative to the SRF include the effect of the SRF
if (!relative_)
{
// Get reference to the SRF model
const SRF::SRFModel& srf =
@ -141,7 +141,8 @@ void Foam::SRFVelocityFvPatchVectorField::updateCoeffs()
operator==(-SRFVelocity + inletValue_);
}
// If absolute, simply supply the inlet value as a fixed value
// If already relative to the SRF simply supply the inlet value as a fixed
// value
else
{
operator==(inletValue_);