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

Possibilities to influence Simulation in CFX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2014, 04:07
Default Possibilities to influence Simulation in CFX
  #1
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
Hello there,

step by step I gather my experience with CFD. After a succesfull meshing with ICEM, I'm working with CFX now.

I've made my first simulations to start slowly. After that I've made a study for mesh independence for my simulation.
For that my first mesh had ~ 6,5 million hexas. After that I refined the mesh. The second simulation had ~12 million cells.
In both cases I worked with y+ ~= 50 and k-epsilon turbulence-model.

The pictures I atached shows the simulation with 6,5 million cells (~2450 Iterations) and then the simulation with 12,5 million cells.
I think, that the mesh refinement didn't take much influence of the results (except the rms of heat transfer).

Now my question:
What can I do for better results ?
My opinion is to use the SST-turbulence-model instead of k-epsilon and/or to change anything on timescale.
Unfortunately I don't know what I have to do with timescale and how to change it. The only thing I know from the Docu of CFX is, that the simulation will be more instable when I enlarge the timestep.

Can anybody give me some tricks or tips how to handle the simuation/mesh on this point.

Thank you for you answer

Greets
Attached Images
File Type: jpg rms_momentum_mass.jpg (44.8 KB, 22 views)
File Type: jpg rms_heat_transfer.jpg (34.8 KB, 17 views)
File Type: jpg rms_turbulence.jpg (37.0 KB, 14 views)
File Type: jpg monitor_pressure.jpg (45.4 KB, 14 views)
File Type: jpg monitor_velocity.jpg (44.0 KB, 13 views)
biro is offline   Reply With Quote

Old   September 23, 2014, 04:10
Default
  #2
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
for completeness the results for the tempeture on my monitor points
Attached Images
File Type: jpg monitor_temperature.jpg (46.8 KB, 16 views)
biro is offline   Reply With Quote

Old   September 23, 2014, 05:59
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your simulation is probably not converged tight enough. This FAQ gives some tips: http://www.cfd-online.com/Wiki/Ansys...gence_criteria
ghorrocks is offline   Reply With Quote

Old   September 24, 2014, 09:04
Default
  #4
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
Thank you for your answer.

I took a look on the residuals in Post. I think, thats not the problem. The max residuals are outside the interesting areas.

I will try do change the timestep.
When I get any results i will report

Greets
biro is offline   Reply With Quote

Old   October 21, 2014, 11:30
Default
  #5
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
If I set the physical timestep to the "residence Time", like the FAQ said, the simulation will stop by the first iteration with "Overflow error".

Should I try to increase the physical timescale in more, small steps ?
biro is offline   Reply With Quote

Old   October 21, 2014, 12:04
Default
  #6
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
Decrease the time step if you are having overflow errors.

And check your setup.
JuPa is offline   Reply With Quote

Old   October 21, 2014, 18:05
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The overflow error is an FAQ as well: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F
ghorrocks is offline   Reply With Quote

Old   October 22, 2014, 04:03
Default
  #8
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
Thank you for you answers. I haven't seen the the chapter about the "Overflow error".

I decreased the timestep and after some attempts the simulation starts (with timestep = (residence time)/8).
After some iterations i will increase the timestep.


Thank you for your help!
biro is offline   Reply With Quote

Old   October 23, 2014, 03:40
Default
  #9
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
My Simulation has finished, but I have different opinions about converging.

The residuals seems to be godd, but when I look at the imbalances, the p-mass imbalance are to high (about over 3%) (see the picture).
Also the pressure at the interesting point has imbalances.
Are these imbalances ok or are they too large ?

How can I decrease the p-mass imbalance ?
I try to choose a larger timestep, like earlier posts.
Another Idea iss to use the SST-turbulence modell.


My boundaries:
Inlet: total Pressure and total Temp at Inlet
Outlet: Opening with Pressure and Temp
k-epsilon turbulence modell

Thank you for you help!

Greets
Attached Images
File Type: jpg residuals.jpg (34.8 KB, 10 views)
File Type: jpg imblances.jpg (39.5 KB, 10 views)
File Type: png pressure.png (28.7 KB, 9 views)
biro is offline   Reply With Quote

Old   October 23, 2014, 07:06
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Back to this FAQ now: http://www.cfd-online.com/Wiki/Ansys...gence_criteria

Once you have the basic simulation working the most effective way of improving convergence is ALWAYS better mesh quality. Even if you think the mesh is pretty good you can make it better and convergence will be better.
ghorrocks is offline   Reply With Quote

Old   October 23, 2014, 07:46
Default
  #11
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
I think my mesh has a good quality. I will try to get a better mesh quality, but I think it's difficult.

I hoped there is another answer
biro is offline   Reply With Quote

Old   October 26, 2014, 07:19
Default
  #12
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
I worked on my mesh and finished it with essential better quality then before.

But in the results I didn't see plenty changes. Especially the Imbalance of mass is very high. At the monitor points the pressure has unwanted imbalances, too.
I calculated with auto timescale and timescale factor = 1.0.

Right now I run the simulation with auto timescale and timescale factor= 10.0. But I don't realy know, whether there are changes at the results.


In my opinion I followed all steps in the FAQ, which was posted earlier, to get better convergence or is there anybody with other ideas ?
Should I run a transient simulation ?
Attached Images
File Type: jpg residuals.jpg (34.3 KB, 4 views)
File Type: jpg imbalances.jpg (54.0 KB, 5 views)
File Type: jpg pressure.jpg (49.7 KB, 5 views)
biro is offline   Reply With Quote

Old   October 26, 2014, 16:23
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You are getting a periodic signal in your traces which suggests it is modelling a periodic flow feature like vortex shedding. The FAQ says on this issue:

Quote:
A physical instability, such as vortex shedding - the fix here is to use a larger timescale, a coarser mesh in the vortex shedding region, decrease the blend factor (if using hybrid differencing) or use a lower order turbulence model. The first option is preferred as the latter options can have accuracy implications.
If these do not work it means that your simulation is transient and cannot be run steady state.
ghorrocks is offline   Reply With Quote

Old   October 27, 2014, 00:18
Default
  #14
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
Ok, I try to use a larger timestep in my actual simulation. This evening I will have results for that.

How can I find the region of vortex shedding ? So that I can edit my mesh to a coarser mesh in this region.
biro is offline   Reply With Quote

Old   October 27, 2014, 00:30
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Put the equation residuals in the results file and look for regions of high residuals.

If there is big shedding you can just look at the velocity vectors and find the region of shedding. It is usually behind a bluff trailing edge of a body.
ghorrocks is offline   Reply With Quote

Old   October 27, 2014, 03:19
Default
  #16
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
yes, I found the region directly. Just putting streamlines for velocity in cfx post.

I will build a coarser mesh in this region.


and again thank you for the extensive help
biro is offline   Reply With Quote

Old   October 28, 2014, 08:21
Default
  #17
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
The shedding region take influence of the interesting flow region, so I decide to try a transient simulation.

If I already change from steady state to transient there are information about "time duration", "time steps" and "initial time" needed. I don't know anything about these values. Is there a guide, which I can read, to understand transient simulation ?
biro is offline   Reply With Quote

Old   October 29, 2014, 05:16
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The recommended approach is to use adaptive timesteps. Set it to home in on 3-5 coeff loops per iteration, and make the minimum and maximum allowable time step wide enough that it will never reach it. Then the solver will find the correct time step size by itself.
ghorrocks is offline   Reply With Quote

Old   October 29, 2014, 09:21
Default
  #19
Member
 
Robert Bischof
Join Date: Aug 2014
Posts: 56
Rep Power: 12
biro is on a distinguished road
Can I set "Time Duration - Total time" to a high value and stop the simulation on my own, like a steady state simulation, when the results are ok (for my opinion) ? Or should I set a "maximal Number of Timesteps" ?

Can I use the last timestep size from steady state simulation to use as initial timestep and should I set "initial time - option" to "automatic" ?

I think, I should not change the default settings of "First Update Time", "Timestep Update Frequency", "Timestep decrease factor" and "Timestep increase factor".
Is this right ?
Attached Images
File Type: png settings_transient.png (28.7 KB, 6 views)
biro is offline   Reply With Quote

Old   October 29, 2014, 17:31
Default
  #20
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Unless you know what you are doing leave all the defaults as they are. You need to define values for the 4 blank cells. If you only care about the final result then make the total time big (1e10) so you can run it and stop it manually when you have the final answer, set the min and max to be small and big (1e-10 and 1e10) and the intial time step what ever your initial steady state time step ended up being.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CFX vs FLUENT for particle tracking simulation iman ANSYS 2 August 31, 2012 20:34
nucleate boiling simulation in CFX Anil CFX 3 August 25, 2010 14:18
CFX steady simulation gharek CFX 1 April 7, 2010 18:41
2D simulation - ICEM meshing for CFX question Ben Makhal CFX 5 April 11, 2007 08:44
Simulation of turbine cascade in CFX. Jonas Pedro Caumo CFX 0 December 9, 2006 13:54


All times are GMT -4. The time now is 16:19.