|
[Sponsors] |
Need help with post processing transient simulations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2017, 19:44 |
Need help with post processing transient simulations
|
#1 |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Hello. I am trying to reproduce an article's results where a DNS simulation of flow in a gradually expanding pipe is done. This (http://imgur.com/wIe5AmD) is the domain. d = 1cm.
After nearly ten days, I have 7 seconds of the solution. But the fluid has yet not completely passed through the entire outlet pipe even once (since it is so long). I know that it doesn't make sense to compute numerical quantities (friction factor, velocity fluctuations etc) if the flow field has not been solved in the entire domain even once. But I have to compare some numerical quantity to validate my simulation. Is there anything at all that I can compare with a partial solution? If it matters, I am using ANSYS Fluent. |
|
February 23, 2017, 23:31 |
|
#2 | |
Senior Member
Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 15 |
Quote:
|
||
February 24, 2017, 04:32 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
No, you can't. Then, even when you get a developed flow you still need to run the solution further to sample the field for the statistics. I suggest to control the time evolution of the total kinetic energy and wait until it oscillates around an average value. |
||
February 24, 2017, 05:12 |
|
#4 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
If it took 10 days to compute less than 1 flow-through time, there is really no point in continuing with this simulation as is.
You should very carefully examine every aspect of the setup of your simulation to see if you can save computational costs and/or get much more computing power. |
|
February 24, 2017, 07:14 |
|
#5 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
No, I did not start form a laminar solution. Even if I wanted to, I don't think it is possible in this case as turbulence is triggered in this due to the divergence of the pipe. So residuals would have never converged for a steady laminar case. I initialized it from the inlet conditions. So pretty much everything in the rest of the domain (where the flow has not reached) is garbage data right now. |
||
February 24, 2017, 07:18 |
|
#6 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
If you don't mind, could you please clear a doubt of mine? The author says that local turbulence (seen through vorticity along the center line)first travels downstream, stops for a brief moment, then travels upstream and then stops at a certain axial position and becomes spatially constant. But for me, it is only traveling downstream. It should've started traveling upstream around 4s and reached final position around 6s. So will the behavior, as reported by the author, only happen when the fluid completely passes once or there is something with my solution so far? |
||
February 24, 2017, 07:23 |
|
#7 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
Yes, I have stopped simulating it now cos it would take a month for the fluid to pass through just once. Moreover, I would then have to make a DNS worthy mesh throughout the entire domain which is computationally impractical here, given the resources I have at my disposal. The author reports advection of turbulence in his article which is basically what I wanted to reproduce. But I am not getting his trend/ pattern. I have asked about this to in my reply to FMDenaro. Would you happen to have an idea regarding that? |
||
February 24, 2017, 10:50 |
|
#8 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
I haven't read the paper describing this problem. However, let me say that is not clear to me a "local turbulence" that travels... I can imagine mass, momentum and energy as transported variables that travel along the pipe. You can consider the kinetic energy also. But from what you wrote, I suppose you have a compressible code, right? |
||
February 25, 2017, 03:15 |
|
#9 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Just avoid statistics, especially the low frequency stuff. These problems with localized turbulence generally usually have small length scales that decay rapidly so that they're quickly decorrelated. Most of the flow simply gets advected downstream anyway so you don't need to worry about a sort of demon sitting downstream that is firing bad turbulence upstream. Just make sure there is enough flow-time for the inlet to arrive at the location you are interested.
Usually it is pretty easy to tell in 2D plots where the actual usable result is and where the garbage is or if you get a result and also very easy to tell in your spectra. It's even easier if you're reproducing something someone else has done before (i.e. you can compare your result to a known solution). Long problems are a pain. =( I've also been waiting over a month for a problem. |
|
February 25, 2017, 03:24 |
|
#10 | |
Senior Member
Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 15 |
Quote:
Based off what the topic creator has told us, they have not even reached a fully turbulent state nor checked to see if the simulation is experiencing turbulence. Anything they try and compare at this point is invalid. |
||
February 25, 2017, 04:36 |
|
#11 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
yes, I agree, statistics are the only way to assess the quality of the DNS/LES solution...but maybe LuckyTran was considering the fact that during the numerical transient stastistics are not necessary.
However, can we know the number of grid points used for the simulation? and the formulation? |
|
February 25, 2017, 13:32 |
|
#12 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
This is EXACTLY what my prof said, word for word. He was like since the pipe is so long, the solution way downstream wont matter too much anyway. As long as it passes through the region of interest (the gradual divergence in my case) , you can compare local quantities for that region. Problem is, the author of the article doesn't give much numerical data for comparison concerning only that region but rather the entire outlet (Cf, for example) after the flow field has been solved for the entire domain. There is just one graph wherein he plots the spatio temporal advection of stream wise vorticity along the pipe. If my simulation is correct, I should be able to get his advection trend (or similar) in the region of interest as long as I solve for that much time (flow to pass through the divergence) at least, right? I am desperately counting on this |
||
February 25, 2017, 13:37 |
|
#13 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
The statistics are not important (I think) if one wants to compare local quantities that have been evaluated for the region of interest. I should have mentioned earlier that I only want to compare a 2D spatio temporal plot of stream wise vorticity along the pipe centerline. For such a thing, statistics don't play a role, I guess. The flow never reaches a fully turbulent regime. Due to external perturbation+geometry, transitional flow is triggered but it is spatially localized. Further downstream, it is the usual laminar paraboloid flow field. For the time that I have simulated so far, transition has been triggered but not solved so much that the entire domain is solved. |
||
February 25, 2017, 13:40 |
|
#14 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
|
||
February 25, 2017, 14:07 |
|
#15 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
diggee,
I do not agree with you, many of your assumptions are not based on a real assessment...I don't know what paper are you following and I cannot judge that. But for sure, you are going to study onlu a numerical transient, without any physical meaning. To be more specific, what you would do is the simulation of the physical transient in which the flow starts from the rest and develop as in an experimentla device. To do that you should consider many unknown parameters. Just an example: are you setting a real time-dependent physically correlated inflow velocity? |
|
February 25, 2017, 14:25 |
|
#16 | |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
Quote:
As for the physical meaning, the spatio temporal variation of stream wise vorticity depicts the location of the localized turbulent patch with time. Could you please tell me what assumptions of mine are you referring to? |
||
February 25, 2017, 14:51 |
|
#17 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Not at all ... the Re_x value for a long pipe says you get a turbulent profile that, in a DNS formulation, means you have to set a 3D unsteady inflow
|
|
February 25, 2017, 14:52 |
|
#18 | |
Senior Member
Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 15 |
Quote:
2. Anything you use at this point in your simulation is likely numerical junk that isn't physically meaningful. You need to flush out the numerical junk (several flow through times) to have anything meaningful to compare to, even for transition flow. |
||
February 25, 2017, 16:27 |
|
#19 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Guys I think you are not used to the problem.
This isn't like a simulation of a globally turbulent flow where you perturb an initial solution with garbage noise and pray that that it develops into your turbulent flow. You have some inflow, all the "turbulence" is generated in the expansion. It is still DNS because just need to resolve all the scales in the expansion. You might not want to call it turbulence but just flow instabilities. Also because this isn't a fully turbulent flow, the smallest scales tend to be very large. It is a spatially localized problem. For example a turbulent jet embedded in a huge freestream. Only the flow in the vicinity of the jet is turbulent, it's inviscid everywhere else. My point is that the flow from the inlet advects downstream and undergoes or experiences the unstable flow in the expansion. Navier-Stokes may be spatially elliptic but it's still dominated by advection (remember the boundary layer equations are parabolic). Hence, you should be able to see reasonable results even though you don't have a complete flow-thru time as long as you can at least march with the flow from the inlet. You can add a little factor of safety and require double this flow-time or triple if you want. If you cannot do this marching, then you definitely need more simulation time. You can always run the simulation longer. But for looking at an initial result, I think there can be something learned and the most important features of the flow should already be present. You can even learn a lot during this numerical transient. Quote:
Right now you are able to observe the birth of the phenomena if it exists. Once you get the flow-thru time established, it will be difficult to just stop it. You'll only be able to see this phenomenon as a development on an already existing flow feature. And maybe that is what it is. When these features show up can tell you a lot of things. Now if they never show up, then you are maybe in trouble. =) |
||
February 25, 2017, 17:10 |
|
#20 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
I do not agree....why? Think a similar flow, the backward facing step with a small height. If you set a laminar profile the onset of turbulence from the expansion will be different from that you would have with a real turbulent profile. The stress at the wall is different. The reattachment lenght will be different. And having a laminar profile after a long pipe is not physically reasonable.
Therefore, you are right when you consider the flow trasport properties advected (apart from the elliptic behavior of pressure) downstream but, to simulate accurately the transient, you have to prescribe a correlated profile. The only way to do an accurate representation of this problem is to have an upward pipe sufficiently long to let the laminar profile develop in a turbulent profile before the expansion. This way you can predict the local onset of the turbulence from the expansion. Furthermore, the vorticity field advected from the inflow in the centerline is strongly affected by the assumption of a laminar profile. |
|
Tags |
dns, post procesing, transient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulations with translational periodic flow | kriver | FLUENT | 11 | April 18, 2012 06:56 |
Ansys Post processing | ano999 | ANSYS | 1 | May 27, 2011 17:24 |
NO model vs post processing in coal combustion,CFX | sakalido | CFX | 1 | April 15, 2011 15:07 |
How are a transient simulations performed?? | Luk | Main CFD Forum | 0 | October 19, 2007 11:09 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |