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

Choosing open source CFD package for high speed compressible flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2022, 11:21
Default Choosing open source CFD package for high speed compressible flow
  #1
Member
 
Anders Aamodt Resell
Join Date: Dec 2021
Location: Oslo, Norway
Posts: 64
Rep Power: 4
ander is on a distinguished road
Hello!

I'm looking for a modifiable open-source CFD code for a personal project. It should preferably be written in C++. The code needs an N-S solver (preferably implicit for efficiency) that can solve transient problems for flow involving shocks. Modularity and code efficiency are other features that are highly appreciated.

I have looked into OpenFOAM, but its selection of compressible solvers is limited, rhoCentralFoam is the only solver that can capture shocks accurately, and it's only explicit.

I would therefore like to get some pointers to alternative open source C++ CFD software. I have found one called SU2, does anyone have experience with this code?

Thanks in advance!
ander is offline   Reply With Quote

Old   July 19, 2022, 14:32
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
What's wrong with rhoPimpleFoam?

Btw any software you deal with will have the same issues. Any implicit solver will have the same challenges with resolving shocks compared to a density based solver. The inability of the solver to "capture shocks accurately" is a result of the methods used. So tell me, what methods are you planning to use and i'll find you a solver that does exactly that.
LuckyTran is offline   Reply With Quote

Old   July 19, 2022, 15:47
Default
  #3
Member
 
Anders Aamodt Resell
Join Date: Dec 2021
Location: Oslo, Norway
Posts: 64
Rep Power: 4
ander is on a distinguished road
My issue with roePimpleFoam is that it is unsuitable for discontinuities as far as I'm aware.

My wish is to use an implicit density based solver that can capture shocks accurately. LU-SGS or GMRES are examples of methods that can be used to solve the linear system resulting from the implicit discretization of this. A dual time step methodology can be used to obtain a transient solution. I'm aware of a couple of user implemented LU-SGS solvers in OpenFOAM, but not sure how well these are validated.
ander is offline   Reply With Quote

Old   July 19, 2022, 16:10
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
So what you're saying is, even if I were to conjure up an implicit density based solver, you wouldn't use it because I haven't provided the data to validate it even though you (would) have the source code needed to verify that the code does what you say you want it to do?


Also, are you sure rhoCentralFoam already doesn't do what you are asking? Have you looked at it? Because from what I can see, it already can minus your specific choice of linear solver. GMRES was implemented a long time ago, idk anything about LU-SGS. In either case, they're just linear solvers. If you want a specific flux scheme or a specific time-stepping scheme, then there might be some work. But please don't just brush off a solver because "it can't accurately capture shocks" was something you read in some blog.
arjun likes this.
LuckyTran is offline   Reply With Quote

Old   July 25, 2022, 19:51
Default
  #5
Member
 
Anders Aamodt Resell
Join Date: Dec 2021
Location: Oslo, Norway
Posts: 64
Rep Power: 4
ander is on a distinguished road
I went with SU2, and it 's honestly much better suited for high speed aerodynamic applications than openfoam. It has a much wider selection of solvers for compressible flows. To your point, trying to modify one of the solvers in openfoam to my needs would present a giant task in itself, which is unnecessary when SU2 already has the desired capabilities.
ander is offline   Reply With Quote

Old   July 26, 2022, 03:35
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I mean OpenFOAM had everything you asked for, it's just not the software you wanted. But whatever, it's not like both software have their origins in the same school or anything.
LuckyTran is offline   Reply With Quote

Old   July 26, 2022, 04:35
Default
  #7
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by ander View Post
It has a much wider selection of solvers for compressible flows.

For example compressible multiphase solvers like blastfoam or diffuse interface solvers?

I am curious what you can do with su2 that you can not do with openFOAM apart from may be su2 converges faster.
arjun is offline   Reply With Quote

Reply

Tags
c++, compressible, open source code


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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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