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

gFoam compressible code

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

Like Tree3Likes
  • 3 Post By praveen

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2011, 12:28
Default gFoam compressible code
  #1
Super Moderator
 
praveen's Avatar
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 251
Blog Entries: 6
Rep Power: 9
praveen is on a distinguished road
I have modified rhoCentralFoam so that one can use any flux function. Currently, Lax-Friedrichs and kinetic (kfvs) are available. You can get code here

http://sourceforge.net/projects/gfoam/develop

using svn or get latest tarball from here

http://gfoam.svn.sourceforge.net/viewvc/gfoam/?view=tar

There are three examples included. The obliqueshock and forwardstep cases run fine but there is some problem with the naca case. The case runs but the solution has strange behaviour near airfoil surface. If any of you try this and have some solution to this problem, please let me know.
praveen is offline   Reply With Quote

Old   July 28, 2011, 09:02
Default Any further realization?
  #2
New Member
 
TCH
Join Date: Jul 2010
Location: Beijing City
Posts: 15
Rep Power: 7
Solarberiden is on a distinguished road
Quote:
Originally Posted by praveen View Post
I have modified rhoCentralFoam so that one can use any flux function. Currently, Lax-Friedrichs and kinetic (kfvs) are available. You can get code here

http://sourceforge.net/projects/gfoam/develop

using svn or get latest tarball from here

http://gfoam.svn.sourceforge.net/viewvc/gfoam/?view=tar

There are three examples included. The obliqueshock and forwardstep cases run fine but there is some problem with the naca case. The case runs but the solution has strange behaviour near airfoil surface. If any of you try this and have some solution to this problem, please let me know.
Hi, praveen:
I have reproduced the odd near airfoil surface you mention in the last post, I have tried to solve but without luck, do you have any new idea about how to fix the problem?
Attached Images
File Type: jpg t.0007.jpg (40.5 KB, 57 views)
Solarberiden is offline   Reply With Quote

Old   July 28, 2011, 12:41
Default
  #3
Super Moderator
 
praveen's Avatar
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 251
Blog Entries: 6
Rep Power: 9
praveen is on a distinguished road
Based on advice of Luca Gasparini who is one of the original developers of rhoCentralFoam, I used Gamma reconstruction scheme. That improved the solution a lot. It appears that most reconstruction schemes in openfoam do not perform well on triangles/tetrahedra.

Code:
interpolationSchemes
	{
	    default          linear;
	    reconstruct(rho) Gamma  1.0;
	    reconstruct(U)   GammaV 1.0;
	    reconstruct(T)   Gamma  1.0;
	}
If this works for you too or you find a better solution, please post about it.
praveen is offline   Reply With Quote

Old   July 29, 2011, 01:29
Default situation alleviation a little bit.
  #4
New Member
 
TCH
Join Date: Jul 2010
Location: Beijing City
Posts: 15
Rep Power: 7
Solarberiden is on a distinguished road
alleviation.0007.jpg

alleviation.0004.jpg

I'm sorry but the situation is only improved a little bit and there should be some more efficient way to improve the result. My test result have been uploaded in the attachments, please check them out.
The 0004(at 0.02 second) is better than 0007(at 0.035 second). Along the iteration, the flaw has been appeared evidently.

Thanks Praveen.

Last edited by Solarberiden; July 29, 2011 at 01:33. Reason: for detailed comparison of results of at 0.004 and 0.007 time points
Solarberiden is offline   Reply With Quote

Old   July 29, 2011, 02:37
Default
  #5
Super Moderator
 
praveen's Avatar
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 251
Blog Entries: 6
Rep Power: 9
praveen is on a distinguished road
I get similar results, not fully satisfactory. It might improve with finer grid. It works fine on quad/hex meshes. I dont know enough about reconstruction schemes in openfoam to say what is wrong.
praveen is offline   Reply With Quote

Old   July 29, 2011, 02:42
Default About polyhedrals
  #6
New Member
 
TCH
Join Date: Jul 2010
Location: Beijing City
Posts: 15
Rep Power: 7
Solarberiden is on a distinguished road
Have you ever tried out some polyhedral mesh on such test case whether the polyhedral mesh would alleviate the reconstruction issues?
Solarberiden is offline   Reply With Quote

Old   October 16, 2011, 06:49
Default
  #7
New Member
 
Join Date: Aug 2011
Posts: 28
Rep Power: 6
schwermetall is on a distinguished road
Hi Foamers,
has one of you been successful in solving these pressure fluctuations? I have a similar problem and have been able to minimize these fluctuations using cellLimited grad schemes.

My supervisor thinks that this is a so called checker-board instability (I hope I'm not telling something you already know). What I can say for sure is that I have very high fluctuations using a linear scheme and pretty low ones using a cellLimited scheme.

See No shock in airfoil 0012 case despite of Mach number exceeds 1

Would be nice, if you could comment on that, maybe one of you solved the problem.

regards
schwermetall is offline   Reply With Quote

Old   February 8, 2012, 13:56
Default
  #8
Member
 
ehsan
Join Date: Mar 2009
Posts: 97
Rep Power: 8
ehsan is on a distinguished road
Dear All

Could I kindly ask you whether it is possible to solve forward step test with turbulence model and rhoCentralFoam?

Regards
ehsan 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
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10
compressible code Linda Main CFD Forum 2 September 22, 2000 22:10
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 17:51
Compressible Viscous Code vaidation test cases? Mohammad Kermani Main CFD Forum 2 November 11, 1999 15:22
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 15:34


All times are GMT -4. The time now is 15:52.