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

rhoCentralFoam Solver

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

Like Tree2Likes
  • 2 Post By alberto

Reply
 
LinkBack Thread Tools Display Modes
Old   September 1, 2011, 20:52
Default rhoCentralFoam Solver
  #1
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 6
venkataramana is on a distinguished road
Dear Foamers,
I am unable to understand the code given in the RhoCentralFoam.C i mean the working procedure, but in the user guide given about pisoFoam and IcoFoam. Where should I find the information about the code like " reconstruct(rho)"

thanks in advance.
venkataramana is offline   Reply With Quote

Old   September 6, 2011, 22:06
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
There is a paper on the solver:

Christopher J. Greenshields, Henry G. Weller, Luca Gasparini and Jason M. Reese, Implementation of semi-discrete, non-staggered central schemes in a colocated, polyhedral, finite volume framework, for high-speed viscous flows, INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, Int. J. Numer. Meth. Fluids 2010; 63:1–21

For the definition of reconstruct: ~/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/finiteVolume/fvc/

I hope this helps.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   September 7, 2011, 02:16
Default
  #3
Member
 
venkat
Join Date: Mar 2011
Location: Bangalore,india
Posts: 47
Rep Power: 6
venkataramana is on a distinguished road
Dear Alberto Passalacqua thank you very much for your kind information

Regards,
venkataramana is offline   Reply With Quote

Old   April 8, 2012, 06:06
Default
  #4
New Member
 
wangwei
Join Date: Apr 2012
Posts: 9
Rep Power: 5
buaawangwei is on a distinguished road
Hi alberto,
I want to know that rhoCentralFoam is a steady solver or a transient solver?Thank you


buaawangwei is offline   Reply With Quote

Old   April 8, 2012, 16:49
Default
  #5
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
It is a transient solver. You can check that easily by looking at the tutorials.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 9, 2012, 14:54
Default hi
  #6
Member
 
nsreddy
Join Date: Sep 2010
Posts: 33
Rep Power: 6
nsreddysrsit is on a distinguished road
There are two types of solvers in openFoam for compressible flows. For example RhoSimpleFoam and RhoCentralFoam. The solution methods (algorithm) are different for the above two solvers. How to choose the solver. And what are all the parameters we have to consider while selecting the solvers.

Regards,
nsreddysrsit is offline   Reply With Quote

Old   April 9, 2012, 17:10
Default
  #7
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by nsreddysrsit View Post
There are two types of solvers in openFoam for compressible flows. For example RhoSimpleFoam and RhoCentralFoam. The solution methods (algorithm) are different for the above two solvers. How to choose the solver. And what are all the parameters we have to consider while selecting the solvers.

Regards,
The rhoSimpleFoam solver is a pressure-based solver for steady state laminar and turbulent (RAS) flows. An unsteady version is available in rhoPimpleFoam.

The rhoCentralFoam solver uses a density-based approach with central schemes, and it solves the unsteady equations.

The choice of the solver depends on the type of flow you have:

- Steady/unsteady?
- High Mach number (density based approach) / low Mach number (pressure-based approach)?

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 10, 2012, 00:10
Default hi
  #8
Member
 
nsreddy
Join Date: Sep 2010
Posts: 33
Rep Power: 6
nsreddysrsit is on a distinguished road
hi alberto,
Thanks for reply,

How to find the which solver is the best for different range of Mach Numbers, and is there any limitation for any solver for prescribed Mach Mumber, How to find that. How the results are varies if i use pressure based solvers and density based solvers if i use same problem. what are all the factors we have to consider.

Regards,
nsreddysrsit is offline   Reply With Quote

Old   April 10, 2012, 20:02
Default
  #9
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by nsreddysrsit View Post
hi alberto,
Thanks for reply,

How to find the which solver is the best for different range of Mach Numbers, and is there any limitation for any solver for prescribed Mach Mumber, How to find that. How the results are varies if i use pressure based solvers and density based solvers if i use same problem. what are all the factors we have to consider.

Regards,
I think you should really refer to the literature to understand the limitations of each approach, since special formulations of each of them are available and aim at extending their range of applicability.

If you have a specific problem in mind, you should provide details about it, so that the question is specific.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 19, 2012, 08:19
Default
  #10
Member
 
Alexander
Join Date: Mar 2009
Posts: 39
Rep Power: 8
sahas is on a distinguished road
Quote:
Originally Posted by nsreddysrsit View Post
How to find the which solver is the best for different range of Mach Numbers, and is there any limitation for any solver for prescribed Mach Mumber
Hallo!
I am using rhoCentralFoam for my transsonic laminar problem. May be I am wrong, but the one of the main feature of rhoCentralFoam I think is using of fully conservative scheme, so the main conservative laws (for example, for energy) are always preserved. I tried sonicFoam and rhoSimpleFoam and found that there were problems with temperature distributions (such problems were discussed on the forum).

As for rhoPimpleFoam I cannot get it worked for my case =(

So I recommend use of rhoCentralFoam for the problems with Mach number > ~1
sahas is offline   Reply With Quote

Old   August 26, 2013, 11:29
Default
  #11
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
Hi
what does the lines for momentum solving in this solver mean?
Code:
// --- Solve momentum
        solve(fvm::ddt(rhoU) + fvc::div(phiUp));

        U.dimensionedInternalField() =
            rhoU.dimensionedInternalField()
           /rho.dimensionedInternalField();
        U.correctBoundaryConditions();
        rhoU.boundaryField() = rho.boundaryField()*U.boundaryField();

        volScalarField rhoBydt(rho/runTime.deltaT());

        if (!inviscid)
        {
            solve
            (
                fvm::ddt(rho, U) - fvc::ddt(rho, U)
              - fvm::laplacian(muEff, U)
              - fvc::div(tauMC)
            );
            rhoU = rho*U;
        }
whats the mathematical(CFD)form of the equation:
Code:
fvm::ddt(rho, U) - fvc::ddt(rho, U)
              - fvm::laplacian(muEff, U)
              - fvc::div(tauMC)
__________________
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

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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
A New Solver for Supersonic Combustion nakul OpenFOAM 6 March 30, 2014 03:00
A New Solver for Supersonic Combustion nakul OpenFOAM Announcements from Other Sources 18 February 19, 2013 08:48
Development of a Low mach PISO solver nishant_hull OpenFOAM Programming & Development 0 August 25, 2009 12:48
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


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