Skip to content
Snippets Groups Projects
Commit 94951939 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

Merge remote-tracking branch 'origin/develop' into develop

parents b053c36a 816674e9
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -55,11 +55,11 @@ void Foam::fv::actuationDiskSource::addActuationDiskAxialInertialResistance ...@@ -55,11 +55,11 @@ void Foam::fv::actuationDiskSource::addActuationDiskAxialInertialResistance
reduce(upU, minOp<vector>()); reduce(upU, minOp<vector>());
reduce(upRho, minOp<scalar>()); reduce(upRho, minOp<scalar>());
scalar T = 2.0*upRho*diskArea_*mag(upU)*a*(1 - a); scalar T = 2.0*upRho*diskArea_*sqr(mag(upU & uniDiskDir))*a*(1 - a);
for (const label celli : cells) for (const label celli : cells)
{ {
Usource[celli] += ((Vcells[celli]/V())*T*E) & upU; Usource[celli] += ((Vcells[celli]/V())*T)*uniDiskDir;
} }
} }
......
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