210 likes | 282 Views
%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix'];
E N D
%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix StructureIndex=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24] %Vasim EPAC08 24cell structure
Frequencies = 1.0e+010 * 1.819200000000000 1.822500000000000 1.825700000000000 1.828700000000000 1.831600000000000 1.834400000000000 1.835000000000000 1.838000000000000 1.841700000000000 1.845100000000000 1.848700000000000 1.853200000000000 ans = 12 Elapsed time is 1311.504384 seconds.
%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix StructureIndex=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
Frequencies = 1.0e+010 * 1.754200000000000 1.754700000000000 1.755600000000000 1.756800000000000 1.758300000000000 1.760200000000000 1.762400000000000 1.765000000000000 1.768000000000000 1.771300000000000 1.774900000000000 1.778900000000000 1.783200000000000 1.787800000000000 1.792700000000000 1.797700000000000 1.802800000000000 1.807900000000000 1.812800000000000 1.817400000000000 1.821300000000000 1.824300000000000 1.826100000000000 1.826700000000000 ans = 24 Elapsed time is 715.705902 seconds.
%Cascade_Vasim_2b format long tic %Set structure Vasim24Cell=1 if Vasim24Cell==1 %HFSSLibary=['Tesla_FiniteConductivitySweep_Corrrected_L';'Tesla_FiniteConductivitySweep_Corrrected_M';'Tesla_FiniteConductivitySweep_Corrrected_R'] %HFSSLibary=['WNW_Cascade_1cell_WNW_single_CellFix']; HFSSLibary=['Vasim_Cell01Fix';'Vasim_Cell02Fix';'Vasim_Cell03Fix';'Vasim_Cell04Fix';'Vasim_Cell05Fix';'Vasim_Cell06Fix';'Vasim_Cell07Fix';'Vasim_Cell08Fix';'Vasim_Cell09Fix';'Vasim_Cell10Fix';'Vasim_Cell11Fix';'Vasim_Cell12Fix';'Vasim_Cell13Fix';'Vasim_Cell14Fix';'Vasim_Cell15Fix';'Vasim_Cell16Fix';'Vasim_Cell17Fix';'Vasim_Cell18Fix';'Vasim_Cell19Fix';'Vasim_Cell20Fix';'Vasim_Cell21Fix';'Vasim_Cell22Fix';'Vasim_Cell23Fix';'Vasim_Cell24Fix'] %HFSSLibary=['Vasim_Cell01Fix2'] LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Vasim_Cascade_24Cell' %user defined file name to which the matrix data and selected plots will be saved using the user defined prefix StructureIndex=[1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4]
Frequencies = 1.0e+010 * 1.764300000000000 1.764700000000000 1.765300000000000 1.766100000000000 1.766800000000000 1.769700000000000 1.774700000000000 1.776400000000000 1.778700000000000 1.781400000000000 1.784200000000000 1.789500000000000 1.793300000000000 1.797100000000000 1.800300000000000 1.801300000000000 1.805700000000000 1.810000000000000 1.813300000000000 1.819700000000000 1.823500000000000 1.826800000000000 1.829400000000000 1.831100000000000 ans = 24 Elapsed time is 765.604802 seconds.
Old calculation TESLA dispersion curve data • Old calculation – here we are comparing analytical dispersion curve obtained from HFSSv11 S matrix data with linear elements (using intertpolation sweep 1MHz steps) with HFSSv8.5 eigen mode solver zero order elements • This calculation is post LINAC08 and uses interpolation sweep 17-24GHz sweep meshed at 36GHz, Max Solutions 50, Error 0.5%, Minimum steps 2, Subset 1. • Here eigen values from HFSSv8.5 have been extrapolated to the infinite mesh values
Tesla_Mono_S_Dispersion_2 clear all close all format long tic ModeLook=1 %HFSSLibary=['Linac08_TeslaMid_S_Mono'] %HFSSLibary=['Linac08_TeslaMid_S_Mono_renormalised'] %%HFSSLibary=['Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix'] %HFSSLibary=['Linac08_TeslaMid_S_Mono_3_Renormalise_Fix'] HFSSLibary=['Tesla_Cavity_MidCellM_S_Sweep_Mono_Int_Fix']
New TESLA dispersion curve data rough calculation • New calculation – here we are comparing analytical dispersion curve obtained from HFSSv11 S matrix data with linear elements (using intertpolation sweep 1MHz steps) with HFSSv11 eigen mode solver using linear elements • This calculation is post LINAC08 and uses interpolation sweep 17-24GHz sweep meshed at 36GHz, Max Solutions 50, Error 0.5%, Minimum steps 2, Subset 1. • Max error at f0 of 0.7MHz • Note eigen mode values are taken as is from HFSSv11 – these are not the infinite mesh values…
%Tesla_Mono_S_Dispersion_3_HFSSv11eigen clear all close all format long tic ModeLook=1 %HFSSLibary=['Linac08_TeslaMid_S_Mono'] %HFSSLibary=['Linac08_TeslaMid_S_Mono_renormalised'] %%HFSSLibary=['Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix'] %HFSSLibary=['Linac08_TeslaMid_S_Mono_3_Renormalise_Fix'] HFSSLibary=['Tesla_Cavity_MidCellM_S_Sweep_Mono_Int_Fix']
New WNW dispersion curve data Vasim CLIC cell (Post LINAC08) • New calculation – here we are comparing analytical dispersion curve obtained from using KN7c, The analytical S matrix calculation and the eigen mode solution from HFSSv11 using linear elements. • Max error at f0 of 0.7MHz • Note eigen mode values have been extrapolated to infinite mesh values
%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS3 clear all close all fignow=1; filter=0 uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 %Z0=1 Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transition mmode=10%46 %setup number of modes in narrow region for a WN transition ModeLook=1 aaT=2.6191/1000 bbT=9.7832/1000 ggT=3.564797/1000 ttT=0.6010/1000 L=(ttT+ggT+ggT+ttT)/2 rpoint=0 fstart=11.853e9%11.7e9 fend=11.984e9 fstep=1e6 nfstep=round((fend-fstart)/fstep)+1
New WNW dispersion curve data Vasim CLIC cell – HFSS S matrix data and eigen mode at infinite mesh
%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS4 clear all close all HFSSLibary=['LINAC08_S_Matrix_Dispersion_DiscreteRoughFix'] ModeLook=1 fignow=1; filter=0 uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 %Z0=1 Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transition mmode=10%46 %setup number of modes in narrow region for a WN transition
New WNW dispersion curve data Vasim CLIC cell – HFSS S matrix data and eigen mode raw data
%HFSSv11 Phase_HFSS=[0,30,60,90,120,150,180] f_HFSS=[11.851,11.86,11.8836,11.9153,11.9448,11.9710,11.9796] %HFSSv11 infinite %%Phase_HFSS=[0,30,60,90,120,150,180] %%f_HFSS=[11.853,11.862,11.885,11.9175,11.9500,11.9725,11.9818]
%Dispersion_Beta_Xband_fplot_Stry_Gamma_TryBreak_VasimHFSS5 clear all close all HFSSLibary=['LINAC08_S_Matrix_Dispersion_DiscreteRoughFix'] ModeLook=1 fignow=1; filter=0 uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 %Z0=1 Z0=sqrt(uo/eo) %Set up number of modes - note this must be set at the minimum iris point transition i.e. the lowest a/b ratio nmode=30%100 %setup number of modes in Wide region for a WN transition mmode=10%46 %setup number of modes in narrow region for a WN transition