r/comp_chem • • 5h ago

A GPU gxTB implementation

8 Upvotes

Greetings!

https://github.com/atomag/tb.rs/

I have implemented gXTB in a portable manner based on my personal take on Grimme’s amazing paper. https://chemrxiv.org/engage/chemrxiv/article-details/685434533ba0887c335fc974

The implementation perform mostly in parity and better in speed vs the experimental implementation by Grimme’s group. Benchmark: https://atom.li/docs/benchmarks/xtb/. I will keep pushing for better performance.

GPU code is fully implemented in WGSL/Slang, it should be working on Metal, Vulkan, or even in browser!

tako.atom.li and select gxtb is the easiest way to try it out, it runs locally in your browser, absolutely no data traveling to my server.

I have tested on Apple Silicon and Nvidia GPUs, It would be super great if anyone can sponsor me some access to AMD GPUs / Arm Mali GPUs for testing and ironing out bugs.

There are many errors, sloppy code need to be ironed out, fell free to shoot me any issue.

Best.


r/comp_chem • • 14h ago

Why aren't we systematically developing neural hybrids of empirical chemical engineering equations?

1 Upvotes

Something I've been thinking about is how many of the equations we use in chemical engineering are essentially empirical approximations fitted to experimental data.

Instead of replacing these equations entirely with neural networks, what if we preserved their underlying mathematical structure and trained neural networks to learn their shortcomings across different chemical systems?

For example, with viscosity, we could train a model on historical experimental data and have it learn transferable relationships. When presented with an unfamiliar mixture and a couple of experimental measurements, it could use its learned weights to predict the rest of the viscosity curve.

I've been experimenting with this computationally. Interestingly, in one of my initial investigations, a relatively simple VFT model actually outperformed the neural hybrid, which made me more curious about when additional model complexity is genuinely useful.

What I'm wondering is whether it would be worth systematically investigating this approach across a much broader range of empirical relationships, including reaction kinetics, solubility, diffusivity, heat transfer and phase equilibria.

I'm aware that physics-informed ML and hybrid modelling already exist. I'm more interested in whether there's been a concerted effort to develop and benchmark these models across chemical engineering as a whole.

For those working in research or industry, what do you think the biggest limitations would be? Is it primarily data availability, generalization, physical consistency, or are there more fundamental problems with this approach?


r/comp_chem • • 5h ago

Simulating densification of a partially molten silicate powder: which open-source approach is most defensible?

0 Upvotes

Hi all,

I'm looking for advice on modelling approaches (not experimental recipes).

Context: a pressed natural silicate powder (mostly crystalline minerals plus some glass) is heated until a fraction of it melts, so densification is driven by viscous flow / liquid-phase sintering. I'd like to predict relative density vs. time for a given heating schedule before running lab tests.

My current idea:

  1. A thermodynamic melt model (e.g. MELTS / alphaMELTS) for melt fraction and melt composition vs. temperature
  2. A melt viscosity model (e.g. Giordano et al. 2008)
  3. A classical sintering model: Frenkel / Mackenzie-Shuttleworth for the viscous part, Kingery (1959) for liquid-phase sintering

Questions:

- Is this coupling reasonable, or is there a better established approach?

- Are there validated open-source codes for this (continuum, DEM or phase-field)?

- Is a master sintering curve still valid once a liquid phase appears, or does that break its single-mechanism assumption?

- What is the minimum experimental data you would need to calibrate and validate such a model?

Papers or codes you'd recommend are very welcome. Thanks!