@@ -421,26 +421,52 @@ def Time_Step(open_filename=None, frame=-1, d_new=0.31325, Ra_new = 3750.00):
421421 # Tau = 1./15.;
422422 # Pr = 1.
423423
424- Ra = 2280.0
425- d = 0.31325
426- Tau = 1.
427- Pr = 1.
428- Ra_s = 0.
424+ # Ra = 2280.0
425+ # d = 0.31325
426+ # Tau = 1.
427+ # Pr = 1.
428+ # Ra_s = 0.
429429
430430 # Ra = 2360.0
431431 # d = 0.353
432432 # Tau = 1.
433433 # Pr = 1.
434434 # Ra_s = 0.
435435
436+ # N_fm = 48;
437+ # N_r = 24;
438+
439+ # # ~~~~~# L = 7 Gap #~~~~~~~~~#
440+ # Γ = 6
441+ # R_1 = 1
442+ # d = (R_1 * np.pi)/Γ
443+ # Ra = 8700 # steady
444+ # Ra = 4000 # hopf
445+
446+ # Ra_s = 400.
447+ # Tau = 1./15.
448+ # Pr = 1.
449+
450+ # N_fm = 128
451+ # N_r = 20
436452
437- N_fm = 48 ;
438- N_r = 24 ;
439453
440- N_fm_n = 48 ;
441- N_r_n = 24 ;
454+ # ~~~~~# L = 21 Gap #~~~~~~~~~#
455+ Γ = 20
456+ R_1 = 1
457+ d = (R_1 * np .pi )/ Γ
458+ Ra = 8000 # steady
459+ Ra = 3000 # hopf
460+
461+ Ra_s = 400.
462+ Tau = 1. / 15.
463+ Pr = 1.
442464
465+ N_fm = 256
466+ N_r = 20
443467
468+ N_fm_n = N_fm
469+ N_r_n = N_r
444470
445471 # ~~~~~~~~~ Random Initial Conditions ~~~~~~~~~~~~~~~~
446472 N = (N_r - 1 )* N_fm ;
@@ -486,7 +512,7 @@ def Time_Step(open_filename=None, frame=-1, d_new=0.31325, Ra_new = 3750.00):
486512 except :
487513 filename = uniquify ('TimeStep_0.h5' )
488514
489- kwargs = {"Ra" :Ra_new ,"Ra_s" :Ra_s ,"Tau" :Tau ,"Pr" :Pr ,"d" :d_new ,"N_fm" :N_fm_n ,"N_r" :N_r_n }
515+ kwargs = {"Ra" :Ra ,"Ra_s" :Ra_s ,"Tau" :Tau ,"Pr" :Pr ,"d" :d ,"N_fm" :N_fm_n ,"N_r" :N_r_n }
490516 X_new = _Time_Step (X ,** kwargs ,save_filename = filename ,start_time = 0 ,Total_time = 50 ,dt = 0.001 ,symmetric = False ,linear = False ,Verbose = True );
491517
492518 return filename ;
@@ -1265,6 +1291,13 @@ def _plot_bif(filename, point = -1):
12651291 # %%
12661292 print ("Initialising the code for running..." )
12671293
1294+ # %%
1295+ from Plot_Tools import Plot_Time_Step , Cartesian_Plot , Energy
1296+ filename = Time_Step (open_filename = 'blah' )
1297+ Plot_Time_Step (filename , logscale = True , plotting = True )
1298+ Cartesian_Plot (filename , frame = - 1 , Include_Base_State = False )
1299+ Energy (filename , frame = - 1 )
1300+
12681301 # %%
12691302 file = "Continuationl11Ras150_1.h5"
12701303 Continuation (open_filename = file ,frame = 25 )
0 commit comments