Skip to content
Snippets Groups Projects
Verified Commit 4b24a542 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

chore(bemt): add warning for coax solvers

parent ab5bc9f7
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,13 @@ function bemt(OpRot, Mod)
for i = 2:length(OpRot)
% Solves BEMT equations for the rotor using the true distribution of external velocity
OpRot(i).ElPerf.updateupstreamvel(OpRot(i - 1));
if strcmpi(Mod.solver, 'indvel')
OpRot(i).ElPerf.updateupstreamvel(OpRot(i - 1));
else
warning('Rotare:Solvers:CoaxialNotSupported', ...
['Coaxial rotors are only supported with indvel at the moment.'...
'Additional rotors are calculated as if they were isolated.\n']);
end
bemtsinglerot(OpRot(i), Mod);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment