Some ab initio calculations necessitate constraining ion magnetic moments. For instance when determining the direction of anisotropy (in-plane, out-of-plane, etc.), or doing a 4-state mapping…
View More How to constrain magnetic moments in VASPHow to do uniaxial/biaxial compressive/tensile strain engineering calculations using DFT (VASP, Quantum ESPRESSO, etc.)
Strain engineering has proven quite exciting in exploring quantum phenomena in condensed matter physics, materials science, and other fields. For instance, one could investigate the…
View More How to do uniaxial/biaxial compressive/tensile strain engineering calculations using DFT (VASP, Quantum ESPRESSO, etc.)STEM Pals reaches 2500+ people!
Well, you probably know about STEM Pals (founded by yours truly, and run by an AMAZING team). (Here’s an old post about it.) Well, we…
View More STEM Pals reaches 2500+ people!HELP! Please donate to keep STEM Pals Alive.
In case you missed it, I founded a K-12 outreach organization STEM Pals that aims to help make STEM more accessible to underserved students. We…
View More HELP! Please donate to keep STEM Pals Alive.The Underestimated Devastating Influence of Idiosyncratic Low-Level Players in Academic Administration
In a far-off kingdom, there was a splendid palace, beautifully maintained by the King’s hand-picked craftsman guild. The guild, a collective of expert artisans, was…
View More The Underestimated Devastating Influence of Idiosyncratic Low-Level Players in Academic AdministrationWon Physics Department Weis Prize!
It is an honor to be awarded the 2023 Weis Prize from the Physics Department at the University of Washington. I also sincerely appreciate being…
View More Won Physics Department Weis Prize!A Monumental Leadership Transition at STEM Pals: Celebrating Our Success and Looking Forward
Here is a letter I sent to the STEM Pals membership on 05/22/2023, as its founder and outgoing co-president: Dear STEM Pals Family, I hope…
View More A Monumental Leadership Transition at STEM Pals: Celebrating Our Success and Looking ForwardHusky 100 Recipient!
It is a great honor to have been selected as one of the University of Washington’s Husky 100. It was so cool to have met…
View More Husky 100 Recipient!Supporting Women+ in Physics Workshop 2023
Well, ya boi has been working on organizing a workshop for women+ in physics, scheduled for early May, 2023. Swag working with the Community Building…
View More Supporting Women+ in Physics Workshop 2023How to Numerically Calculate Derivatives Along a 2D Curve/Loop using Finite Differences with Python
One may run into a situation that calls for numerical differentiation of some quantity along a curve in a 2D parameter space. That is, we…
View More How to Numerically Calculate Derivatives Along a 2D Curve/Loop using Finite Differences with PythonHow to Identify Raman/IR-Active Phonon Modes Using VASP
Outline:1) Get vasprun.xml from a VASP phonon calculation.2) Use Phonopy to find the irreducible representations of each phonon mode.3) Separately find the Raman/IR selection rules…
View More How to Identify Raman/IR-Active Phonon Modes Using VASPHow to Create Dynamic HTML Tables in Google Sites
I was making a simple website for a conference and realized there was no straightforward way to create a simple HTML table in Google Sites.…
View More How to Create Dynamic HTML Tables in Google SitesHow to Ensure VASP Will Detect Expected Symmetry in POSCAR Input
Oftentimes, we would like VASP to detect and honor a material system’s symmetry (natural or otherwise). However, assuming you modeled the system well-enough, if there…
View More How to Ensure VASP Will Detect Expected Symmetry in POSCAR InputHow to Create a Block Tridiagonal Matrix using NumPy in Python (ft. personal trauma variables)
I could not find a simple tutorial on creating block tridiagonal matrices online. So, here is a quick tutorial on how to achieve this using…
View More How to Create a Block Tridiagonal Matrix using NumPy in Python (ft. personal trauma variables)How to compile Quantum ESPRESSO on the University of Washington’s Hyak Klone Supercomputer
Following are simple instructions, derived from notes by Kaichen Xie. These notes are not meant to replace the detailed instructions given in the official Quantum…
View More How to compile Quantum ESPRESSO on the University of Washington’s Hyak Klone SupercomputerHow to calculate energy from time-independent Schrödinger equation using Mathematica, Python and MATLAB
The time-independent Schrödinger equation appears in several applications of quantum mechanics. In this post, I will go over how I numerically calculate energy dispersions of…
View More How to calculate energy from time-independent Schrödinger equation using Mathematica, Python and MATLABIntroducing STEM Pals!
Over the last year, I have been rallying other students and faculty to start an outreach endeavor for Washingtonian high school students. Well, after getting…
View More Introducing STEM Pals!Introduction: Teaching
If you are one of my students, this section might contain material I might refer you to, or additional material that you might want to…
View More Introduction: Teaching