Skip to content
Snippets Groups Projects
Commit 02190c27 authored by sp89hili's avatar sp89hili
Browse files

Pu_add Error message if no Vogel parameters

parent 5028366e
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ switch T.method ...@@ -26,7 +26,7 @@ switch T.method
T.eta_0 = T.eta_00 + T.alpha_eta.*T_Oil; T.eta_0 = T.eta_00 + T.alpha_eta.*T_Oil;
T.nu_38 = T.nu_0 + T.alpha_nu.*38; T.nu_38 = T.nu_0 + T.alpha_nu.*38;
case 'Vogel' case 'Vogel'
%%% TODO: Was wenn Vogelparameter nicht gegeben? %%% assert(~any(isnan([S.B S.C S.K])),'Vogel-Parameters not given for the selected lubricant. Choose method.T = ''linear''')
T.eta_0 = S.K .* exp(S.B ./ (T_Oil + S.C)); T.eta_0 = S.K .* exp(S.B ./ (T_Oil + S.C));
eta_38 = S.K .* exp(S.B ./ (40 + S.C)); eta_38 = S.K .* exp(S.B ./ (40 + S.C));
T.nu_38 = eta_38 ./ T.rho(38); T.nu_38 = eta_38 ./ T.rho(38);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment