CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   water hammer solution by finite volume method (http://www.cfd-online.com/Forums/main/71946-water-hammer-solution-finite-volume-method.html)

 A.Maleki January 20, 2010 15:10

water hammer solution by finite volume method

hi, I studied about water hammer modeling by finite volume method, so i wrote a FORTRAN 90 code to this model, where the model include : fifth- order Rung-Kutta time discretization , and Roe(scheme) for convective fluxes terms, now i have problem to compelete my model, so I hope to earn my questions reply here,
my problems:
1- how i apply dual time stepping in this model?
2- convergence of model?
I am glad to solve my problems.
Th.U

 shyamdsundar January 20, 2010 21:46

For sual time stepping, please refer the discussion :
http://www.cfd-online.com/Forums/mai...-stepping.html

For convergence of the model, I am not sure if you refer to grid convergence of the scheme. If that is the case, you can simulate the same problem in successively refined grids, and compare the order of convergence as

Order = log(e1/e2) / log(h1/h2)

where e is the error, and h is the equivalent 1D grid spacing.

You can refer the website below for grid convergence:
http://www.grc.nasa.gov/WWW/wind/val.../spatconv.html

 All times are GMT -4. The time now is 09:28.