PAW 赝势 SCF 收敛问题的诊断与修复
Published: 2026-05-19将赝势从 norm-conserving(psp8,ta015)切换到 PAW(xml,PseudoDojo pbe/paw-sr-11,ta031)后,所有 COHP 计算的 SCF 迭代出现严重的收敛困难。能量在前几步快速下降后开始振荡上升,残差(vres2)在 $\sim1\times10^{-2}$ 处停滞不前。本文记录该问题的诊断与修复过程。
将赝势从 norm-conserving(psp8,ta015)切换到 PAW(xml,PseudoDojo pbe/paw-sr-11,ta031)后,所有 COHP 计算的 SCF 迭代出现严重的收敛困难。能量在前几步快速下降后开始振荡上升,残差(vres2)在 $\sim1\times10^{-2}$ 处停滞不前。本文记录该问题的诊断与修复过程。
在利用 ABINIT + LOBSTER 进行 $\mathrm{Al}(111)$ slab 吸附体系的 COHP 计算时,发现所有 24 个任务在 SCF 收敛后进入长达约 12 小时的静默阻塞状态,无任何输出写入日志文件。本文记录该问题的诊断过程与修复方案。
本文总结了Abinit结构优化的计算流程,以及代码的实现方法。
本文总结了Abinit当中smearing的参数细节以及代码实现的方法。
本文详细介绍了Abinit的SCF计算过程中波函数收敛的过程。
本文总结了Abinit当中SCF计算的收敛标准,以及代码运行的详细流程。
本文档记录使用 ABINIT 8.6.3 计算波函数,配合 LOBSTER 5.1.1 进行 COHP(Crystal Orbital Hamilton Population)分析的完整流程,包括版本选择理由、关键参数设置、输入文件模板、资源估算及常见问题排查。
等离子球(plasma globe)内部的发光"电弧"严格说更接近低压气体放电丝状通道,不是空气中高温金属电弧那种连续强电流电弧。它的形成涉及高频高压电场、气体击穿、电离、电子雪崩、等离子体鞘层和介质阻挡放电等过程。本文将逐一解释其中每一个关键公式的推导过程。
在密度泛函理论(DFT)计算化学研究中,绘制 adatom(吸附原子)沿表面法线方向的吸附能曲线是分析表面催化性质的重要手段。本文介绍一个完整的 Python 脚本,利用 Matplotlib 将六种元素(N、H、C、Si、O、S)在四种吸附位点(Top、Bridge、fcc、hcp)上的 $\Delta E_{\mathrm{ads}}$ 曲线以 $3 \times 2$ 网格布局呈现,每个面板同时包含主图和局部放大图。
在使用 Python 绘制 DFT 吸附能曲线的过程中,发现某些元素的曲线图在特定 $z$ 坐标附近出现不符合物理预期的异常振荡。排查后定位到问题根源:CubicSpline 三次样条插值在面对尖峰数据时会产生严重的过冲(overshoot)。本文将记录这一问题的分析过程和修复方案。
在使用 ABINIT 进行单原子参考能计算时,O 和 S 两种开壳层原子出现了 SCF 自洽迭代不收敛的问题。本文记录从问题发现到最终解决的完整排查过程,涵盖输入文件设置、根因分析和修正方案。
在ABINIT的结构优化过程中,参数 ionmov=22 对应于有限内存Broyden-Fletcher-Goldfarb-Shanno (Limited-memory BFGS, L-BFGS) 方法。该方法是一种著名的拟牛顿法(Quasi-Newton Method),不需要显式计算并存储庞大的Hessian矩阵及其逆矩阵,而是通过保存最近几步的迭代历史信息来近似逆Hessian矩阵,特别适用于拥有大量自由度(如大体系多原子结构的弛豫和晶胞优化)的问题。
在ABINIT软件中,当设置计算参数 ionmov=2 时,程序采用 Broyden-Fletcher-Goldfarb-Shanno (BFGS) 的拟牛顿法来进行晶体结构和原子位置的几何优化。BFGS方法通过近似目标函数(系统总能量)的逆海森矩阵来引导原子坐标朝着能量极小值收敛,在计算效率与优化收敛性之间取得了极佳的平衡。
结构优化(structure optimization 或 structure relaxation)是第一性原理计算中最基础、也最容易"算了很久却不一定算对"的环节。它的目标是通过调整原子坐标、晶格形状或晶胞体积,使体系到达一个能量更低、受力更小的稳定构型。对于 VASP 而言,优化的自由度主要由 ISIF 控制,优化算法主要由 IBRION 控制,而是否收敛通常由 EDIFFG 等参数判断。
在VASP计算中,经常会遇到这样的情况:前面十几步优化都在正常进行,结构逐渐改善,但突然在某一步力值暴涨,结构开始"跑飞"或"扩散"。这种现象通常不是单一原因造成的,而是多种数值因素叠加的结果。
本文适合完全没有命令行经验的新手,也适合从 OpenClaw 迁移过来的用户。手把手带你从零开始,装好 Hermes Agent,接入 Telegram,并了解它的核心玩法。
刚接触分子模拟时,你会听到一大堆名字:LJ、EAM、CHARMM、AMBER、OPLS、ReaxFF、MARTINI、DeepMD……每个名字都代表一种力场,也代表一种理解原子世界的方式。本文想从头到尾捋一捋:这些力场是怎么来的、它们各自擅长什么、以及什么时候该用什么。
在密度泛函理论(DFT)计算中,**自洽场(Self-Consistent Field,简称 SCF)**的收敛问题是每一个计算化学和凝聚态物理研究者都会遇到的"经典难题"。本质上,DFT 里的 SCF 收敛就是在解一个非线性不动点方程,通过"电荷/势的迭代 + 混合 + 预条件"把电子密度和哈密顿算符做到自洽。本文将深入剖析 SCF 迭代的收敛机制、不收敛的根本原因,以及针对不同体系的具体解决策略。
密度泛函理论(DFT)是现代计算材料科学和量子化学的核心工具。在 DFT 计算流程中,优化算法与 Mixing 算法的效率直接决定了计算的收敛速度与精度。本文将系统梳理 DFT 计算中的三大类优化算法——混合算法(Mixing)、对角化算法(Diagonalization)和结构弛豫算法(Relaxation),深入剖析其数学原理、实现细节与适用场景。
在学术研究或日常工作中,我们经常会遇到需要将扫描版 PDF 文档或包含复杂数学公式的书籍提取为可编辑的 Markdown 或 LaTeX 源码的需求。传统的文字识别(OCR)工具往往对版面结构和复杂的数学公式无能为力,而 Pix2Text 则提供了一套强大且开源的解决方案。本文将详细记录在 macOS 环境下,从安装配置环境、下载核心深度学习模型,到最终成功把 PDF 转换为包含公式的 Markdown 文件的完整流程。
Homebrew 是 macOS 上最流行的包管理器,用一套统一的命令帮你在终端里安装、升级、卸载各种开发工具和桌面应用,省掉自己找下载链接、手动拖拽和配置路径的麻烦。本文将从 Homebrew 的基本概念出发,系统介绍安装步骤、日常命令、服务管理、GUI 应用安装以及常见问题排查,帮助你高效构建和维护 macOS 开发环境。
有人曾提出一个尖锐的观点:金融危机爆发的关键信号,在于"巴菲特们"手中的现金比例是否已达极限。当他们的现金储备不足时,即便危机条件成熟也不会主动点火;而当现金充裕到一定程度,他们便需要一场危机的到来。
这段论述剥离了宏观经济学中关于"周期"、"泡沫"、"通胀"等技术术语的伪装,将金融危机还原为其最赤裸的本质——一场由顶层资本精准控制的、以流动性为武器的周期性财富兼并行动。
锆(Zirconium, Zr)是一种重要的过渡金属元素,广泛应用于核工业、航空航天和化工领域。理解锆的电子结构是认识其化学性质和物理行为的基础。本文将详细解析锆原子的完整电子排布及其价电子的确定方法。
在基于密度泛函理论(DFT)的第一性原理计算中,伪势方法的选择直接影响计算的精度和效率。PAW(投影缀加波)方法和 NCPP(范数守恒伪势)是两种常用的伪势方案,它们在计算资源需求和实际运行效率上各有特点。本文将深入分析这两种方法的差异,帮助读者理解如何在实际计算中做出合理选择。
二十世纪不仅是科技飞速发展的时代,更是计算与算法领域实现重大突破的黄金时期。本文将带您回顾这段历史中诞生的最具影响力的十大算法,它们不仅奠定了现代计算机科学与工程计算的基础,更深刻地影响了物理、金融等众多交叉学科。让我们一起来领略这些改变世界的智慧结晶。
电子结构分析是理解材料物理化学性质的核心工具。由于电子运动极快且尺度微小,我们必须借助量子力学的概念,将电子视为波来进行分析。本文将系统介绍电子结构分析的核心要点和高效学习方法,帮助初学者快速入门。
在计算模拟研究中,模型的选择直接决定了结果的可靠性和研究的价值。一位研究生曾在暑假期间烧掉了8000多元的机时费,最终数据却完全无法使用,原因正是初始模型选择不当。本文将剖析计算模拟中常见的五种"坑人"模型,帮助研究者在实际工作中避开这些代价高昂的陷阱。
原子是物质的基本单元,而核外电子的排布规律决定了元素的化学性质。从铝原子的电子构型出发,我们可以深入理解量子力学如何描绘电子在原子中的运动状态。本文将系统讲解电子能级高低规律、轨道形状的决定因素、球谐函数的数学基础,以及过渡金属与镧系元素因独特电子构型而展现的特殊性质。
在基于密度泛函理论(DFT)的第一性原理计算中,合理设置能带数量(nband)是确保计算准确性和效率的关键参数。本文将详细介绍如何根据体系中的价电子数量和材料特性,系统地校准 ABINIT 软件中的 nband 参数。
在长期的材料计算与分子模拟中,对比不同结构间的能量变化往往是评估物理体系平衡与稳定性的关键环节。本文将展示如何通过一段精简的 Python 脚本自动读取 CSV 数据文件,并结合 Matplotlib 绘制包含类 LaTeX 字体排版的高质量总能差(Total Energy Difference)柱状图。
在第一性原理材料计算中,ABINIT 是一款极为强大的软件平台,而它的结构输出往往依赖专门的解析工具来进行提取与转化。借助 AbiPy 与 Python 库的强大特性,我们不仅可以克服环境模块兼容性的阻碍,还能无缝实现多步骤几何优化轨迹(HIST.nc)往 Extended XYZ 格式的批量转换。本指南将介绍如何自动化完成这一提取任务,为基于 OVITO 的晶格渲染与三维结构动态可视化铺平道路。
遇到形形色色的人并结识朋友是生活常态,而你所观察到的现象非常精准——人际关系确实会直接影响我们的"能量场"。识别出那些持续消耗你的"有毒"(Toxic)关系,是保护自我心理健康的重要一步。真正的朋友或健康的关系应该是互相滋养的,而以下的标准将帮助你辨别身边的关系是否健康。
每次打开 iTerm2,都要盯着空白屏幕等上将近两秒,命令提示符才姗姗来迟——这种体验让人抓狂。本文记录了在 macOS Apple Silicon + zsh + Zim 环境下,将终端启动时间从 2.33 秒压缩到 0.08 秒的完整排查与修复过程,最终实现 29 倍提速。
在计算材料科学和第一性原理研究中,几何优化的收敛过程常常耗时较长且中途可能出现不稳定的振荡。本文为大家提供了一款自动化的 Python 监控脚本,用于批量读取和可视化 Abinit 软件在优化过程中记录的轨迹数据,帮助研究人员快速掌控计算进度与系统状态。
在进行密度泛函理论(DFT)等高通量计算任务时,从大量的计算目录下提取出几何优化完成的最终晶体结构往往是一项繁琐的工作。本文将分享一个实用的 Python 脚本,它整合了 abipy 与 pymatgen,能够自动遍历计算目录、判断收敛状态,并高效地提取出用于后续计算的 VASP POSCAR 文件。
This is a colllection of AI prompts for academics.
在使用 VS Code 远程连接一些较旧的 Linux 系统(如 CentOS 7)时,常会遇到“远程主机不满足运行 VS Code 服务器的先决条件”的报错。本文详细记录了该问题的排查过程,分析了因 glibc 版本过低以及 patchelf 工具引发的“套娃”依赖问题,并提供了完整的解决方案。
本报告深入探讨了在ABINIT软件中进行非对称Slab模型计算时面临的虚假偶极场问题,并详细解析了偶极修正与库仑截断技术的物理机制。通过构建完整的计算工作流与参数调优策略,本文旨在为研究人员提供一份确保表面体系模拟物理准确性的权威指南。
这篇博文旨在指导大家深入学习 Abinit 的自旋(Spin)教程。这部分内容对于研究磁性材料(如铁、钴、镍)或涉及重元素的自旋轨道耦合效应至关重要。我们将通过密度泛函理论(DFT)处理电子自旋的三种主要场景:铁磁性、反铁磁性以及自旋轨道耦合。
在数字时代,我们每天都面临着无数的诱惑和干扰。社交媒体、短视频平台、即时通讯工具——这些应用虽然为我们带来了便利和娱乐,却也在不知不觉中侵蚀着我们的专注力和时间。如果你正在寻找一种简单而有效的方法来屏蔽这些分心网站,那么修改 macOS 系统的 hosts 文件将是一个理想的解决方案。
The artificial intelligence industry operates on a five-layer architecture: energy, chips, infrastructure, models, and applications. This elegant framework captures how foundational resources enable increasingly sophisticated outputs. What if we applied this same logic to the PhD journey? The result is a remarkably clear model for understanding where doctoral students struggle—and why.
My Mac's System Data is showing an alarming 190GB of storage usage. This comprehensive guide explains what's consuming my storage and provides practical solutions to reclaim that valuable disk space through both manual methods and terminal commands.
TUIOS is a terminal-based window manager that revolutionises how developers interact with multiple terminal sessions. Built with Go using the Charm stack (Bubble Tea v2 and Lipgloss v2), it provides a modern, efficient interface with vim-like modal controls, workspace support, and seamless mouse interaction. Whether you're managing local sessions or connecting remotely via SSH, TUIOS offers a streamlined experience for terminal power users.
Machine learning interatomic potentials (MLIPs) are rapidly changing the landscape of materials simulation. This post provides a practical walkthrough of using FAIRChem, a powerful MLIP model, to perform geometry optimisation on crystal structures, building upon our previous introduction to the topic.
This guide demonstrates how to extract optimised crystal structures from ABINIT's NetCDF output files using the Abipy library. The workflow presented here simplifies the process of retrieving final geometries, tracking optimisation trajectories, and exporting structures in multiple formats for further analysis.
Understanding the role of symmetry in density functional theory calculations is crucial for accurate and efficient materials modelling. The chksymbreak parameter in ABINIT controls how the software handles k-point grid symmetry breaking, with profound implications for both ground-state and response function calculations. This article examines its effects across different calculation types and provides evidence-based guidance for optimal usage.
This comprehensive guide demonstrates how to construct aluminium slab and bulk structures using the Atomic Simulation Environment (ASE) in Python. We explore automated surface generation methods, structural transformations, and best practices for creating simulation-ready geometries in VASP format.
This guide presents a series of ABINIT input file examples for silicon calculations, demonstrating various computational workflows including k-point convergence studies, structural optimisation, and band structure calculations. These examples illustrate the effective use of multi-dataset functionality to streamline complex computational tasks in density functional theory.
This post provides a look into the structure of an input file for ABINIT, a software package used for calculating the properties of materials. We will break down a multi-dataset input file for a simple Hydrogen system to understand the purpose of various key parameters.
This guide examines advanced dataset configuration techniques in ABINIT, demonstrating how the UDTSET feature enables efficient parametric studies and convergence testing through systematic variation of input parameters across multiple datasets in hydrogen molecular and atomic systems.
This article presents a series of sophisticated ABINIT input files demonstrating multi-dataset calculation techniques for aluminium systems, including k-point convergence studies, smearing temperature optimisation, and structural relaxation across diverse crystallographic configurations from bulk FCC to extended slab geometries.
Visual Studio Code offers the capability to merge multiple windows into native system-level tabs, though this feature's availability and implementation vary significantly across different operating systems. Understanding these platform-specific differences can enhance your workflow and help you leverage VS Code's full potential.
RIME (Rime Input Method Engine) is a powerful, open-source input method framework that provides users with unprecedented control over their typing experience. Unlike conventional input methods, RIME allows extensive manual configuration, enabling you to customise both the input behaviour and operational habits to suit your specific workflow.
Artificial intelligence has fundamentally transformed the scientific landscape, reshaping not only research methodologies but also the epistemological foundations of knowledge creation. This comprehensive literature review examines how academic qualifications are being redefined in the AI era and what competencies researchers need to thrive in the 21st century.
uv is a lightning-fast Python package manager written in Rust by the Astral team, designed to be a unified replacement for pip, venv, pip-tools, poetry, pyenv, and more. This comprehensive guide explores how uv transforms Python development workflows with unprecedented speed and modern tooling.
FAIRChem is a powerful machine learning framework developed by Meta AI for accelerating materials discovery and catalysis research. This comprehensive guide walks you through using FAIRChem, from exploring the web-based demo to performing local energy calculations on macOS.
Vim offers a powerful and comprehensive set of delete operations that can handle everything from single characters to large-scale text manipulations. Understanding these commands and their combinations can dramatically improve your text editing efficiency. This guide covers all essential delete operations in Vim, from basic commands to advanced combinations with motions, ranges, and visual modes.
Tmux (Terminal Multiplexer) is a tool that can fundamentally transform your relationship with the command line. Whether you're a seasoned developer, a system administrator, or just someone who loves the efficiency of the terminal, tmux offers a powerful suite of features to manage multiple sessions, windows, and panes. This guide will take you on a journey from the absolute basics to advanced automation, turning you into a tmux power user.
Crystal structure modeling is a fundamental skill in materials science and computational chemistry. VESTA (Visualization for Electronic and STructural Analysis) is a powerful, user-friendly software tool that enables researchers to create, visualize, and manipulate crystal structures with ease. This guide demonstrates how to build a face-centered cubic (FCC) aluminum structure from scratch using VESTA.
Your shell is one of the most important tools in your development workflow. While both bash and zsh are powerful out of the box, their default configurations leave much to be desired. This guide explores the most popular configuration frameworks—Bash-it for bash, and Oh My Zsh and Zim for zsh—that dramatically simplify shell customization and unlock powerful productivity features.
Neovim is a modern, extensible text editor that builds upon the foundation of Vim while adding powerful new features. This guide walks you through setting up Neovim from scratch, configuring it with essential plugins, and transforming it into a fully-featured development environment.
Working with Vim's clipboard functionality can be tricky, especially when you need to copy text between Vim and external applications. This comprehensive guide explains how to seamlessly integrate Vim with your system clipboard, manage registers effectively, and handle clipboard operations in different environments including virtual machines.
Vim is a powerful text editor, but its default configuration can be somewhat bare-bones. This guide shows you how to quickly set up an enhanced Vim environment using the Ultimate vimrc project, along with some essential customizations for improved productivity.
Setting up a reproducible computational environment is crucial for density functional theory (DFT) calculations and materials science research. This guide walks you through creating a dedicated Conda environment equipped with essential tools for DFT analysis, visualization, and machine learning applications in computational chemistry.
ABINIT is a powerful computational chemistry software package used for first-principles calculations. Installing it on macOS can be straightforward thanks to Homebrew. This guide walks you through the installation process, including special considerations for Apple Silicon Macs.
Setting up a new Linux system can be overwhelming, especially when you want to ensure security, performance, and a productive development environment. This comprehensive guide walks you through the essential steps to configure a fresh Ubuntu Linux system from scratch.
Configuring locale settings correctly is essential for a smooth multilingual experience on Linux systems. Whether you're a developer working with international applications or a user who needs multiple language support, understanding how to properly set up locales can save you from cryptic warnings and unexpected behavior. This guide will walk you through the complete process of configuring multi-language locale support on Ubuntu Linux.
This comprehensive guide presents a curated collection of powerful AI prompts designed to streamline various tasks across academic writing, research, communication, and content creation. From LaTeX formatting and BibTeX management to literature searches, multilingual translation, and effective communication strategies, these prompts serve as practical tools to enhance productivity and quality in professional and academic workflows.
Creating and publishing new content on your Zola static site is straightforward. This guide will walk you through the entire process from creating a new post to seeing it live on your website.
在将Zola静态网站部署到GitHub Pages的过程中,我遇到了一系列部署问题。本文详细记录了问题诊断和解决的完整过程,希望能帮助遇到类似问题的开发者。
Have code snippets complete with clipboard functionality and fancy language tags. No more boring code snippets in your pages. Oh yeah baby! Click on this article to see some code in action.
This theme allows you to use MathJax directly in your Markdown! Click on this article to see some fancy math in action. Little teaser: $$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
radion comes with some handy shortcodes to make your life easier and your posts more exciting.
This page describes the configuration options available for the radion theme.
在量子力学中,研究一个粒子在一维系统中的稳态波函数和能级是通过求解时间无关的薛定谔方程(1.19)来实现的。在本章中,我们将对一个非常简单的系统——一维盒子中的粒子(第2.2节)——求解时间无关的薛定谔方程。由于薛定谔方程是一个微分方程,我们首先讨论微分方程。
This page demonstrates various Markdown formatting features that can be used in the theme. The following sections showcase different elements, such as blockquotes, headings, lists, and more.
This page demonstrates the table of contents feature with a mix of heading levels, inline links, and nested elements.