[Octopus-users] Laser output file has zero amplitude

Mark Lusk mlusk at mines.edu
Tue Feb 5 22:01:19 WET 2008


Thanks Micael,

I ended up playing around a bit to figure out the correct ordering. The
following works and may be helpful to folks like me who are just getting
started:

amplitude = 1.6
omega = 18.0
tau0 = 0.005
t0 = 0.01
envelope = 1
ny = 0
nz = 0
field = 1

%TDLasers
#%TDExternalFields
field | ny | nz | amplitude | omega | envelope | tau0 | t0
%

Best,

Mark

-----Original Message-----
From: Micael Oliveira [mailto:micael at teor.fis.uc.pt] 
Sent: Monday, February 04, 2008 3:23 PM
To: Mark Lusk
Cc: octopus-users at tddft.org
Subject: Re: [Octopus-users] Laser output file has zero amplitude

Hi,

  I think this is again a problem with the name of a variable that was 
updated in the tutorial. Try to use TDLasers instead of TDExternalFields.

  Cheers,

Micael

Mark Lusk wrote:
> Dear all,
> 
> I am trying to generate the a laser output file that shows the laser field
> as is shown in the last figure in Tutorial 4: Time-Dependent Run. The
input
> file suggested in the tutorial gives a laser output file that has all
zeros
> in the amplitude, and this is also the case (attached) for the simpler
input
> file (also attached). The input file is also pasted below. Can anyone
> suggest why I am not seeing a nonzero output?
> 
> Thanks,
> 
> Mark
> 
> 
> CalculationMode = td
> Units = 'eVA'
> 
> radius = 3.5
> spacing = 0.175
> 
> CH = 1.094
> %Coordinates
>   "C" |           0 |          0 |           0 | no
>   "H" |  CH/sqrt(3) | CH/sqrt(3) |  CH/sqrt(3) | no
>   "H" | -CH/sqrt(3) |-CH/sqrt(3) |  CH/sqrt(3) | no
>   "H" |  CH/sqrt(3) |-CH/sqrt(3) | -CH/sqrt(3) | no
>   "H" | -CH/sqrt(3) | CH/sqrt(3) | -CH/sqrt(3) | no
> %
>  
> FromScratch = yes
> 
> T  = 0.02
> dt = 0.002
>  
> TDEvolutionMethod = aetrs
> TDMaximumIter = T/dt
> TDTimeStep = dt
> 
> amplitude = 1.0
> omega = 360.0
> tau0 = 0.025
> t0 = tau0
> %TDExternalFields
>  "electric_field"| 1. | 0. | 0. | envelope_constant | amplitude | omega 
> %
> 
> TDOutput = laser
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Octopus-users mailing list
> Octopus-users at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-users




More information about the Octopus-users mailing list