arXiv ScienceSearch

arXiv subjects

Andrew McDonagh

Publications and source records attributed to Andrew McDonagh.

2 recordsLinked to original sources

Constrained Program Generation for 3D Reaction Animation with a 0.8B Model

Visualizing a chemical reaction requires making its molecular changes visible while keeping the animation faithful to the stated chemistry. Equations, structural diagrams and molecular viewers provide complementary descriptions, but assembling an interactive three-dimensional explanation still requires specifying the changes and checking their consistency. We present ChemXRG, a domain-specific language (DSL) framework that addresses this gap by representing a reaction animation as an executable program. Persistent atom identifiers and explicit bond, charge and grouping operations connect the symbolic reaction to the displayed transformation. This shared representation lets generation, verification and rendering operate on the same account of what changes. Given known, atom-mapped reactant and product structures, reaction-grounded constraints fix input-determined facts and restrict action choices; execution checks validate the resulting transformation before geometry and frames are constructed. We implement this paradigm with a reaction-program corpus and ChemQwen, a trained 0.8B DSL generator. Paired and component evaluations show improved compiler acceptance and normalized full-program agreement under input-conditioned constraints, while identifying remaining failures that require execution checks. A public browser application demonstrates the connection from symbolic reaction descriptions to inspectable programs and interactive 3D animations.

cs.GR

Percolation diffusion into self-assembled mesoporous silica microfibres

Percolation diffusion into long (11.5 cm) self-assembled, ordered mesoporous microfibres is studied using optical transmission and laser ablation inductive coupled mass spectrometry (LA-ICP-MS). Optical transmission based diffusion studies reveal rapid penetration (< 5 s, D > 80 um2.s-1) of Rhodamine B with very little percolation of larger molecules such as zinc tetraphenylporphyrin (ZnTPP) observed under similar loading conditions. The failure of ZnTPP to enter the microfibre was confirmed, in higher resolution, using LA-ICP-MS. In the latter case, LA-ICP-MS was used to determine the diffusion of zinc acetate dihydrate, D ~ 3 x 10-4 nm2.s-1. The large differences between the molecules are accounted for by proposing ordered solvent and structure assisted accelerated diffusion of the Rhodamine B based on its hydrophilicity relative to the zinc compounds. The broader implications and applications for filtration, molecular sieves and a range of devices and uses are described.

cond-mat.mtrl-sci