CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   pisoFoam basics... (https://www.cfd-online.com/Forums/openfoam-solving/105902-pisofoam-basics.html)

marupio August 12, 2012 21:00

pisoFoam basics...
 
Hello Foamers,

How do we know what time step or mesh density to use with pisoFoam? I know this should be introductory CFD basics, but it escapes me.

The pisoFoam tutorial, for instance... it is currently set to deltaT = 0.005. If I re-run the simulation with the time step 1/10 the size (deltaT = 0.0005), the results are different. The pressure field differs by 15% and phi differs by 8%.

Any insights would be much appreciated.

-Dave

akidess August 13, 2012 02:51

I don't think there's a simple answer to that. There are a priori error estimates (e.g. http://www.ams.org/journals/mcom/199...18-96-00701-6/), but their use is limited. In most cases, people have a posteriori error estimates, such as rerunning with a smaller timestep or higher mesh resolution, and then estimating the error e.g. with GCI or Richardson extrapolation. Jasak's thesis also might be a good read.

marupio August 13, 2012 18:32

Thanks. So it is just plain old trial and error, then. Man, CFD is littered with it.

Tarak August 16, 2012 20:52

Hii,

Do you have any idea about what the Mean/Max Courant Number (hence specifying the time step accordingly) should be for getting meaningful results with pisoFoam?

marupio August 16, 2012 20:56

If this is regarding the problem I was facing, the max was very small... around 10e-6. If this is a general question, then no, that's partly what I wanted to know.

-Dave

Tarak August 17, 2012 12:41

That was just a general question I was curious about.


All times are GMT -4. The time now is 08:41.