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

Residual fluctuation, cylinder internal flow

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2014, 17:11
Default Residual fluctuation, cylinder internal flow
  #1
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 11
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
Hello everyone,

I am doing simulation for internal laminar flow in a cylinder and I am using simple foam. I got the required results that match with analytical solution.
But I have a problem in my residual curve. I get some fluctuation in residual curve (figure is attached), although my results are fine. I want to ask, does this fluctuation matters or not as I get in my case. I mean, the residual curve should be smooth or not. Thank you

My fvScheme is as follows

divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss upwind;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}
Attached Images
File Type: png Residual.png (7.0 KB, 36 views)
mwaqas is offline   Reply With Quote

Old   September 3, 2014, 08:05
Default
  #2
Senior Member
 
joegi
Join Date: Nov 2009
Location: genoa
Posts: 101
Rep Power: 16
joegi.geo is on a distinguished road
Residuals are not your solution. Your solution is the quantity of interest.

Did you get a good agreement with the analytical solution using this numerical scheme?
Because you are using a first order scheme, and they are highly diffusive.

From your residuals I can see that maybe you were changing some parameter in the numerical scheme, and that is reflected in the jumps in the residuals.


jg
joegi.geo is offline   Reply With Quote

Old   September 3, 2014, 08:18
Default
  #3
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 11
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
hello Joegi

Yes I am getting good agreement with analytical solution and I didn't change any parameter while solution was running. But I was getting these peaks in residual.

What other fcScheme I can try ??

Thank you
mwaqas 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
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 13:12
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13


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