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

Density-based, fully-coupled, compressible solver in OpenFOAM?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By cnsidero
  • 2 Post By cnsidero
  • 3 Post By JohanAdam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2012, 09:42
Default Density-based, fully-coupled, compressible solver in OpenFOAM?
  #1
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16
francesco_capuano is on a distinguished road
Dear all,

I would like to discuss and to share opinions with all you Foamers out there about the lack of a density-based, fully coupled, compressible solver in OpenFOAM.

I've been studying OpenFOAM for about a month and, as far as I have understood, the only density-based solver (by "density-based" I mean that density is calculated from continuity equation) is rhoCentralFoam, which however solves the governing equations separately one from each other (in a so-called segregated way). All the other solvers are of pressure-based type. First of all: is this true?

Second: how hard do you think it would be to create a new density-based solver, which solves the governing equations simultaneously (i.e. a coupled solver), provided with a robust upwind-like scheme such as Roe's or AUSM?

Third: I have found, searching the Forum, that few years ago two Italian students developed a solver called aeroFoam

http://www.cfd-online.com/Forums/ope...-aerofoam.html

which apparently satisfies all the features that I mentioned. However, the solver has not been officially included into one of the OpenFOAM releases and the project has been apparently abandoned. Natural question: why?

Hope the discussion will be constructive,
Francesco
francesco_capuano is offline   Reply With Quote

Old   January 24, 2012, 10:05
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by francesco_capuano View Post
Dear all,
Second: how hard do you think it would be to create a new density-based solver, which solves the governing equations simultaneously (i.e. a coupled solver), provided with a robust upwind-like scheme such as Roe's or AUSM?
Francesco
The answer is very hard. To be able to solve equations simultaneously, you need to store the variables you're solving for in a "unified" block coupled matrix, ie. each element is a matrix itself. OpenFOAM matrix classes are all for scalar quantities, hence why it solves even the compressible form in a segregated manner.

In addition, the rest of OpenFOAM would be need to made of aware of these new classes, e.g. the linear solvers.

There has been some ongoing development in the -extend branch of OpenFOAM to add block coupled matrix classes. I don't believe a coupled N-S stokes solver has been built yet with it but I have seen work that uses it to couple other quantities. Dig around the last couple of workshops for material.

So as you can imagine, the work is significant and non-trivial.
sathya123 likes this.
cnsidero is offline   Reply With Quote

Old   January 24, 2012, 10:20
Default
  #3
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16
francesco_capuano is on a distinguished road
Dear Chris,

thanks for your answer. I realize the strong effort needed to extend OpenFOAM towards a coupled strategy. For those interested, the subject is studied in more detail in the following slides:

http://www.openfoamworkshop.org/6th_...ord_slides.pdf

On the other hand, I think that implementing an upwind-like flux scheme in rhoCentralFoam, for instance, should be much easier. Any experience/opinion?
francesco_capuano is offline   Reply With Quote

Old   January 24, 2012, 10:55
Default
  #4
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
One other effort of note is some density-based (segregated) solvers which include some more modern convective schemes, e.g. AUSM, etc, for turbomachinery in the extend repo:

http://openfoam-extend.git.sourcefor...urbo;a=summary

I have seen very little documentation about it's use (presentatations or otherwise) but it's there for you to explore.
cnsidero is offline   Reply With Quote

Old   January 24, 2012, 14:32
Default
  #5
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16
francesco_capuano is on a distinguished road
Very interesting, thank you very much!
francesco_capuano is offline   Reply With Quote

Old   July 11, 2017, 19:35
Default
  #6
Member
 
Di Cheng
Join Date: May 2010
Location: Beijing, China
Posts: 47
Rep Power: 16
chengdi is on a distinguished road
recently I transplant it to OpenFOAM 4.1. You can check it at https://github.com/chengdi123000/AeroFoamV1-2008.

as Chris Sideroff pointed out, foam-extend implemented block Matrix function. However, they did not offer how to implement block coupled solver.
chengdi is offline   Reply With Quote

Old   September 15, 2018, 11:26
Default
  #7
New Member
 
Johan
Join Date: May 2012
Posts: 7
Rep Power: 14
JohanAdam is on a distinguished road
For a coupled, density-based solver, if you are using foam, have a look at

https://hisa.gitlab.io/

and

https://sourceforge.net/projects/hisa/
JohanAdam is offline   Reply With Quote

Old   November 20, 2018, 14:12
Default
  #8
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9
deepbandivadekar is on a distinguished road
Quote:
Originally Posted by JohanAdam View Post
For a coupled, density-based solver, if you are using foam, have a look at

https://hisa.gitlab.io/

and

https://sourceforge.net/projects/hisa/

This is interesting. I don't think so but can this use external sources through fvOptions? That'd be really useful for me if so.
deepbandivadekar is offline   Reply With Quote

Reply

Tags
coupled solver, density-based


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
density based solver and energy ashka FLUENT 0 May 3, 2010 06:46
regarding density and pressure based solver Reddy FLUENT 0 August 18, 2007 12:11
Pressure vs. Density based jan FLUENT 2 May 3, 2007 04:45
Solver and density function for high speed vapour christian OpenFOAM Running, Solving & CFD 17 April 12, 2007 03:41
Densitybased coupled compressible solver jojo OpenFOAM Running, Solving & CFD 0 July 19, 2006 13:43


All times are GMT -4. The time now is 13:04.