GolAnd071 / macroproject_4sem

Simulation of snowflake formation
MIT License
0 stars 0 forks source link

increasing concentration bug #6

Open Ronningen opened 1 year ago

Ronningen commented 1 year ago

Looks like diffusion code makes several enormous spikes of positive concentration near to crystallising area instead of slightly decreasing the gradient of the whole nearby area. I do not know if a problem is at algorithmic or physics part.

https://github.com/GolAnd071/macroproject_4sem/blob/d633a1aa52a6d1601012d46d24292eeabcdbe5ae/src/Simulation.cpp#L202 https://github.com/GolAnd071/macroproject_4sem/blob/d633a1aa52a6d1601012d46d24292eeabcdbe5ae/src/Simulation.cpp#L182 bug

Ronningen commented 1 year ago

I've found, It's all about too high D_0. Ivan, it's your time to tune all parameters!