Solely changing writeInterval's value affects the results pimpleDyMFoam  AMI
Hi
== 1 == In short, the question is that: Can specifying different values for "writeInterval" under the controlDict affect the final simulation results or not? == 2 == There are 2 cases which are identical and are run at the same workstations with the same number of parallelized subdomains. The cases are empty (i.e. no wall inside) rectangular domains wherein there are a circular rotating domain from the inlet to the outlet and the surrounding stationary domain. The inlet velocity is constant, uniform and axial only. The only difference is the value of writeInterval. 1. Case: Code:
startTime 0; Code:
startTime 0; Although the 2. case gives the expected constant axial speed unchanged, in the 1. case the axial velocity does increase/decrease at least 30% at certain regions (mostly inside the rotating domain). == 4 == If solely changing writeInterval's value is said to be impossible to cause this, I will upload all the cases and detail all the required info. Any help will be highly appreciated. Many thanks in advance. 
Hi,
The first thing that comes to mind is the question whether you limit the time step to a fixed Courant number? If so, the time step can vary during the simulation and the variation is such that the writeInterval should be matched exactly. So if you reduce the writeInterval it can be that the time steps are smaller and you do not solve exactly the same case. Regards, Tom 
Quote:

Hi,
I will rerun the cases accordingly and will mention what has been changed under this thread. Many thanks for your answers. 
I confirm that I made a mistake in settingup the identical(!) cases. Literally the previous cases were not identical.
== 1 == In the previous cases, the timestep of both cases had been adjusted during the run supposedly due to Code:
adjustTimeStep yes; In the new cases, I set up the controlDict as: Code:
application pimpleDyMFoam; == 3 == Further, this showed me the relative importance of the timestep setting in the problem whilst the results can be affected anyways. Many thanks for your help pointing out exactly where I was wrong. 
difference between timeStep and clockTime
Dear all:
I am running OpenFOAM 2.2.1, sloshingTank2D. I would like to have output at every 0.02 seconds. Can anyone tell me the advantage of using timeStep vs clockTime? It appears that both of them depend on the writeInterval to determine when to write data. If writeInterval is a real number such as 0.02, one would expect the write to occur every 0.020000000000 seconds of time. But I have seen that does not quite happen. There are instances where OpenFOAM will write the results at 0.01999999 seconds. Any suggestions will be greatly appreciated. Thanks 
writeInterval in OpenFOAM does not always write at the desired time
Quote:
Looking forward to your thoughts on this. Thanks 
All times are GMT 4. The time now is 18:26. 