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

some error using rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By hg2lf
  • 1 Post By hg2lf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 13:39
Default some error using rhoCentralFoam
  #1
New Member
 
何刚
Join Date: Jan 2011
Posts: 25
Rep Power: 15
hg2lf is on a distinguished road
Hello all,
I have used rhoCentralFoam to calculate a supersonic nozzle. When I use the upwind scheme, it's all right. But when I change the interpolation scheme to the second order scheme, such as quadraticUpwind, there is a zone next to the wall boundary in which the velocity is lager than the main steam.See the attachment, the two figures show the mach number distribute in the nozzle.
Could someone tell me that why does this happen?

The following is the fvSchem file:

fluxScheme Kurganov;

ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default none;
div(tauMC) Gauss linear;
div(phi,k) Gauss Minmod phi 1;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;

interpolate(rho) quadraticUpwindFit phi 1;

reconstruct(rho) quadraticUpwindFit 1;
reconstruct(U) quadraticUpwindFit 1;
reconstruct(T) quadraticUpwindFit 1;
reconstruct(K) quadraticUpwindFit 1;

/*
reconstruct(rho) upwind;
reconstruct(U) upwind;
reconstruct(T) upwind;

reconstruct(rho) Minmod;
reconstruct(U) MinmodV;
reconstruct(T) Minmod;
reconstruct(Yi) Minmod;


reconstruct(rho) linearUpwind phi;
reconstruct(U) linearUpwindV phi;
reconstruct(T) linearUpwind phi;
reconstruct(K) linearUpwind phi;
*/
}

snGradSchemes
{
default corrected;
}
Attached Images
File Type: jpg nozzle1.jpg (9.3 KB, 46 views)
File Type: jpg nozzle.jpg (22.3 KB, 51 views)
immortality and febriyan91 like this.

Last edited by hg2lf; July 25, 2013 at 13:44. Reason: error
hg2lf is offline   Reply With Quote

Old   July 26, 2013, 22:06
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
hi
Is you mesh fine enough near wall?
Does it occur in linearUpwind too?
Or Have you found out the reason?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 27, 2013, 03:37
Default
  #3
New Member
 
何刚
Join Date: Jan 2011
Posts: 25
Rep Power: 15
hg2lf is on a distinguished road
Thanks,immortality,
The case file is too large to upload. I'm not sure whether the mesh is fine enough. It occur in any other scheme except upwind. But the un-physical solution is not in the boundary area, and it develops from the throat. I'll go on to find out the reason. Best regards.
hg2lf is offline   Reply With Quote

Old   July 27, 2013, 11:55
Default
  #4
New Member
 
何刚
Join Date: Jan 2011
Posts: 25
Rep Power: 15
hg2lf is on a distinguished road
It seems as it linearUpwind scheme works well.
immortality likes this.
hg2lf is offline   Reply With Quote

Old   July 27, 2013, 14:56
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
how did you make the mesh?
then the problem is resolved?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 30, 2013, 02:10
Default
  #6
New Member
 
何刚
Join Date: Jan 2011
Posts: 25
Rep Power: 15
hg2lf is on a distinguished road
Sorry, there comes the latest news, the problem haven't been solved. The finest mesh is the one associated with the characteristc line.
hg2lf is offline   Reply With Quote

Old   July 31, 2013, 13:58
Default
  #7
New Member
 
何刚
Join Date: Jan 2011
Posts: 25
Rep Power: 15
hg2lf is on a distinguished road
If I using an apreciate discrete schem to solve the subsonic part of the flow well, then it will be fine, Because the high value region develops from this part.
hg2lf is offline   Reply With Quote

Reply

Tags
compressible, nozzle, rhocentralfoam, supersonic


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
rhoCentralFoam transport equation JoaoDMiranda OpenFOAM Programming & Development 29 July 5, 2024 09:38
how to make rhoCentralFoam to write continuity residuals? immortality OpenFOAM Running, Solving & CFD 6 April 18, 2018 04:56
dynamic mesh refinement and rhoCentralFoam ChrisA OpenFOAM Running, Solving & CFD 1 March 21, 2013 09:00
calculate a nozzle flow using rhoCentralFoam hg2lf OpenFOAM 0 October 25, 2012 22:26
rhoCentralFoam solver with Slip BCs fails in Parallel Only JLight OpenFOAM Running, Solving & CFD 2 October 11, 2012 22:08


All times are GMT -4. The time now is 22:44.