170 likes | 290 Views
Rough calculation HFSSv10. Only had enough time during LINAC08 to do a quick calculation using HFSSv10 for the analytical S modematching formula applied to a curved cavity rather than a sharp NWN transition
E N D
Rough calculation HFSSv10 • Only had enough time during LINAC08 to do a quick calculation using HFSSv10 for the analytical S modematching formula applied to a curved cavity rather than a sharp NWN transition • HFSSv10 is limited in its mesher (amongst other things) – it cannot use a user defined gradiated rounded surface i.e. “segment number” does not exist in HFSSv10, so only rough shapes can be made. Here simulation calculated in HFSSv10; Using Discrete sweep (Fast sweep failed); segment number=0; 10MHz sweep step; First order elements; 12676 mesh elements; 0.015% convergence; time 2 hours 44mins
Remodelled and recalculated in HFSSv11 • HFSSv11 has a better mesher i.e. “segment number” is a user definable quantity • Recalculated S matrix for a TESLA middle cell using HFSSv11 • Renormalised with respect to 50Ohms on the ports • Converted output file for processing
Better Geometry Finer mesh HFSSv11 Here simulation calculated in HFSSv11; Using Discrete sweep (Fast sweep failed); segment number=10; 1MHz sweep step; First order elements; xxxxx mesh elements; xxxx convergence; time~6days for sweep…. Data from this run has been lost due to an HFSS crash…. All that remains is the exported S matrix data
Comparison to HFSSv8.5 eigen calculation • Comparision with HFSSv8.5 revels 10MHz shift in dispersion curve using default First order elements in HFSSv11
%Tesla_Mono_S_Dispersion_1 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'] %Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix.m LibSize=size(HFSSLibary,1) %size of the HFSS libary CascadeName='Tesla_Mono_Dispersion' %user defined file name to which the matr
%Tesla_Mono_S_Dispersion_2_HFSSv85 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'] %Linac08_TeslaMid_S_Sweep_Mono_Renormalise_Fix.m %Linac08_TeslaMid_S_Mono_3_Renormalise_Fix %LibSize=size(HFSSLibary,1) %size of the HFSS libary S11Name='S11renormaliseHFSSv85' S21Name='S21renormaliseHFSSv85'
Segmented Tesla simulation 20 segments • The geometry is made up of a series of interconnected NW and WN segments, in the picture below the “open blue circles” are the start of a transition and the “green dots” are the end of the segments. • 20 segments for a TESLA middle cell is the roughest approximation that can be made Number of segments 20 Tesla geometry – middle cell
Computation time for 20 segments 107seconds, 20nmodes and 20mmodes • Sweep range 1GHz – 1.5GHz at 0.01Ghz steps • Results have not been normalised and there is no power conservation • Band located between 1.27 and 1.29GHz – a bit lower than what we expect for the TESLA structure.
%Tesla_WNW_Mid_Auto_Cascade_2 clear all close all tic format long nmode=20%20 mmode=20%10 rpoint=0 ModeLook=1 filter=1 Z0=1 fignow=1; uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 fstart=1e9%1.3e9 fstep=0.01e9 nfstep=50 fend=fstart+fstep*nfstep fnow=fstart; %Set up points to be used in each section regarding the z and r directions %for plotting purposes. numberzpoints=300 nrpoint=100 %Setup geometric parameters for a TESLA mide cell Tesla_aL=12/1000 Tesla_aR=Tesla_aL Tesla_bL=19/1000 Tesla_bR=Tesla_bL Tesla_LL=57.7/1000 Tesla_LR=57.7/1000 Tesla_Rc=42/1000 Tesla_Re=103.3/1000 Tesla_RiL=35/1000 Tesla_RiR=Tesla_RiL %Solved angles Theta1=69.467 Theta2=76.691 WNTeslaNumberM=20
Segmented Tesla simulation 100 segments • The geometry is made up of a series of interconnected NW and WN segments, in the picture below the “open blue circles” are the start of a transition and the “green dots” are the end of the segments. Number of segments 100 Tesla geometry – middle cell
Computation time for 100 segments 534seconds, 20nmodes and 20mmodes • Sweep range 1GHz – 1.5GHz at 0.01Ghz steps • Results have not been normalised and there is no power conservation • Band located between 1.28 and 1.3GHz – consistant with what we expect for the TESLA structure
%Tesla_WNW_Mid_Auto_Cascade_2 clear all close all tic format long nmode=20%20 mmode=20%10 rpoint=0 ModeLook=1 filter=1 Z0=1 fignow=1; uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 fstart=1e9%1.3e9 fstep=0.01e9 nfstep=50 fend=fstart+fstep*nfstep fnow=fstart; %Set up points to be used in each section regarding the z and r directions %for plotting purposes. numberzpoints=300 nrpoint=100 %Setup geometric parameters for a TESLA mide cell Tesla_aL=12/1000 Tesla_aR=Tesla_aL Tesla_bL=19/1000 Tesla_bR=Tesla_bL Tesla_LL=57.7/1000 Tesla_LR=57.7/1000 Tesla_Rc=42/1000 Tesla_Re=103.3/1000 Tesla_RiL=35/1000 Tesla_RiR=Tesla_RiL %Solved angles Theta1=69.467 Theta2=76.691 WNTeslaNumberM=100%2
Segmented Tesla simulation 200 segments • The geometry is made up of a series of interconnected NW and WN segments, in the picture below the “open blue circles” are the start of a transition and the “green dots” are the end of the segments. Number of segments 200 Tesla geometry – middle cell
Computation time for 200 segments 1070seconds, 20nmodes and 20mmodes • Sweep range 1GHz – 1.5GHz at 0.01Ghz steps • Results have not been normalised and there is no power conservation • Band located between 1.28 and 1.3GHz – consistant with what we expect for the TESLA structure
%Tesla_WNW_Mid_Auto_Cascade_2 clear all close all tic format long nmode=20%20 mmode=20%10 rpoint=0 ModeLook=1 filter=1 Z0=1 fignow=1; uo=4*pi*(1E-7) eo=8.854*(1E-12) c2=1/sqrt(uo*eo) c=2.99792458*1e8 fstart=1e9%1.3e9 fstep=0.01e9 nfstep=50 fend=fstart+fstep*nfstep fnow=fstart; %Set up points to be used in each section regarding the z and r directions %for plotting purposes. numberzpoints=300 nrpoint=100 %Setup geometric parameters for a TESLA mide cell Tesla_aL=12/1000 Tesla_aR=Tesla_aL Tesla_bL=19/1000 Tesla_bR=Tesla_bL Tesla_LL=57.7/1000 Tesla_LR=57.7/1000 Tesla_Rc=42/1000 Tesla_Re=103.3/1000 Tesla_RiL=35/1000 Tesla_RiR=Tesla_RiL %Solved angles Theta1=69.467 Theta2=76.691 WNTeslaNumberM=200