CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

motorBike Tutorial: Cannot plot U and solution seems not to converge

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2012, 09:58
Default motorBike Tutorial: Cannot plot U and solution seems not to converge
  #1
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Hi again,

I have ran the motorBike tutorial and can view pressure contours on the geometry surface (I have posted a screenshot below as I'm unsure how accurate the pressure data is), but when I try to plot the velocities, the entire surface is a big red 0m/s!

What is strange is that when I go into my U files of my 5 timestep directories I see quite plausible velocities - around 20 m/s in the x-direction and close to zero in other directions - yet this won't show on ParaView.

This is similar to the situations reported here and here (circa 2009) but the issue in those cases was because of a bug in OFv1.6. I'm running 2.1.1.

Also, I can't plot residuals and instead I get the following, suggesting the solution has not converged:
Code:
SIMPLE: no convergence criteria found. Calculations will run fo 500 steps.

Starting time loop

End
If it's not converging, wouldn't my velocities and pressures be noticeably erroneous.


Can anyone offer any advice?

Thanks, Fergus


Jaggy_Snake is offline   Reply With Quote

Old   December 10, 2012, 02:01
Default
  #2
Member
 
Join Date: Nov 2010
Posts: 50
Rep Power: 6
Doug68 is on a distinguished road
The reason you can plot velocity on the surface is because the surface is not moving. The air next to the surface is the stuff that's moving, if you create a slice or some such through the model than you should be able to visualize U on that.

you will need to open the model twice in the same session if you wish to see the surface of the motorbike and slices, streamers or whatever else you create at the same time.

On the convergence issue. If you look in fvSolution I expect its not been set to stop the run when convergence criteria are met, but instead run for 500 iterations and then stop. If you run the foamlog function on your simpleFoam log file then it will extract the various residuals and put them each in there own file.
Doug68 is offline   Reply With Quote

Old   December 11, 2012, 07:27
Default
  #3
New Member
 
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 4
Jaggy_Snake is on a distinguished road
Ah great. I should start thinking about things rather than panicking and coming straight here...

Thanks Doug
Jaggy_Snake is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
TRANSIENT SOLUTION CONVERGE MARK Main CFD Forum 3 November 2, 2006 11:08
Discussion about Mesh independant solution Seb Main CFD Forum 13 May 22, 2001 13:37
CFL Condition Matt Umbel Main CFD Forum 14 January 12, 2001 15:34
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


All times are GMT -4. The time now is 21:03.