File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/fvOptions/sources/derived/rotorDiskSource Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22 ========= |
33 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
44 \\ / O peration | Website: https://openfoam.org
5- \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
5+ \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
66 \\/ M anipulation |
77-------------------------------------------------------------------------------
88License
@@ -384,7 +384,7 @@ void Foam::fv::rotorDiskSource::createCoordinateSystem()
384384
385385 const scalar sumArea = gSum (area_ );
386386 const scalar diameter = Foam ::sqrt (4.0 * sumArea /mathematical ::pi );
387- Info << " Rotor gometry :" << nl
387+ Info << " Rotor geometry :" << nl
388388 << " - disk diameter = " << diameter << nl
389389 << " - disk area = " << sumArea << nl
390390 << " - origin = " << coordSys_ .origin () << nl
Original file line number Diff line number Diff line change 22 ========= |
33 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
44 \\ / O peration | Website: https://openfoam.org
5- \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
5+ \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
66 \\/ M anipulation |
77-------------------------------------------------------------------------------
88License
@@ -49,6 +49,7 @@ void Foam::fv::rotorDiskSource::calculate
4949 scalar liftEff = 0.0 ;
5050 scalar AOAmin = great ;
5151 scalar AOAmax = - great ;
52+ scalar powerEff = 0.0 ;
5253
5354 forAll (cells_ , i )
5455 {
@@ -127,6 +128,7 @@ void Foam::fv::rotorDiskSource::calculate
127128 // Accumulate forces
128129 dragEff += rhoRef_ * localForce .y ();
129130 liftEff += rhoRef_ * localForce .z ();
131+ powerEff += rhoRef_ * localForce .y () * radius * omega_ ;
130132
131133 // Transform force from local coning system into rotor cylindrical
132134 localForce = invR_ [i ] & localForce ;
@@ -151,6 +153,7 @@ void Foam::fv::rotorDiskSource::calculate
151153 Info << type () << " output:" << nl
152154 << " min/max(AOA) = " << radToDeg (AOAmin ) << ", "
153155 << radToDeg (AOAmax ) << nl
156+ << " Effective power = " << powerEff << nl
154157 << " Effective drag = " << dragEff << nl
155158 << " Effective lift = " << liftEff << endl ;
156159 }
You can’t perform that action at this time.
0 commit comments