Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jahanzaib

Pages: 1 2 [3] 4 5 ... 9
31
Many thanks - I got the your point.

32
Hello Experts,
I followed the tutorial on molecular devices (https://docs.quantumatk.com/tutorials/molecular_device/molecular_device.html), but I am unclear about a few steps. Specifically:

When MPSH with atom indices (37, 38, 39, 40, 41, 42, 43, 44, 45, 46) is computed, I don't understand how or why quantum numbers 13, 14, 15, and 16 are chosen in the next step.

I have my own system, as shown in the attached pictures, and I am interested in observing the overlap between tin atoms 40, 92, and 95. I've calculated MPSH, but I am unsure how to choose the correct quantum numbers for eigenstate analysis?


33
The way I approach the two-probe system optimization is by dividing it into smaller parts.  Instead of optimizing the entire device at once, which is a massive task, I find it faster and more efficient to build the device from optimized components.

I first separately optimize the central region, which in this case includes the organic molecules and similarly, optimize the gold electrodes. Then, place the optimized organic molecules between the optimized gold electrodes.

Each part is already optimized, then no need to optimize complete device again.

If you want expert comments, you should wait for a response from @Anders Blom.

34
General Questions and Answers / Re: Current at each bias
« on: September 10, 2024, 01:40 »
I got your point. Actually I was looking the following tutorial (https://docs.quantumatk.com/tutorials/std_transport/std_transport.html). I run many bias but I didnot get current using the following

 Calculate the current from the transmission spectrum
    current = transmission_spectrum.current()

35
General Questions and Answers / Re: Current at each bias
« on: September 8, 2024, 01:08 »
If I understand you correctly then it's mean I have to apply different bias let's say -0.1, 0.2 etc and calculate the TS. ok?

I calculated the TS with -0.1 and also got current as shown in the figure? this is what you are explaining?

36
General Questions and Answers / Current at each bias
« on: September 2, 2024, 15:44 »
Dear Expert,
I hope you are doing well.

I am interested in calculating the current at each bias given in code below. This code work well, but I don't have an idea how to calculate current at each bias, any suggestion?

pos_bias_list = [0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70]*Volt

# Read DeviceConfiguration
zero_bias_file = '/home/hartree/jem/wolf6252/N-P/Device/Fe-H-D/Fe-H-D-3-3/Fe-H-D-3-3.hdf5'
device_configuration = nlread(zero_bias_file, DeviceConfiguration)[0]

for bias in pos_bias_list:
    if processIsMaster():
        print("Bias is now: ", bias)
    # Get the calculator
    calculator = device_configuration.calculator()

    # Set the bias voltage
    calculator=calculator(electrode_voltages=(bias/2, -bias/2))

    # Attach the calculator and use the old initial state
    device_configuration.setCalculator(
      calculator(),
      initial_state=device_configuration)
    device_configuration.update()
    nlsave('device_bias_%.2f.hdf5' % bias.inUnitsOf(Volt), device_configuration)
    nlprint(device_configuration)

37
General Questions and Answers / Transmission Spectra
« on: August 12, 2024, 02:13 »
Hello Expert
I have attached transmission spectra for my system. I found that peak look weird I don't know why? Can anyone suggest/guide me what is wrong here?
Peaks does not look proper, I guess. I am using 1*1*100 kpoint in C-direction

Many thanks

38
General Questions and Answers / Re: Help in python code
« on: August 11, 2024, 01:40 »
Many thanks to Dr. Blom for providing detailed information to the students. I really appreciate it.

In my case, I made a slight modification to the code. I was executing spectrum_method=GaussianBroadening(broadening=0.03*eV) separately, which prevented me from getting the desired broadening effect. After carefully reviewing the documentation, I tried a few different approaches, and finally, I achieved the correct result with:

gaussianSpectrum(energies=None, spin=None, broadening=None, projection_list=None).



39
General Questions and Answers / Re: Help in python code
« on: August 8, 2024, 00:02 »
Thank you Dr. Blom for your response.

I am using 2022,
                  - if i use "spectrum_method=GaussianBroadening(broadening=0.03*eV)" then I got the following error i-e; 'PhysicalQuantity' object is not callable.
                  - if i use GaussianBroadening=0.03*eV, then it will have no effect on broadening.
Even, I restarted the atkpython interactive mode still got the same issue.



40
General Questions and Answers / Re: Help in python code
« on: August 7, 2024, 23:09 »
Dear Members, I hope you are doing well.
Below is my code: I got error

# Read DOS object from file
dos = nlread('/home/hartree/jem/wolf6252/N-P/With-hyd/Fe/DOS/DOS.hdf5', DensityOfStates)[0]

# Get the actual energy values from the DOS object
energies = dos.energies()

# Set the spectrum method to Gaussian broadening with a broadening width of 0.03 eV
spectrum_method=GaussianBroadening(broadening=0.03*eV)

# Calculate the DOS spectrum with spin up using Gaussian broadening
dos_Up = dos.evaluate(projection_list=ProjectionList(atoms=[144], elements=[Iron], angular_momenta=[2]), spin=Spin.Up)

# Calculate the DOS spectrum with spin down using Gaussian broadening
dos_Down = dos.evaluate(projection_list=ProjectionList(atoms=[144], elements=[Iron], angular_momenta=[2]), spin=Spin.Down)

# Plot the spectra using pylab
import pylab
pylab.figure(figsize=(5, 10))
pylab.plot(dos_Up.inUnitsOf(eV**-1), energies.inUnitsOf(eV), color='darkblue', label='Spin Up')
pylab.plot(dos_Down.inUnitsOf(eV**-1), energies.inUnitsOf(eV), color='darkblue', linestyle='--', label='Spin Down')

# Add a dotted line at E-EF=0
pylab.axhline(y=0, linestyle='dotted', color='gray')

pylab.xlim(0,10)
pylab.ylim(-3,3)

# Save the figure as a high-resolution PNG image
pylab.savefig('Fe-PDOS.png', dpi=300, bbox_inches='tight')

# Add the legend in the upper right corner
pylab.legend(loc='upper right')

pylab.xlabel("PDOS (1/eV)")
pylab.ylabel("E-E$_{f}$/eV")
pylab.legend()
pylab.show()

I want add broadening and I got the following error:
      9 energies = dos.energies()
     10
---> 11 spectrum_method=GaussianBroadening(broadening=0.03*eV)
     12
     13 # Calculate the DOS spectrum with spin up using Gaussian broadening

TypeError: 'PhysicalQuantity' object is not callable.

Any one please help me how to solve this issue - I have tired but couldn't got solve it.

41
General Questions and Answers / Re: Help in python code
« on: January 19, 2024, 11:05 »
Thank you Dr Blom for you guidance.
I already got with PDOS but don't have an idea for broadening in PDOS - i will try that.


42
General Questions and Answers / Re: DOS of five d orbitals
« on: December 20, 2023, 23:02 »
In Quantumatk, we have class called "Projection", where you can define what you need like (https://docs.quantumatk.com/manual/Types/Projection/Projection.html#NL.Analysis.Projection.Projection)

Projection(spin=Spin.Up, atoms=[Iron], l_quantum_numbers=[2]) + Projection(spin=Spin.Down, atoms=[Iron], l_quantum_numbers=[2])

I think it will work, try this

43
General Questions and Answers / Re: DOS of five d orbitals
« on: December 18, 2023, 00:31 »
PDOS does the same what you want - for PDOS, you have to select ProjectOnShellsByElement or you can see (https://docs.quantumatk.com/manual/Types/ProjectedDensityOfStates/ProjectedDensityOfStates.html) where you can define the projection of specific atom.

Thank you

44
General Questions and Answers / Re: Simulation of COHP and pCOHP
« on: December 16, 2023, 18:29 »
QuantumATK did not have the direct capability to simulate Crystal Orbital Hamilton Population (COHP) or projected Crystal Orbital Hamilton Population (pCOHP) for materials but I think, in future, it might have.


45
General Questions and Answers / Re: DOS of five d orbitals
« on: December 16, 2023, 18:27 »
Yes, you can do in two ways
1) Open it in the DOS Analyzer, select the Iron atom and "d" and spin up or down separated (flipped), then right-click the plot window and choose Export data. Then you can write code to plot it.
2) Start atkpython, then write code and add that lines

# Calculate the DOS spectrum with spin up
dos_Up = dos.evaluate(projection_list=ProjectionList(atoms=[------], elements=[Iron], angular_momenta=[2]), spin=Spin.Up)

# Calculate the DOS spectrum with spin down
dos_Down = dos.evaluate(projection_list=ProjectionList(atoms=[------], elements=[Iron], angular_momenta=[2]), spin=Spin.Down)

Hopeso, it helps you


Pages: 1 2 [3] 4 5 ... 9