File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 146146
147147% guess for parameters
148148
149- % NT = 500; %400 % Ammount of nodes inside the bubble (>=500 is a good to start)
150- % NTM = 500; %20 % Ammount of nodes outside the bubble (>=10 is a good to start)
149+ % NT = 500; %400 % amount of nodes inside the bubble (>=500 is a good to start)
150+ % NTM = 500; %20 % amount of nodes outside the bubble (>=10 is a good to start)
151151% Pext_type = 'IC'; % Type of external forcing. Refer to RP_Cav
152152
153153% find Req and calculate initial partial pressure needed parameters
187187 D_Matrix_Tm DD_Matrix_Tm x0_true N
188188%}
189189% ***************************************
190- % Extract viscoelastic parameters from stuct
190+ % Extract viscoelastic parameters from struct
191191G = visco_params .G ;
192192G1 = visco_params .G1 ;
193193mu = visco_params .mu ;
298298 w_star = Pext_Amp_Freq(3 )*t0 ;
299299end
300300
301- % Need to modify intial conditions for the Out-of-Equilibrium Rayleigh
302- % Collpase :
301+ % Need to modify initial conditions for the Out-of-Equilibrium Rayleigh
302+ % Collapse :
303303if strcmp(Pext_type ,' IC' )
304304 Pv = Pvsat(1 * T_inf )/P_inf ;
305305 P0_star = Pext_Amp_Freq(1 )/P_inf + Cgrad * Pvsat(1 * T_inf )/P_inf ;
306- % Need to recalculate intital concentration
306+ % Need to recalculate initial concentration
307307 theta = Rv_star / Ra_star *(P0_star - Pv )/Pv ; % mass air / mass vapor
308308 C0 = 1 /(1 + theta );
309309
314314 REq = Req ;
315315 % REq = 1; %removed 6/15/16 by Jon
316316 C0 = C0 * ones(1 ,NT );
317- % U0_star = -1*(1-P0_star)/(C_star); %Intitial velocity due to shockwave
317+ % U0_star = -1*(1-P0_star)/(C_star); %Initial velocity due to shockwave
318318 U0_star = 0 ;
319319
320320 if sls == 1 || linkv == 1
Original file line number Diff line number Diff line change 9090 xf(3 ) = log(xf(3 ));
9191
9292 % Nested function; ODE Solver calls to march governing equations in time
93- % This function has acess to all parameters above
93+ % This function has access to all parameters above
9494
9595 function dxdt = bubble(t ,x )
9696 % Break x vector into indv. values
531531 end
532532 % *************************************************************************
533533
534- % Other nested functions used to carry out repetetive calculations
534+ % Other nested functions used to carry out repetitive calculations
535535 % throughout the code
536536 function Tw = TW(Tauw )
537- % calculates the temperature at the bubble wall as a fuction of \tau
537+ % calculates the temperature at the bubble wall as a function of \tau
538538 Tw = (A_star - 1 + sqrt(1 + 2 * Tauw * A_star )) / A_star ;
539539 end
540540
You can’t perform that action at this time.
0 commit comments