Skip to content

Instantly share code, notes, and snippets.

View rupeshknn's full-sized avatar
💭
Archemedian

R K Rupesh rupeshknn

💭
Archemedian
View GitHub Profile
@rupeshknn
rupeshknn / Ansys_stuck_fix.md
Created May 1, 2024 17:47
Ansys simulation stuck on `Sending solution file: solverUsagefile.txt`

Ansys HFSS stuck on Sending solution file: solverUsagefile.txt after finishing the simulation. My files are on a shared drive that I have read and write access to, but I'm not the owner.

Moved sim files (*.aedt in my case) to a local disk and everything works fine.

@rupeshknn
rupeshknn / combine_images.ipynb
Created October 16, 2022 04:45
combine images of different sizes with same width
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rupeshknn
rupeshknn / hydrogen_orbitals.nb
Created August 9, 2020 09:52 — forked from bencbartlett/hydrogen_orbitals.nb
Mathematica code for this animation of transitions in hydrogen wavefunctions: https://twitter.com/bencbartlett/status/1287802625602117632
<< MaTeX`
SetOptions[MaTeX, "Preamble" -> {"\\usepackage{color,txfonts}"}];
SetDirectory[NotebookDirectory[]];
Clear[drawLadder];
drawLadder[n_, l_, m_, imsize_: 500] := Module[{maxrungs = 5, mag = 4},
Graphics[{
White, Opacity[1], Thickness[.02], Dashing[None],
Table[Line[{{0, k}, {1, k}}], {k, maxrungs}], (*draw n lines*)