Wenova Labs / Case study

A research-grade physics simulation, started from one prompt

It began as a small hobby question about how the Moon was born. With AI agents, established research codes and an ordinary laptop, it became a validated simulation of the Moon-forming impact, then a film and an interactive 3D view. Work that, in our assessment, used to take a research team weeks or months took a few hours of human work and a few days of machine time.

1 prompt
started the work, and a work plan was made from it
a few hours
of human work: decisions, approvals and feedback
5.5 hours
for the first full run on a laptop processor, with 99,747 particles
about 250 USD
actual cost of a rented Azure HPC machine (176 CPU cores, 768 GB memory) for the high-resolution run, 931,643 particles

Then and now

What has changed

Until recently

  • Weeks to months of work before the first credible result
  • A team with simulation and programming expertise
  • Access to a research computing cluster
  • A separate team for visualisation and film

Today

  • A few hours of human work and a few days of machine time
  • AI agents that build, run, check and document the work
  • An ordinary laptop, or a few hundred dollars of rented cloud capacity
  • Film, 3D view and short videos from the same data, in hours

The left column is our assessment of a typical research project, not a measurement. The right column is what this project used.

The starting point

A small hobby idea

It began with curiosity. The Theia hypothesis says that the Moon formed when a Mars-sized planet struck the young Earth about 4.5 billion years ago. The videos of the collision we found did not look physically convincing, so the question became whether it could be done properly.

Properly meant that the motion is neither drawn by hand nor generated by AI. Today's AI video generators have no physics engine of this kind, at most they imitate motion learned from other footage. Here the motion had to come from the codes planetary scientists use in published giant-impact studies, and the results had to be checked before anything was shown.

One prompt, one plan

The work started from a short prompt. A work plan was made from it: a project brief with hard rules, and the phases as tasks in order, each with its acceptance checks. Then two short prompts handed the plan to the AI agents, one for each working environment (original text, in English):

The prompt the plan was made from

I would like a physics simulation that shows the collision of Theia and Earth and the formation of the Moon. Build the project by the Wenova OS rules, make the project plan and the tasks in Linear, and name the project sci-giant-impact.

Recalled from memory and translated from Hungarian, not a verbatim quote.

  1. Windows session

    Linear: Wenova team, project "sci-giant-impact" (P-WEN-15). Read the project description, then work the [Windows] issues (WEN-763 to WEN-766) in blocked-by order, following the Wenova working rules. Keep the issues up to date in Linear and talk to me in Hungarian.

  2. Linux (WSL) session

    Read AGENTS.md and the Linear project P-WEN-15, then work the [WSL] issues WEN-767 to WEN-772 in blocked-by order, fully autonomously, following the repo rules. Talk to me in Hungarian.

The plan the agents worked through

  • Brief and hard rulesEstablished research codes only, never a simplified substitute. A separate reviewer at every step. An honest report of what the result can and cannot claim.
  • PreparationA sandboxed Linux environment on the laptop, the tools and a code repository.
  • Build and set-upBuild the simulation code with planetary physics, fetch the material tables, build and settle the two planets.
  • Test, size, runA short test run, a measured estimate of the run time, then the full run.
  • ReportAnalysis, checks and a report of the results and their limits.

Result: AI agents that work the tasks in order, with an independent check at every step

One prompt, a plan with its rules and tasks, and two short prompts that started the agents.

From then on the work mostly followed the plan. People answered the agents' questions and made the decisions. The later stages, from the film and the 3D view to the high-resolution cloud run, were added by further requests and planned the same way. People decided where the archives live, which narrator voice to use, whether to rent cloud time and what to publish.

The method

AI agents that build, and agents that check

Each step was done by one AI agent and checked by another, independent one. People set the goals and made the decisions.

  1. TaskA goal and its acceptance checks, from the plan.
  2. Maker agentDoes the work and runs the checks.
  3. Independent reviewerA separate agent with a fresh view checks the result against the raw data, without the maker's reasoning or a preferred verdict.
  4. People decideThey approve, choose between prepared options and give feedback. Corrections become rules for the next time.
The loop every step went through.

The agents were Claude Code sessions.

Pipeline

From planet profiles to a film and a 3D view

Every stage uses an established tool. The physics stages are checked before the next one starts, and the media have automatic checks.

  1. Physics

    1. PlanetsWoMaLayered profiles of the proto-Earth (0.887 Earth masses) and Theia (0.133): iron core, rock mantle, particles of equal mass.
    2. SettlingSWIFTEach planet runs alone for 10,000 s until it is in hydrostatic balance, so numerical noise does not mix into the impact.
    3. ImpactSWIFT + ANEOSSmoothed-particle hydrodynamics with self-gravity and research equations of state for rock and iron. 45 degrees, 9.04 km/s, with 99,747 particles on the laptop and 931,643 on a rented Azure HPC machine (HB176rs_v4).
    4. Validationswiftsimio + own scriptsConservation laws, three resolutions, comparison with published results.
    5. Moon accretionREBOUNDAn N-body continuation of both debris discs over one simulated year, seven realizations each. Every disc particle becomes a body, and in the cloud run a self-gravitating clump becomes a single body.
  2. Media

    1. RendersPyVista, three.jsKey frames, 3D videos and the films. The impact and disc scenes are drawn from the simulation data, the epilogue about Earth's later history is an illustration.
    2. Narration and musicElevenLabsHungarian and English narration and an instrumental score, with automatic checks for wrong words and for any voice in the music.
    3. Subtitlesforced alignmentThe subtitles are the narration transcript, aligned to the audio.
  3. Sharing and archive

    1. 3D web viewwenova.ioEvery particle of the run in the browser, with time, colour modes and a particle inspector, followed by the first year of the N-body continuation.
    2. Short videos16:9 and 9:16Hungarian and English versions for each platform format.
    3. ArchiveGitHub ReleasesVersioned releases with a checksum manifest: runs, renders, N-body runs, films, web data.
The production chain in three groups. Every output that takes more than minutes to reproduce is archived.

Validation

What the simulation can claim, and what it cannot

A simulation is only useful if you know how far to trust it. We checked the conservation laws, compared three resolutions and compared the results with published work.

Conservation on the laptop run, over 29.65 simulated hours

-0.035%
total energy drift (largest deviation 0.10%)
+0.10%
angular momentum drift about the centre of mass, counting the 93 particles that left the simulation box
0.094%
of the mass left the box
44.999°
impact angle in an independent orbit check (target: 45°)

Ten times the particles, at the same moment

Quantity99,747931,643Result
Theia material in the disc (%)6564agrees
Theia material in the planet (%)12.312.0agrees
Share of Theia's core that ends in the planet (%)96.296.7agrees
Disc mass, sum over particles (lunar masses)0.741.35not converged
Iron in the disc (%)15.67.7not converged
Moon mass from the scaling formula, an estimate (lunar masses)0.591.53not converged
The laptop run against the cloud run, both 29.4 hours after the start of the impact. Column headings are the initial particle counts. Bars are scaled per row. The disc and iron rows are sums over particles, each particle judged by its own orbit. The Moon row is the Canup (2004) scaling formula applied to the disc, an estimate and not the mass of a body. In the cloud run a self-gravitating clump forms in the impact (0.825 lunar masses at 36 hours), and the particle sum splits it: counting clumps as bodies, 1.69 lunar masses orbit the planet at 29.4 hours.

The Moon that forms from the disc

The impact simulation ends after 30 to 36 hours, while the Moon gathers over months. We continued the disc of both runs with an N-body code for one simulated year. The process is chaotic, so a single run is not a measurement: we ran seven realizations with the same settings from each disc, plus two sensitivity runs from the laptop disc. Every mark below is the mass of the largest body after one year.

Largest body after one simulated year, in lunar masses. Laptop disc: seven realizations 0.31-0.47, median 0.39, sensitivity runs 0.50 with half the time step and 0.29 with more elastic collisions. Cloud disc: seven realizations 0.83-1.19, median 0.90. Its largest body is always the clump from the impact, and in the run shown in the 3D view it reaches 0.99 lunar masses on an elongated orbit. In four of the seven the body swings out so far that the Sun, which the model leaves out, would matter (hollow circles). The three that stay within the model's range give 0.87-1.19. Dashed lines: the scaling formula on each disc at the moment the N-body run starts (0.59 at 29.4 hours, 1.71 at 36 hours), an estimate rather than a body.

It can claim

  • The full physical chain (SWIFT planetary hydrodynamics, ANEOS rock and iron, WoMa initial conditions) runs on a laptop processor and conserves energy to 0.04% and angular momentum to 0.1%.
  • The large-scale results that agree across resolutions: 96-98% of Theia's core ends in the planet, about 12% of the planet is Theia material, and at the two higher resolutions about two thirds of the disc is Theia material.

It cannot claim

  • The Moon's mass. The scaling-formula estimate is 1.15 lunar masses at the test resolution, 0.59 on the laptop and 1.53 with ten times the particles. The largest body after one simulated year is 0.31-0.47 from the laptop disc and 0.83-1.19 from the high-resolution one. Not converged.
  • The iron content of the disc. On about 140 iron particles it was 15.6%, and with ten times the particles it fell to 7.7%.
  • Whether a clump or a moon forms directly after the impact. With ten times the particles a self-gravitating clump of 0.825 lunar masses forms. On the laptop none is larger than 0.12. Published work needs more than 10 million particles to settle this.
  • The final Moon. The N-body model leaves out gas, melt, tides and the Sun, it starts from unconverged discs, and after one year the Moon still moves on an elongated orbit.

Compared with published work

  • The set-up matches the canonical case of Canup (2004): an impactor of about 0.11-0.14 Earth masses, a glancing impact near the escape speed, a total angular momentum of 1.25 times today's Earth-Moon value, within the published 1.1-1.3.
  • On the laptop our disc (0.74 lunar masses, summed over particles) and the formula estimate (0.59) were at or below the low end of the successful published cases, where the disc typically has 1.5-2 lunar masses and the Moon about 1. With ten times the particles they are 1.35 and 1.53, and the largest body after one year is 0.83-1.19 lunar masses, a range that includes today's Moon. Two resolutions are not enough to show convergence.
  • Kegerreis et al. (2022) found that the outcome keeps changing up to 10⁷-10⁸ particles. Our three resolutions, all far below that, fit this.

The report states that its literature ranges are typical values from the cited papers, recalled rather than quoted.

From simulation to presentation

Results that people can see

The same data became a film, short videos and an interactive 3D view. Each took hours, not weeks. In the impact and disc scenes the positions and motion come from the simulation, and from the contact on the glow colour follows the simulated internal energy. Surface patterns, lighting and the later cooling are an artist's interpretation, and the film's epilogue about Earth's later history is an illustration. The videos say so.

  • Explainer filmAbout three minutes, Hungarian and English, with narration, music and subtitles: the impact and the Moon from the simulation, then an illustrated epilogue on what it meant for Earth.
  • Short videos15, 30 and 60 seconds of the impact from the high-resolution run, in landscape and portrait, for every platform.
  • 3D web viewEvery particle of the run in the browser, then the first year of the Moon's growth: turn the view, move through time and inspect any particle.

What this means

Research-grade modelling is within reach

The codes research labs use are open, and AI agents can now build, run and check them. A complex physical model, a simulation or another multi-step technical job no longer needs months and a specialised team to get going: with a clear brief, explicit rules and independent checks it takes hours of human work and days of machine time, on your own computer or on rented capacity.

The results can then be shown in a way people understand: a film, an interactive 3D view, a short video. That helps a research or engineering team explain what it found, and it gives marketing and sales an accurate, spectacular demonstration.

There are limits. People still make the decisions and approve what is published, and a passing check does not prove every claim, which is why we state what the simulation cannot claim. This project is a demonstration, not a client delivery.

Explore the simulation in 3D

Sources

This case study is based on the project's report, review records and archive manifest, its Linear project and the session logs. The project repository is private.

Talk through your challenge

What would you like to change?

A stalled rollout. Too much manual administration. A business idea worth exploring. Tell us what matters to you.

Talk through your challenge
Open website feedback or report an issue.