CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Flow arround a train in a tunnel

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By CeesH
  • 1 Post By swtbkim
  • 1 Post By CeesH
  • 1 Post By CeesH
  • 1 Post By swtbkim

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2014, 03:53
Default Flow arround a train in a tunnel
  #1
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
Hello to everyone. I'm new in CFD and I really need your help.
I'm trying to simulate a flow arround a train in a tunnel so the train is represented by a box and the tunnel by an enclosure.so the problem is same like an elevator problem. The length of the train is 0.7m while the length of the enclosure is 7m in front the train and 7m behind the train. My scheme is: a fixed train in space while air and walls pass by at a constant speed. The walls are moving walls in translational motion relative to adjacent cell zone. The solver is "pressure-based", "k-epsilon Realizable" model with "non-equilibrium wall functions", boundary condition on "velocity inlet" and "pressure outlet", solution methods scheme is:
1) for first 100 iter: "simple" with "first order upwind" for momentum , turbulent Kinetic Energy and Turbulent dissipation rate
2)after 100 iter: "simple" with "second order upwind" for momentum , turbulent Kinetic Energy and Turbulent dissipation rate

Is it a good conditions for my case?

After 2000 iter I got these results:
1)scaled residuals reach the number 1.65e-02 oscillating between 1.6e-02 and 1.7e-02
2)velocity in x,y and z directions reach 1.36e-05, 1.06e-05 and 8.42e-06 respectively with small oscillations arround that values
3)k and epsilon reach 3.7e-05 and 1.02e-04 respectively with small oscillations arround that values.

Can I consider it as convergence?

And also the mesh have to be fixed or I must impose some condition to make it sliding and how to do it?
Artur.Ant is offline   Reply With Quote

Old   August 12, 2014, 04:16
Default
  #2
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Hi Artur,

If you don't consider the in- and outlet of the tunnel but only the constant internal part, using a moving wall sounds fine to me.

In terms of convergence, the residual of 10^-2 is a bit high, but the residuals themselves are relative values and therefore not the best way to judge absolute convergence. What would be better is to:

- set something like volume-mean velocity, or another (integral) parameter of interest as a monitor
- see when that reaches a constant value.

This is a better monitor for convergence, if that quantity oscillates the solution is not converged, regardless the residuals.

Anyway, I guess with 10^-2 residual (for momentum I guess?) you should probably iterate a bit more. Did you try lowering the underrelaxation factors? Or refining your mesh in regions where you expect steep gradients?

Best,
Cees
Artur.Ant likes this.
CeesH is offline   Reply With Quote

Old   August 12, 2014, 04:38
Default
  #3
Senior Member
 
Sangwoo Kim
Join Date: Jul 2014
Location: Seoul, South Korea
Posts: 115
Rep Power: 11
swtbkim is on a distinguished road
I agree with Cees.
Residual is just one of the many kind of criteria for convergence. you need another parameters. If you are interested in drag, friction, mean velocity, pressure, or whatever, you should check the variation of the very parameter directly.


And, I guess residual of 10e-2 is continuity.
If it is, it may be because of the intrinsic unsteadiness of blunt body: mainly by vortex shedding behind the blunt body.
If you are interested in the flow itself near the train, you should use transient solver.


Plus, I heard that the number of iteration is also important in simulating external flow. I was advised to keep calculating, watching parameters, even though the default residual criterion is satisfied.
Artur.Ant likes this.
__________________
Best regards
swtbkim is offline   Reply With Quote

Old   August 12, 2014, 05:20
Default
  #4
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
Thank you a lot.
Yes 10e-2 is residual continuity.
And yes I am interested in external flow arround the body.
I refined the mesh with a "box of influence" where I expect gradients and I can't refine it anymore because I got an old computer and I reach the maximum number of elements it can resolve in fluent.
Now I will try to iterate some more, lowering the underrelaxation factors.
Can you explain me what is a transient solver and how I can set it?
Thank you a lot again.
Artur.Ant is offline   Reply With Quote

Old   August 12, 2014, 06:17
Default
  #5
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Hi Artur,

I also agree on the number of iterations - I see that clearly in stirred tank simulations, where the residuals may be satisfied but the flow did not reach the expected pattern yet.

Regarding transient simulation; you can set it under solution setup --> general --> transient.

There are a few more things to set now. Under solution methods you can choose if you want 1st or 2nd order time stepping (same as with spatial discretization, a trade-off between speed and accuracy). In the `run calculation' part you can set number of timesteps, timestep size and iterations per timestep.

The number of iterations per timestep should be somewhere between 20 and 50. (You don't need that many, because in transient the solution of t is the initialization for t+1, and the 2 should be rather close to eachother). If you need much less, take bigger timesteps. If you need more than 50, you are likely better off taking smaller timesteps.

Best,
Cees
Artur.Ant likes this.
CeesH is offline   Reply With Quote

Old   August 12, 2014, 06:53
Default
  #6
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
CheesH and swtbkim thank you a lot. I will follow your advices and run another simulation.

Best regards.
Artur.
Artur.Ant is offline   Reply With Quote

Old   August 12, 2014, 07:12
Default
  #7
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
I got another question:
What kind of "viscous model" should I use? Is it ok to use "k-epsilon" or should I choose another model?
Artur.Ant is offline   Reply With Quote

Old   August 12, 2014, 08:43
Default
  #8
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Well, k-e is based on the assumption of isotropic turbulence, which does work well in unidirectional (pipe) flows typically, but not so much in boundary layers. It depends a bit on what you want to know, and how accurate you want it to be. So my suggestion there would be to look at:

- What is the theory/assumption behind different turbulence models
- Under what conditions are they known to operate well, and under what conditions not
- what is the degree of accuracy I want

Remember, it is very likely you will get some results, but how good they are depends fully on the things you set, assume, and how well you understand them. So do make sure you know what the background of your models is.
Artur.Ant likes this.
CeesH is offline   Reply With Quote

Old   August 12, 2014, 08:51
Default
  #9
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
Thank you. You helped me a lot.
Artur.Ant is offline   Reply With Quote

Old   August 12, 2014, 09:49
Default
  #10
Senior Member
 
Sangwoo Kim
Join Date: Jul 2014
Location: Seoul, South Korea
Posts: 115
Rep Power: 11
swtbkim is on a distinguished road
Just FYI, I'm simulating a flow around a car, especially inside the wheelhouse and I decided to use sst k-w model, because it is known as well-predicting the separation of boundary layer.

I compared some papers, authors' comments about their turbulence model, and considered Fluent Theory guide Ch.4 Turbulence.

Choosing turbulence model is very difficult stuff. A lot of CFD papers consist of comparing many turbulence models and experimental values and suggesting that this model is suitable in this case.


In my very personal opinion, sst k-w model is ok in your case, too. but i'm not sure.

It will be also very good to try a few models and validate them
Artur.Ant likes this.
__________________
Best regards
swtbkim is offline   Reply With Quote

Old   August 13, 2014, 09:38
Default
  #11
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
Thank you. Now I'm reading some papers too, about turbulence models. It's the first time I use a CFD and I'm very glad I found You. You helped me a lot!
Artur.Ant is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
free surface flow arround a ship hull pavel915 FLUENT 0 April 1, 2009 01:55
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 05:44
flow arround porous block Rachid FLUENT 5 April 19, 2005 08:44
Air Flow within a Wind Tunnel Question Paul Kleinmeulman FLUENT 3 January 12, 2005 19:09
Kármán vortex street in cavitating flow behind bodies in the cavitation tunnel L. Könözsy Main CFD Forum 0 April 17, 2000 13:16


All times are GMT -4. The time now is 02:42.