User Tools

Site Tools


exercises:common:sgcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exercises:common:sgcp [2025/06/19 02:35] – [4. How to Set Up in CP2K] jglanexercises:common:sgcp [2025/06/19 02:54] (current) – [2. Comparison with CPMD and BOMD] jglan
Line 26: Line 26:
  
 | Feature                          | CPMD          | BOMD         | SGCP                | | Feature                          | CPMD          | BOMD         | SGCP                |
-| SCF at each step                  No          |  Yes        |  Partially (predictor-corrector) |+| SCF at each step                 | No          | Yes        |  Partially (predictor-corrector) |
 | Time step                        | Small (~0.1 fs) | Large (~1 fs) | Large (~1–2 fs)           | | Time step                        | Small (~0.1 fs) | Large (~1 fs) | Large (~1–2 fs)           |
 | Conserved quantity preservation  | Excellent     | Reasonable   | Excellent                 | | Conserved quantity preservation  | Excellent     | Reasonable   | Excellent                 |
Line 69: Line 69:
 ====4. How to Set Up in CP2K==== ====4. How to Set Up in CP2K====
  
-### 1. ASPC Extrapolation 
  
-&FORCE_EVAL +| Parameter              | Purpose                                  | Notes                                      | 
-  &DFT +| EXTRAPOLATION_ORDER  | Higher gives better predictor            | 1–4 typical, 0 for metallic is more stable                               | 
-    &QS +| MAX_SCF_HIST        | Controls SCF correction                  | ≥2 helps smoother convergence              | 
-      EXTRAPOLATION ASPC +| STEPSIZE             | Time step in fs                          | ~0.5–2 fs depending on system                | 
-      EXTRAPOLATION_ORDER 1 +| PRECONDITIONER       | Affects SCF convergence                  | `FULL_SINGLE_INVERSE` slightly better      | 
-    &END QS +| NOISY_GAMMA (γ_D)    | ASPC dissipation compensation            | Adjust to control drift in T and energy    | 
-    &SCF +| GAMMA (γ_L)          | Langevin thermostat strength             | Set to 0 for dissipation-only integration  |
-      MAX_SCF_HIST 2 +
-    &END SCF +
-  &END DFT +
-&END FORCE_EVAL+
  
-### 2Langevin Thermostat+1ASPC Extrapolation
  
-&MOTION +  &FORCE_EVAL 
-  &MD +    &DFT 
-    ENSEMBLE LANGEVIN +       &QS 
-    &LANGEVIN +        EXTRAPOLATION ASPC 
-      GAMMA 0.005         ! γ_L +        EXTRAPOLATION_ORDER # Higher gives better corrector  
-      NOISY_GAMMA 4.0E-4  ! γ_D +       &END QS 
-    &END LANGEVIN +       &SCF 
-  &END MD +        MAX_SCF_HIST 2 
-&END MOTION+       &END SCF 
 +    &END DFT 
 +  &END FORCE_EVAL
  
-### 3Atom-Specific γ_D (Optional)+2Langevin Thermostat
  
-&THERMAL_REGION +  &MOTION 
-  DO_LANGEVIN_DEFAULT TRUE +    &MD 
-  &DEFINE_REGION +      ENSEMBLE LANGEVIN 
-    TEMPERATURE 500 +      &LANGEVIN 
-    NOISY_GAMMA_REGION 4.E-4 +        GAMMA 0.005         ! γ_L 
-    LIST 577..745 +        NOISY_GAMMA 4.0E-4  ! γ_D 
-  &END DEFINE_REGION +      &END LANGEVIN 
-&END THERMAL_REGION+    &END MD 
 +  &END MOTION 
 + 
 +3. Atom-Specific γ_D (Optional) 
 + 
 +  &THERMAL_REGION 
 +    DO_LANGEVIN_DEFAULT TRUE 
 +    &DEFINE_REGION 
 +      TEMPERATURE 500 
 +      NOISY_GAMMA_REGION 4.E-4 
 +      LIST 577..745 
 +    &END DEFINE_REGION 
 +  &END THERMAL_REGION
  
exercises/common/sgcp.1750300535.txt.gz · Last modified: by jglan