diff --git a/Dipolar-Gas-Simulator/+Helper/PhysicsConstants.m b/Dipolar-Gas-Simulator/+Helper/PhysicsConstants.m index 3489e73..bf01b03 100644 --- a/Dipolar-Gas-Simulator/+Helper/PhysicsConstants.m +++ b/Dipolar-Gas-Simulator/+Helper/PhysicsConstants.m @@ -23,9 +23,9 @@ classdef PhysicsConstants < handle GravitationalAcceleration = 9.80553; % Dy specific constants - Dy164Mass = 163.929174751*AtomicMassUnit; + Dy164Mass = 163.929174751*1.660539066E-27; Dy164IsotopicAbundance = 0.2826; - DyMagneticMoment = 9.93*BohrMagneton; + DyMagneticMoment = 9.93*9.274009994E-24; end methods diff --git a/Dipolar-Gas-Simulator/+Scripts/run_locally.m b/Dipolar-Gas-Simulator/+Scripts/run_locally.m index 53c4cf1..ffc6e23 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_locally.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_locally.m @@ -60,7 +60,7 @@ OptionsStruct.ScatteringLength = 102.515; OptionsStruct.TrapFrequencies = [10, 10, 72.4]; OptionsStruct.NumberOfGridPoints = [128, 128]; -OptionsStruct.Dimensions = [100, 100]; +OptionsStruct.Dimensions = [6.9967, 6.9967]; OptionsStruct.TimeStepSize = 1E-3; % in s OptionsStruct.TimeCutOff = 2E6; % in s OptionsStruct.EnergyTolerance = 5E-10; diff --git a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m index 0f396a8..a48be33 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m @@ -10,7 +10,7 @@ OptionsStruct.ScatteringLength = 102.515; OptionsStruct.TrapFrequencies = [10, 10, 72.4]; OptionsStruct.NumberOfGridPoints = [128, 128]; -OptionsStruct.Dimensions = [100, 100]; +OptionsStruct.Dimensions = [6.9967, 6.9967]; OptionsStruct.TimeStepSize = 1E-3; % in s OptionsStruct.TimeCutOff = 2E6; % in s OptionsStruct.EnergyTolerance = 5E-10; diff --git a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm index e02ef1a..9e63420 100644 --- a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm +++ b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm @@ -5,10 +5,10 @@ # Request number of nodes and GPU for job #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 -#SBATCH --gres=gpu:4 -#SBATCH --mem=24G +#SBATCH --gres=gpu:1 +#SBATCH --mem=4G # Estimated wallclock time for job -#SBATCH --time=72:00:00 +#SBATCH --time=02:00:00 #SBATCH --job-name=simulation #SBATCH --error=simulation.err #SBATCH --output=simulation.out @@ -24,7 +24,7 @@ echo "Number of GPUs allocated to job: $SLURM_GPUS" # Load module -module load math/matlab/R2023a +module load math/matlab/R2023b echo Directory is `pwd` echo "Initiating Job..."