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

CFX Modelling issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2013, 08:17
Default
  #21
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Exactly the same thing. Change your convergence tolerance from 1e-3 to 1e-4 and 1e-5 (If you can get there) and see if it makes any difference. Likewise for the time step size if you run a transient simulation - adaptive timesteps with 3-5 coeff loops per iteration is good here because it couples convergence tolerance to time step size, and means you have one less variable to do a sensitivity analysis on.
ghorrocks is offline   Reply With Quote

Old   October 25, 2013, 23:42
Default
  #22
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
How does the adaptive timestep work? Does it just vary the timestep in order to find lower residuals or something? I've put it on in my recent simulation and it dropped the time step from 1sec down to 0.5 (which I put as my lower limit because I want the simulation to finish some time soon), and its satisfying the RMS of 10^-4 and convergence of 1% within 10 coefficient loops which is much better than previously.
Ben Mc is offline   Reply With Quote

Old   October 26, 2013, 07:48
Default
  #23
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The best way to run adaptive time steps is to get it to home in on 3-5 coeff loops per iteration. Then it automatically adjusts the time step size over a series of timesteps to achieve it (if it is possible to achieve).

This is when the solver is running at its most efficient for most simulations and with good time accuracy.

10 coeff loops is too many for most transient simulations in CFX. CFX runs better with smaller number of coeff loops and smaller time steps.
ghorrocks is offline   Reply With Quote

Old   October 26, 2013, 17:16
Default
  #24
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
Yeah I think most timesteps are converging in 5 loops currently, it was higher at the beginning of the simulation.
Ben Mc is offline   Reply With Quote

Old   October 27, 2013, 06:20
Default
  #25
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That means you are pretty close to a good time step size - assuming your convergence tolerance is OK. But still you might as well use adaptive time stepping so the time step size can grow and shrink with the complexity of the simulation as it progresses.
ghorrocks is offline   Reply With Quote

Old   October 27, 2013, 16:26
Default
  #26
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
I just left convergence tolerance at 1%, that was the suggested tolerance in the workshop simulations I did. Besides, probably not worth pushing too hard for results with a coarse mesh. I'm figuring the results at this point are going to more qualitative than quantitative. Although hopefully not too far off the mark.
Ben Mc is offline   Reply With Quote

Old   October 27, 2013, 17:32
Default
  #27
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, on a coarse mesh a reasonable guess at the parameters is OK. When you are confident things are working properly then check those assumptions and refine the mesh to an accurate solution.
ghorrocks is offline   Reply With Quote

Old   October 29, 2013, 01:15
Default
  #28
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
Another question Glenn, when I analyse the simulation in Post, and plot a temperature contour along the wall, is it actually plotting Tnw (temp of the fluid directly adjacent to the wall) or the temperature of the wall? If the latter, will the convective BC continue to use Tb to calculate the heat flux throughout the simulation?

On a similar note, I think I remember reading somewhere (maybe on these forums) that the heat transfer coefficient you supply in the BC is only used as an initial value, and this gets recalculated during the simulation depending on the flow conditions at the boundary. Is that at all the case?
Ben Mc is offline   Reply With Quote

Old   October 29, 2013, 02:06
Default
  #29
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look in the documentation about hybrid and conservative values. That will answer your wall temperature question.

No, this is not correct. If the boundary is internal (eg a fluid/solid interface) then the h is calculated by the solver at all times - you do not need to define an initial value. If the boundary is external and you define it as a convective boundary then the value of h you define is used for all time steps.
ghorrocks is offline   Reply With Quote

Old   October 29, 2013, 02:33
Default
  #30
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
So since post by default displays the hybrid values, shouldn't the wall be coming up as the defined Tb in post?
Ben Mc is offline   Reply With Quote

Old   October 29, 2013, 06:01
Default
  #31
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
By default it should show the hybrid temperature value at walls, so if you have defined a wall temperature it should be that temperature.
ghorrocks is offline   Reply With Quote

Old   October 29, 2013, 06:14
Default
  #32
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
http://puu.sh/52J2K.png Any idea why this is happening? Should be at 278.15 (5C) I thought.
Also do you know how I can work out where those min/max temps are in the model, its a bit alarming that there is a 250+C spot in my room.
Ben Mc is offline   Reply With Quote

Old   October 29, 2013, 06:38
Default
  #33
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use an isosurface to find the hot spot. It can be caused by all sorts of problems from numerical problems to not setting the simulation up correctly.
ghorrocks is offline   Reply With Quote

Old   October 30, 2013, 06:21
Default
  #34
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
How can this be occurring?
Image 1 Isovolume of anything above 318K
Image 2 Isosurface of 350K
Ben Mc is offline   Reply With Quote

Old   October 30, 2013, 07:11
Default
  #35
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
How can what occur?

What boundary condition have you put on the bottom? Are you sure it is converged?
ghorrocks is offline   Reply With Quote

Old   October 31, 2013, 02:32
Default
  #36
New Member
 
Ben McWilliam
Join Date: Oct 2013
Posts: 19
Rep Power: 13
Ben Mc is on a distinguished road
Boundary condition is a wall, with heat flux specified. I mean, how can there such a small isovolume, which is defined by any temp 318K or over, and a much larger isosurface of anything at 350K?
Ben Mc is offline   Reply With Quote

Old   October 31, 2013, 06:04
Default
  #37
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That is the hybrid and conservative values. Your wall is quite hot, but the heat has not penetrated far into the domain. So you get a hot isosurface right next to the wall. Isovolume looks at the conservative values - and they are much cooler as they are further away from the wall.
ghorrocks is offline   Reply With Quote

Old   October 31, 2013, 10:07
Default
  #38
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 742
Rep Power: 26
siw will become famous soon enough
For the convergence study (and the like) log on to the ANSYS Customer Portal and view the CFX Introductory Training Material, this is covered in the Best Practices presentation under Iterative Error (lots of pictures).
siw is offline   Reply With Quote

Old   October 31, 2013, 17:16
Default
  #39
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That sounds like a very useful resource. I had a quick look and could not find it. Can you post a link to it?
ghorrocks is offline   Reply With Quote

Old   November 1, 2013, 03:47
Default
  #40
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 742
Rep Power: 26
siw will become famous soon enough
Uploaded is a print screen from the ANSYS Customer Portal showing where it can be found under the Tutorials & Training Materials section, all the presentations are in File 1. There is even short videos covering the material - worth a look.
Attached Images
File Type: jpg Untitled.jpg (41.8 KB, 12 views)
siw 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
ANSYS CFX 14 on UBUNTU 12.04 64bit: PARALLEL ISSUE david.pasquale CFX 7 July 15, 2024 14:43
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
2D modelling using CFX Wei-Haur Lam CFX 6 February 27, 2008 17:52
Modelling cylinder in CFX Ken CFX 6 February 12, 2008 22:02
Multiphase modelling in CFX sam CFX 2 July 12, 2003 02:17


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