Picongpu: Temperature setting is correct in 0.4.0-rc1

Created on 3 Sep 2018  路  6Comments  路  Source: ComputationalRadiationPhysics/picongpu

After some strange simulation results and an initial offline discussion with @ax3l the question was, whether the temperature setting is still correct.
This question was also mentioned/raised in #2687.

I analyzed the simulations and it looks like setting the temperatures is correct.
Below you can find the results.
Particles have different masses, drift velocities and temperatures.
The transparent colors represent the simulation data (histograms from the macro-particle momentum) while the solid lines represent the expected distribution from the Maxwell-Boltzmann distribution.

equal mass (electron), T_0=50 eV, T_1 = 30 eV, + drifts
image

equal mass (electron), T_0=50 eV, T_1 = 10 eV, + drifts
image

equal mass (electron), T_0=50 eV, T_1 = 5 eV, + drifts
image

different masses (ions), T_0=50 eV, T_1 = 30 eV, + drifts
image

different masses (ions), T_0=50 eV, T_1 = 10 eV, + drifts
image

different masses (ions), T_0=50 eV, T_1 = 5 eV, + drifts
image

(the x-axis represents the velocity normalized to the speed of light, the y-axis is the normalized distribution probability)

question

All 6 comments

This issue was just opened for future references after discussion it with @psychocoderHPC.
Since there is no error in the current implementation, I will close this issue.

Excellent, thank you for testing and documenting the result. :+1:
You tested in 0.4.0-rc2, right?

No, not quite, I tested it with 0.4.0-rc1.

That's ok as well, rc1 fixed the RNG on CPU, rc2 does contain fixes that do not affect your test: #2686

@ax3l Did you mean the 6f172c1e8 Rng: add std::random_device gen fix from alpaka?

yep

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PrometheusPi picture PrometheusPi  路  3Comments

berceanu picture berceanu  路  4Comments

cbontoiu picture cbontoiu  路  3Comments

mikewang2000 picture mikewang2000  路  3Comments

HighIander picture HighIander  路  4Comments