mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user