1+ fig_tend = 30 ;
2+ tickrange= [0 : 5 : fig_tend ];
3+ lR = length(R );
4+ lr_max = 100 ;
5+ lr_N = 200 ;
6+ lr_length = 4 ;
7+ r_coord = ones(lR ,lr_N ).*logspace(-0.5 ,lr_length ,lr_N );
8+ % calculating the shear
9+ varsigmadot_r = f_gammadot_r(r_coord ,R ,U ,lR ,lr_N );
10+ f_r = sf_carreau(v_nc ,v_lambda ,varsigmadot_r );
11+ [xcon ,ycon ] = meshgrid(t ,r_coord(1 ,: ));
12+ ycon = log10(ycon );
13+ clevels = 50 ;
14+ feps_r = f_f_filter(f_r ,lR ,lr_N );
15+ tau_r = 2 *(feps_r ./ DRe + 1 ./ Re8 ).*varsigmadot_r ;
16+ min_tau_r = min(min(tau_r ))
17+ max_tau_r = max(max(tau_r ))
18+ ntau_r = tau_r / max_tau_r ;
19+
20+ % f contour figure
21+ figure(5 )
22+ hold on ;
23+ xlabel(' $t / t_c$' , ' Interpreter' , ' Latex' , ' FontSize' , 20 );
24+ ylabel(' log$_{10}(\it{r}/R_o)$' ,' Interpreter' ,' Latex' ,' FontSize' ,24 );
25+ colormap jet ;
26+ cbar = colorbar ;
27+ cbar.Label.String = ' $m(\dot{\varsigma})$' ;
28+ set(cbar ,' TickLabelInterpreter' ,' latex' );
29+ pos = get(cbar ,' Position' );
30+ cbar.Label.Position = [pos(1 ) - 0.04 ];
31+ cbar.Label.Rotation = 0 ;
32+ cbar.Label.Interpreter = ' latex' ;
33+ caxis([0 1 ]);
34+ xlim([0 fig_tend ]);
35+ xticks(tickrange )
36+ set(gcf ,' color' ,' w' );
37+ set(gca ,' FontName' ,' Times' ,' FontSize' ,20 );
38+ set(gca ,' TickLabelInterpreter' ,' latex' )
39+ xa = gca ;
40+ xa.TickLength = [.015 .015 ];
41+ xa.LineWidth = 1.5 ;
42+ box on ;
43+ plot(t , log10(R ),lm ,' LineWidth' ,3 );
44+ contourf(xcon ' ,ycon ' ,f_r ,clevels ,' edgecolor' ,' none' )
45+ saveas(gcf ,' ./figs/baseline/fcon_T' ,' png' )
46+
47+ % shear stress contour figure
48+ figure(6 )
49+ hold on ;
50+ xlabel(' $t / t_c$' , ' Interpreter' , ' Latex' , ' FontSize' , 20 );
51+ ylabel(' log$_{10}(\it{r}/R_o)$' ,' Interpreter' ,' Latex' ,' FontSize' ,24 );
52+ colormap jet ;
53+ cbar = colorbar ;
54+ cbar.Label.String = ' $\t au_{rr}/\mathrm{max}(\t au_{rr})$' ;
55+ set(cbar ,' TickLabelInterpreter' ,' latex' );
56+ pos = get(cbar ,' Position' );
57+ cbar.Label.Position = [1.5 * pos(1 ) - 1.2 ];
58+ cbar.Label.Rotation = 0 ;
59+ cbar.Label.Interpreter = ' latex' ;
60+ caxis([-1 1 ])
61+ xlim([0 fig_tend ]);
62+ xticks(tickrange )
63+ set(gcf ,' color' ,' w' );
64+ set(gca ,' FontName' ,' Times' ,' FontSize' ,20 );
65+ set(gca ,' TickLabelInterpreter' ,' latex' )
66+ xa = gca ;
67+ xa.TickLength = [.015 .015 ];
68+ xa.LineWidth = 1.5 ;
69+ box on ;
70+ plot(t , log10(R ),lm ,' LineWidth' ,3 );
71+ contourf(xcon ' ,ycon ' ,ntau_r ,clevels ,' edgecolor' ,' none' );
72+ saveas(gcf ,' ./figs/baseline/taucon_T' ,' png' )
0 commit comments