Re: question about particle-wall collision simulation



PD wrote:

> A 2D model of a gas (which is what you have) simply has to require
> conservation of momentum (in both x and y directions) and conservation
> of kinetic energy in every collision.

That is what I do.

>
> The same thing is true for a wall.
>
> What this will yield, for example, for a y-wall (parallel to y-axis) at
> x=L/2, is that
> v_x(before) = -v_x(after)
> v_y(before) = v_y(after)

This is what I do for the walls that should not be there but are the
boundery of the simulation.

>
> This is for a case where the wall does not transact energy with the
> particle. This isn't perfect, even in the case where the gas is in
> thermal equilibrium with the wall, but it's close.

What's the difference? I assume there is a chaos element in the direction
and the energy?

> If you want to add
> thermal transactions with the wall, then the easiest thing to do is to
> treat every wall collision like the collision with another particle
> having kinetic energy equal to the average kinetic energy of the
> particles in the gas.

Sounds logical. I will try that.
I assume the avarage kinetic energy of the particles of a gas:
Ekin = 3/2*k*T
In which T is the temperature of the wall.
I will assume the the wall has that kinetic energy in the direction straight
from the wall. The the energy of the gas-particle after the collision can
be calculated considering conservation of momentum and energy. Then the
delta E for the wall can be seen as a delta Q which can be translated in a
delta Twall.

I will try that. Meanwhile, I put the application on the web using webstart:
http://maarten.dootingh.nl/professioneel/heatConductionSimulation/hcsim.jnlp
HeatConductionOfGas.jar
Or you can download it: http://maarten.dootingh.nl/professioneel
heatConductionSimulation/HeatConductionOfGas.jar
This version uses an incorrect collision energy formula. You can see that
the molecules get a lower temprature than the walls when molecule-molecule
collsions occur. I hope this will be corrected once I implement the above
molecule-wall collsion formula.

Thanks

>
> PD
>
>>
>> I tried the following:
>> 1) The direction of the particle after the collision is completely
>> random. The energy is such that the temperature is equal to the
>> temperature of the wall.
>> 2) The direction of the particle after the collsion is straight from the
>> wall. The energy is such that the temperature is equal to the temperature
>> of the wall.
>> 3) The direction of the particle is such that alpha_in=alpha_out. The
>> energy is such that the temperature is equal to the temperature of the
>> wall.
>>
>> All seem to work OK, with the exception that the 2nd option requires
>> enough particles for introducing enough chaos.
>>
>> Does sombody know whether it is good physics to simulate a particle-wall
>> collision this way? Or a website where I can find theory about this
>> topic?

.



Relevant Pages

  • Re: Is physics really a matter of belief?
    ... >>So you would also claim that a particle has the same energy, ... > temperature is the only contribution to a system's total or kinetic ... If every particle had the same speed and were ... The SAME passenger, sitting in the SAME train, which is travelling at ...
    (sci.physics)
  • Re: Is physics really a matter of belief?
    ... Energy is not an intrinsic property of a particle, ... temperature is the only contribution to a system's total or kinetic ... >> If you think relativity is wrong, that doesn't make you a crackpot. ...
    (sci.physics)
  • Re: Can someone answer these simple questions for a layman re. fusion?
    ... |> form a helium nucleus plus a neutron plus energy. ... (collisions against the electrons, heating the electrons, whose ... temperature is about 200 millions Kelvin. ... double that to get the total particle one. ...
    (sci.physics.fusion)
  • Re: relativistic thermodynamics (temperature in inertial frames)
    ... particles with speed c with finite energy) in the context of classical ... the "breaking pressure" of a gas. ... Temperature should be soluable using the ... does air resistance really increase with temperature (keeping particle density constant)? ...
    (sci.physics.relativity)
  • Re: Temperature and Pressure at atomic level?
    ... There is nothing separating kinetic energy from any other ... So there, indeed, temperature is just the average kinetic ... which the spins of the particles becomes relevant to particle energy ... If you'll say "the average kinetic energy of a particle equals (up to ...
    (sci.physics)