Differences
This shows you the differences between two versions of the page.
| the_tdhf_and_tdks_programs [2024/07/12 08:37] – created - external edit 127.0.0.1 | the_tdhf_and_tdks_programs [2026/02/06 09:32] (current) – doll | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== The TDHF and TDKS programs ====== | ||
| + | |||
| + | Real-time electronic dynamics using time-dependent Hartree-Fock and time-dependent Kohn-Sham theories can be performed using the commands '' | ||
| + | \\ | ||
| + | |||
| + | |||
| + | < | ||
| + | command, | ||
| + | PULSE, | ||
| + | </ | ||
| + | The total propagation time (in au) is set by //t//; //dt// sets the timestep and //ns// the number of steps, where two of the three have to be provided. //ng// sets the number of grid points in one dimension (default = 0) and //grsize// the grid size in bohr (default = 10 bohr). Setting //ng// $>2$ switches on the calculation of quantum currents (see below). The option //print// determines the level of output (0=normal output, 1=object linear in matrices, 2=matrices as well, $>2$ debug). The subcommand '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | a DC-field of strength $e_q$ is applied in the $q$th direction for a total time //length// (in au) | ||
| + | |||
| + | '' | ||
| + | a DC-field of strength $e_q$ is applied in the $q$th direction. The field is switched on exponentially with a rate determined by $\alpha$. | ||
| + | |||
| + | '' | ||
| + | an oscillating field of strength $e_q$ is applied in the $q$th direction. The field oscillates with angular frequency $\omega$. The envelope reaches $e_q$ in one period of the field, stays constant for $\alpha$ periods and then decays to zero in one period. | ||
| + | |||
| + | '' | ||
| + | an oscillating field of strength $e_q$ is applied in the $q$th direction. The field oscillates with angular frequency $\omega$. No envelope present. | ||
| + | |||
| + | '' | ||
| + | an oscillating field of strength $e_q$ is applied in the $q$th direction. The field oscillates with angular frequency $\omega$ and is switched on using a $\sin^2$ envelope, where $\alpha$ determines how fast the field is switched on. | ||
| + | |||
| + | '' | ||
| + | like '' | ||
| + | |||
| + | The finite pulses '' | ||
| + | y,z$ direction respectively. | ||
| + | |||
| + | All runs produce a file // | ||
| + | |||
| + | In case of an unrestricted run three files are produced: | ||
| + | |||
| + | '' | ||
| + | |||
| + | Quantum currents will be calculated when choosing $ng>2$. A cubic grid will be computed of size //grsize// with a total of $ng^3$ gridpoints. The imaginary part of the density will be summed at every timestep and after the dynamics the total current will be evaluated at every gridpoint. The user can extract the required data from this array by printing out parts of it, or by integrating over point, but this requires actual coding, as this has not been implemented sufficiently neat. It is also straightforward to evaluate the currents at every timestep or at selected timesteps. This is not done automatically, | ||