CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Interpolation to Second-Order (https://www.cfd-online.com/Forums/cfx/21369-interpolation-second-order.html)

ashish June 23, 2005 07:48

Interpolation to Second-Order
 
Hi, I have a query related to transient results. I have got the first-order upwind result for a transient flow problem. Now i wish to obtain the second-order results quickly from this first order results. Is there any method by which i can interpolate thise first order results and quickly solve/ see second order solution (at the same timesteps)? in other words i have first order results for 1-10 seconds in certain timesteps can i use these results to see the results for 1-10 seconds using second-order scheme quickly? any help thanks ashish

Rui June 23, 2005 09:01

Re: Interpolation to Second-Order
 
Hi,

I think what you said doesn't make much sense. It would make sense if you were looking for a steady state solution (only one solution). But in a transient simulation if you used, for each time step, the initial solution as the final solution obtained with the 1st-order upwind scheme, every time you changed to the next time step you would loose the accuracy you have gained with the 2nd order scheme. And, to my knowledge, it's not possible to do that in CFX. So, start the simulation from the biginning, with the 2nd order scheme, and compare the results.

Regards,

Rui

stex June 23, 2005 09:31

Re: Interpolation to Second-Order
 
Maybe if you are studing a developed flow simulation (not a simulation like t=o---> velocity=0) you can start from the last timestep 1st order solution to run a 2nd order. But you just increase the velocity of the first iteration, not all the timestep.

ashish June 23, 2005 10:46

Re: Interpolation to Second-Order
 
hi all, thanks for reply. i think i will re-run using second order scheme to see any variation.

Glenn Horrocks June 23, 2005 19:28

Re: Interpolation to Second-Order
 
Hi,

I think Ashish is confused about what second order timestepping is. Second order timestepping is not equivalent to interpolating a first order timestepping solution, it means the transient terms are evaluated with a second order scheme rather than a first order scheme. The result it gives can be completely different.

You are correct in saying the only way to compare a first and second order simulation is to run both simulations from the beginning.

Regards, Glenn Horrocks

Rui June 24, 2005 10:33

Re: Interpolation to Second-Order
 
Hi Glenn,

I think Ashish meant he wants to obtain transient results using a 2nd order <u>advection scheme</u> by interpolating transient results obtained with the 1st order upwind advection scheme, as he mentioned "I have got the first-order upwind result for a transient flow problem".But I think your statement is also valid, as the results obtained with each advection scheme can also be completely different.

Regards,

Rui


All times are GMT -4. The time now is 00:07.