Added new scripts to reproduce results from Hertkorn et.al.
This commit is contained in:
parent
4ccee92af1
commit
bb9f4a78bf
@ -1,26 +1,26 @@
|
|||||||
%% - Aspect Ratio: 2.8
|
%% - Labyrinth: N=4E5, as = 87ao
|
||||||
|
|
||||||
OptionsStruct = struct;
|
OptionsStruct = struct;
|
||||||
|
|
||||||
OptionsStruct.NumberOfAtoms = 5E5;
|
OptionsStruct.NumberOfAtoms = 4E5;
|
||||||
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
OptionsStruct.DipolarAzimuthAngle = 0;
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
OptionsStruct.ScatteringLength = 85;
|
OptionsStruct.ScatteringLength = 87;
|
||||||
|
|
||||||
AspectRatio = 2.8;
|
AspectRatio = 2.0;
|
||||||
HorizontalTrapFrequency = 125;
|
HorizontalTrapFrequency = 125;
|
||||||
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
OptionsStruct.TrapPotentialType = 'Harmonic';
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
OptionsStruct.NumberOfGridPoints = [128, 128, 64];
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
OptionsStruct.Dimensions = [18, 18, 18];
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
OptionsStruct.IncludeDDICutOff = true;
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
OptionsStruct.CutoffType = 'Cylindrical';
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
OptionsStruct.TimeStepSize = 0.001; % in s
|
OptionsStruct.TimeStepSize = 2E-3; % in s
|
||||||
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
OptionsStruct.TimeCutOff = 1E6; % in s
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
OptionsStruct.EnergyTolerance = 5E-10;
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
OptionsStruct.ResidualTolerance = 1E-05;
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
OptionsStruct.NoiseScaleFactor = 0.01;
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
@ -29,49 +29,7 @@ OptionsStruct.PlotLive = false;
|
|||||||
OptionsStruct.JobNumber = 0;
|
OptionsStruct.JobNumber = 0;
|
||||||
OptionsStruct.RunOnGPU = true;
|
OptionsStruct.RunOnGPU = true;
|
||||||
OptionsStruct.SaveData = true;
|
OptionsStruct.SaveData = true;
|
||||||
OptionsStruct.SaveDirectory = sprintf('./Results/Data_3D/AspectRatio%s', strrep(num2str(AspectRatio), '.', '_'));
|
OptionsStruct.SaveDirectory = './Results/Data_3D/BeyondSSD_Labyrinth';
|
||||||
options = Helper.convertstruct2cell(OptionsStruct);
|
|
||||||
clear OptionsStruct
|
|
||||||
|
|
||||||
sim = Simulator.DipolarGas(options{:});
|
|
||||||
pot = Simulator.Potentials(options{:});
|
|
||||||
sim.Potential = pot.trap();
|
|
||||||
|
|
||||||
%-% Run Simulation %-%
|
|
||||||
[Params, Transf, psi, V, VDk] = sim.run();
|
|
||||||
|
|
||||||
%% - Aspect Ratio: 3.7
|
|
||||||
|
|
||||||
OptionsStruct = struct;
|
|
||||||
|
|
||||||
OptionsStruct.NumberOfAtoms = 5E5;
|
|
||||||
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
|
||||||
OptionsStruct.DipolarAzimuthAngle = 0;
|
|
||||||
OptionsStruct.ScatteringLength = 85;
|
|
||||||
|
|
||||||
AspectRatio = 3.7;
|
|
||||||
HorizontalTrapFrequency = 125;
|
|
||||||
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
|
||||||
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
|
||||||
OptionsStruct.TrapPotentialType = 'Harmonic';
|
|
||||||
|
|
||||||
OptionsStruct.NumberOfGridPoints = [128, 128, 64];
|
|
||||||
OptionsStruct.Dimensions = [18, 18, 18];
|
|
||||||
OptionsStruct.IncludeDDICutOff = true;
|
|
||||||
OptionsStruct.CutoffType = 'Cylindrical';
|
|
||||||
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
|
||||||
OptionsStruct.TimeStepSize = 0.001; % in s
|
|
||||||
OptionsStruct.MinimumTimeStepSize = 1E-5; % in s
|
|
||||||
OptionsStruct.TimeCutOff = 1E6; % in s
|
|
||||||
OptionsStruct.EnergyTolerance = 5E-10;
|
|
||||||
OptionsStruct.ResidualTolerance = 1E-05;
|
|
||||||
OptionsStruct.NoiseScaleFactor = 0.01;
|
|
||||||
|
|
||||||
OptionsStruct.PlotLive = false;
|
|
||||||
OptionsStruct.JobNumber = 0;
|
|
||||||
OptionsStruct.RunOnGPU = true;
|
|
||||||
OptionsStruct.SaveData = true;
|
|
||||||
OptionsStruct.SaveDirectory = sprintf('./Results/Data_3D/AspectRatio%s', strrep(num2str(AspectRatio), '.', '_'));
|
|
||||||
options = Helper.convertstruct2cell(OptionsStruct);
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
clear OptionsStruct
|
clear OptionsStruct
|
||||||
|
|
||||||
|
125
Dipolar-Gas-Simulator/+Scripts/run_on_cluster_beyondSSD.m
Normal file
125
Dipolar-Gas-Simulator/+Scripts/run_on_cluster_beyondSSD.m
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
%% - SSD: N=1E5, as = 86ao
|
||||||
|
|
||||||
|
OptionsStruct = struct;
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfAtoms = 1E5;
|
||||||
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
|
OptionsStruct.ScatteringLength = 86;
|
||||||
|
|
||||||
|
AspectRatio = 2.0;
|
||||||
|
HorizontalTrapFrequency = 125;
|
||||||
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
|
OptionsStruct.TimeStepSize = 2E-3; % in s
|
||||||
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
|
|
||||||
|
OptionsStruct.PlotLive = false;
|
||||||
|
OptionsStruct.JobNumber = 0;
|
||||||
|
OptionsStruct.RunOnGPU = true;
|
||||||
|
OptionsStruct.SaveData = true;
|
||||||
|
OptionsStruct.SaveDirectory = './Results/Data_3D/BeyondSSD_SSD';
|
||||||
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
|
clear OptionsStruct
|
||||||
|
|
||||||
|
sim = Simulator.DipolarGas(options{:});
|
||||||
|
pot = Simulator.Potentials(options{:});
|
||||||
|
sim.Potential = pot.trap();
|
||||||
|
|
||||||
|
%-% Run Simulation %-%
|
||||||
|
[Params, Transf, psi, V, VDk] = sim.run();
|
||||||
|
|
||||||
|
%% - Labyrinth: N=4E5, as = 87ao
|
||||||
|
|
||||||
|
OptionsStruct = struct;
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfAtoms = 4E5;
|
||||||
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
|
OptionsStruct.ScatteringLength = 87;
|
||||||
|
|
||||||
|
AspectRatio = 2.0;
|
||||||
|
HorizontalTrapFrequency = 125;
|
||||||
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
|
OptionsStruct.TimeStepSize = 2E-3; % in s
|
||||||
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
|
|
||||||
|
OptionsStruct.PlotLive = false;
|
||||||
|
OptionsStruct.JobNumber = 0;
|
||||||
|
OptionsStruct.RunOnGPU = true;
|
||||||
|
OptionsStruct.SaveData = true;
|
||||||
|
OptionsStruct.SaveDirectory = './Results/Data_3D/BeyondSSD_Labyrinth';
|
||||||
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
|
clear OptionsStruct
|
||||||
|
|
||||||
|
sim = Simulator.DipolarGas(options{:});
|
||||||
|
pot = Simulator.Potentials(options{:});
|
||||||
|
sim.Potential = pot.trap();
|
||||||
|
|
||||||
|
%-% Run Simulation %-%
|
||||||
|
[Params, Transf, psi, V, VDk] = sim.run();
|
||||||
|
|
||||||
|
%% - Honeycomb: N=6E5, as = 88ao
|
||||||
|
|
||||||
|
OptionsStruct = struct;
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfAtoms = 6E5;
|
||||||
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
|
OptionsStruct.ScatteringLength = 88;
|
||||||
|
|
||||||
|
AspectRatio = 2.0;
|
||||||
|
HorizontalTrapFrequency = 125;
|
||||||
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
|
OptionsStruct.TimeStepSize = 2E-3; % in s
|
||||||
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
|
|
||||||
|
OptionsStruct.PlotLive = false;
|
||||||
|
OptionsStruct.JobNumber = 0;
|
||||||
|
OptionsStruct.RunOnGPU = true;
|
||||||
|
OptionsStruct.SaveData = true;
|
||||||
|
OptionsStruct.SaveDirectory = './Results/Data_3D/BeyondSSD_Honeycomb';
|
||||||
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
|
clear OptionsStruct
|
||||||
|
|
||||||
|
sim = Simulator.DipolarGas(options{:});
|
||||||
|
pot = Simulator.Potentials(options{:});
|
||||||
|
sim.Potential = pot.trap();
|
||||||
|
|
||||||
|
%-% Run Simulation %-%
|
||||||
|
[Params, Transf, psi, V, VDk] = sim.run();
|
@ -0,0 +1,83 @@
|
|||||||
|
%% - Aspect Ratio: 2.8
|
||||||
|
|
||||||
|
OptionsStruct = struct;
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfAtoms = 5E5;
|
||||||
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
|
OptionsStruct.ScatteringLength = 85;
|
||||||
|
|
||||||
|
AspectRatio = 2.8;
|
||||||
|
HorizontalTrapFrequency = 125;
|
||||||
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
|
OptionsStruct.TimeStepSize = 0.002; % in s
|
||||||
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
|
|
||||||
|
OptionsStruct.PlotLive = false;
|
||||||
|
OptionsStruct.JobNumber = 0;
|
||||||
|
OptionsStruct.RunOnGPU = true;
|
||||||
|
OptionsStruct.SaveData = true;
|
||||||
|
OptionsStruct.SaveDirectory = sprintf('./Results/Data_3D/AspectRatio%s', strrep(num2str(AspectRatio), '.', '_'));
|
||||||
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
|
clear OptionsStruct
|
||||||
|
|
||||||
|
sim = Simulator.DipolarGas(options{:});
|
||||||
|
pot = Simulator.Potentials(options{:});
|
||||||
|
sim.Potential = pot.trap();
|
||||||
|
|
||||||
|
%-% Run Simulation %-%
|
||||||
|
[Params, Transf, psi, V, VDk] = sim.run();
|
||||||
|
|
||||||
|
%% - Aspect Ratio: 3.7
|
||||||
|
|
||||||
|
OptionsStruct = struct;
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfAtoms = 5E5;
|
||||||
|
OptionsStruct.DipolarPolarAngle = deg2rad(0);
|
||||||
|
OptionsStruct.DipolarAzimuthAngle = 0;
|
||||||
|
OptionsStruct.ScatteringLength = 85;
|
||||||
|
|
||||||
|
AspectRatio = 3.7;
|
||||||
|
HorizontalTrapFrequency = 125;
|
||||||
|
VerticalTrapFrequency = AspectRatio * HorizontalTrapFrequency;
|
||||||
|
OptionsStruct.TrapFrequencies = [HorizontalTrapFrequency, HorizontalTrapFrequency, VerticalTrapFrequency];
|
||||||
|
OptionsStruct.TrapPotentialType = 'Harmonic';
|
||||||
|
|
||||||
|
OptionsStruct.NumberOfGridPoints = [256, 256, 128];
|
||||||
|
OptionsStruct.Dimensions = [18, 18, 18];
|
||||||
|
OptionsStruct.IncludeDDICutOff = true;
|
||||||
|
OptionsStruct.CutoffType = 'Cylindrical';
|
||||||
|
OptionsStruct.SimulationMode = 'ImaginaryTimeEvolution'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution'
|
||||||
|
OptionsStruct.TimeStepSize = 0.002; % in s
|
||||||
|
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
|
||||||
|
OptionsStruct.TimeCutOff = 2E6; % in s
|
||||||
|
OptionsStruct.EnergyTolerance = 5E-10;
|
||||||
|
OptionsStruct.ResidualTolerance = 1E-05;
|
||||||
|
OptionsStruct.NoiseScaleFactor = 0.01;
|
||||||
|
|
||||||
|
OptionsStruct.PlotLive = false;
|
||||||
|
OptionsStruct.JobNumber = 0;
|
||||||
|
OptionsStruct.RunOnGPU = true;
|
||||||
|
OptionsStruct.SaveData = true;
|
||||||
|
OptionsStruct.SaveDirectory = sprintf('./Results/Data_3D/AspectRatio%s', strrep(num2str(AspectRatio), '.', '_'));
|
||||||
|
options = Helper.convertstruct2cell(OptionsStruct);
|
||||||
|
clear OptionsStruct
|
||||||
|
|
||||||
|
sim = Simulator.DipolarGas(options{:});
|
||||||
|
pot = Simulator.Potentials(options{:});
|
||||||
|
sim.Potential = pot.trap();
|
||||||
|
|
||||||
|
%-% Run Simulation %-%
|
||||||
|
[Params, Transf, psi, V, VDk] = sim.run();
|
Loading…
Reference in New Issue
Block a user