Is Mean Free Path useful in determining mesh resolution?
I've been trying to simulate an opening at a constant 20 psi that fills a closed space that is roughly 5''x3.33''x.214''.
I'm simulating this for 10 ms, at a timestep of 1e-5s. But my solution diverges.
I think this might be due to a poor spatial resolution in my mesh.
I read about something called the "mean free path", the average distance between collisions. Does this have any effect on what mesh resolution I need?
If so, I am simulating a blast wave, and according to wikipedia: "Shock waves are not conventional sound waves; a shock wave takes the form of a very sharp change in the gas properties on the order of a few mean free paths (roughly micro-meters at atmospheric conditions) in thickness. ".
Would my element size need to be on this 1e-6 order of magnitude to accurately simulate my model?
I am using SST for turbulence, Total Energy for thermal.
CFX is a Navier Stokes solver. This has no relation to mean free path as the NS equations assume a continuum. So mean free path tells you nothing about what is requierd to get this model to converge.
Do a mesh sensitivity study to determine the mesh size you require. And to assist convergence you almost certainly need a smaller time step.
I actually decreased my step yesterday to a 1e-6s adaptive timestep, and this also failed to converge at an adapted time step of 1e-7s about 1 ms into the simulation. This is also using the same mesh as before.
Would you happen to know what order should my time step be to accurately simulate a blast wave in such a small confined area? I'm using an RMS convergence criteria of 1e-4.
Here's a my model to illustrate:
The two Inlets have a static pressure of 80 psi, a total pressure of 160 psi, and a total temperature of 320K.
What makes you think 1e-7s is small enough? One of the commonest beginner mistakes is to use a time step which on the human scale is really small and to therefore assume that this is adequate for the simulation.
If you want to estimate the time scale required for this simulation, work out the speed of sound and how long it takes to travel one mesh element. Then divide that by about 4. This gives you a CFL number of 0.25 which is a good place to start looking for a time step size suitable for your simulation. But it is only a starting point, your actual time step could be much bigger or smaller than that.
A better way which I recommend you use adaptive time stepping, but with a starting time step of 1e-12s and let it increase to the time step it needs from there. Once you know the time step it needs you can do future simulations using this time step as a starting point.
|All times are GMT -4. The time now is 00:05.|