Skip to content
Snippets Groups Projects
Commit 9574099a authored by andy's avatar andy
Browse files

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

parents 1c1a9836 c13aaf90
Branches
Tags
No related merge requests found
......@@ -113,15 +113,13 @@ void Foam::SRFFreestreamVelocityFvPatchVectorField::updateCoeffs()
scalar theta = time*mag(srf.omega().value());
refValue() =
//cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_)
UInf_
cos(theta)*UInf_ + sin(theta)*(srf.axis() ^ UInf_)
- srf.velocity(patch().Cf());
// 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();
inletOutletFvPatchVectorField::updateCoeffs();
mixedFvPatchField<vector>::updateCoeffs();
}
......
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