|
[Sponsors] | |||||
Why decreasing time step makes diffusion more significant for diffusion equation? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#21 | |
|
Senior Member
|
Quote:
So to sum up: it appears to me now that the LTE will not increase by simply reducing the time step size; rather, the diffusion-like situation is due to the summation of errors for longer iteration. Am I correct? |
||
|
|
|
||
|
|
|
#22 | |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,043
Rep Power: 75 ![]() ![]() ![]() |
Quote:
However, the evaluation of the time accuracy makes sense if you fix dx at a value quite low. |
||
|
|
|
||
|
|
|
#23 |
|
Senior Member
|
Ok, so anyway, to be simple enough: just make sure reducing dt and dx at the same time, right?
|
|
|
|
|
|
|
|
|
#24 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,043
Rep Power: 75 ![]() ![]() ![]() |
||
|
|
|
|
|
|
|
#26 |
|
Senior Member
|
I re-ran my code with cosine wave instead of Dirac function, and with time step size decreased, the wave just diffuses faster; but eventually, the inf norms of the waves are almost of the same magnitude.
So I guess it is not accurate to say "more diffusion"; it should have be "diffuses slightly faster". |
|
|
|
|
|
|
|
|
#27 |
|
New Member
MOHAMMAD UMAIR
Join Date: Feb 2017
Location: ALIGARH, INDIA
Posts: 3
Rep Power: 10 ![]() |
The initial condition should not have a sudden jump or discontinuities. Try to adjust time-step so that Pe becomes less than 2. Note that Pe<2 doesn't necessarily mean pure diffusion. If doesn't solve solve your problem then reduce dt even further.
|
|
|
|
|
|
|
|
|
#28 |
|
Senior Member
|
I am a little bit confused by your notation: does your Pe stand for cell Re # or something else?
|
|
|
|
|
|
|
|
|
#29 | |
|
Senior Member
|
Quote:
the velocity a = 1, diffusivity = 1, and the mesh size dx = 0.05, so I guess the cell Re is much smaller than 2, and it should have not appear to have excessive diffusion for this reason.. I guess |
||
|
|
|
||
|
|
|
#30 | |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,043
Rep Power: 75 ![]() ![]() ![]() |
Quote:
The Pe_h<=2 is for the cell number, not for the global number. However, it does not depend on the time step but only on the mesh size. |
||
|
|
|
||
|
|
|
#31 |
|
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 7,043
Rep Power: 75 ![]() ![]() ![]() |
If you consider the physics you want to resolve, the global Reynolds (o Peclet) number is so small that you have a real physical diffusion that smoothes out your initial solution very fast.
|
|
|
|
|
|
![]() |
| Tags |
| diffusion equation, time step size |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
| simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
| Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 11:08 |
| Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
| How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |