TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Real-time internal combustion engine simulation

85 pointsby memorableover 2 years ago

7 comments

kqrover 2 years ago
This stuff would be great not just for sounds in game, but e.g. in racing or flight simulators I would want the plane engine realistically simulated since a large part of flying some aircraft is doing it in a way that reduces wear and tear on this critical component! Stuff like spark plug fouling, engine flooding, carb temperature effects, mixture/RPM/manifold pressure optimisation at altitude, etc.
评论 #32983182 未加载
skunkworkerover 2 years ago
Here&#x27;s a good video on how it was built <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RKT-sKtR970" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RKT-sKtR970</a>
abainbridgeover 2 years ago
I&#x27;m fascinated by how this works. Does it do any CFD type of simulation of the gas flow in the engine? Is the simulation entirely 2D?<p>I&#x27;ve thought about doing a similar project myself but would like to be able to simulate the effects of engine tuning techniques such as &quot;porting&quot; of the cylinder head. I think that is quite hard - I don&#x27;t think a simple incompressible flow CFD simulation would be sufficient. Particularly if you wanted to simulate the pressure waves in a tuned-length-induction system, I&#x27;m pretty sure you&#x27;d need compressible flow.<p>I haven&#x27;t been able to find any suitable tutorials on simulating compressible flow. Most of the teaching material I found starts with vast amounts of pencil and paper maths exercises and assumes graduate level vector calculus. I want something that starts with for loops and a hand waving understanding of the concepts of vector calculus.<p>I think you could still do something interesting in 2D. I&#x27;ve struggled to find anywhere to discuss such ideas.
评论 #32961558 未加载
ameliusover 2 years ago
Since he wrote a generic physics engine for this, I&#x27;m wondering, can it simulate musical instruments?
评论 #32966857 未加载
Simon_O_Rourkeover 2 years ago
That&#x27;s amazing! This guy&#x27;s talents are wasted working with mere mortals
7373737373over 2 years ago
I suppose refueling will become an important game mechanic in the future because of the nostalgia
评论 #32963774 未加载
gen_greyfaceover 2 years ago
amazing. a bit of smoke would be lovely.