Fried rice cooker simulator (particle simulation)

Fried rice is wonderful! It is delicious of course, and taking into account that fried rice has been eaten in many countries in Asia, and it has many local recipes like nasi goreng or khao phat, I dare say the deliciousness of fried rice is universal.

However, it is not so easy to cook it perfectly. Taste is important of course, but the most important aspect is the texture of rice, Rice should not be sticky. The 2nd important thing is the color of rice, the color should be golden, the rice must be cooked well but not too much.

So, I stated thinking about how to cook fried rice perfectly, and the first step is simulating fried rice cooker’s behavior by particle simulation.

 

Have you ever heard of “fried rice cooker”? It costs 75,000 yen (600💲)!

↓This

 

And the following is my plan of simulating cooking fried rice.

(Step 1) Simulating fried rice cooker’s behavior by particle simulation.

-> (Step 2) Putting thermodynamics logic into the simulation.

-> (Step 3) Assessing how plausible my simulation is, and finding the best way to cook fried rice.

This time I did Step1 (C++,OpenGL)

guruguru

Outer cylinder is rotating, and inside ingredients are being mixed together. White particles represent rice, and black particles represent other ingredient(like egg). Black particles are heavier than white particles.

 

In the picture you can see black particles get together. This shows that particles tend to segregate by virtue of differences in density. It is called “particle segregation”.

 

Now I can visualize the dynamics of fried rice cooker, but rice should be fried. The next step is “(Step 2) Putting thermodynamics logic into the simulation.” Although it is not so easy because we have to think three types of heat ( thermal conduction, thermal convection, thermal radiation) and it is difficult. I haven’t solved yet.

Leave a Reply

Your email address will not be published. Required fields are marked *