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

ANSYS fluent and OpenFoAM comparison

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By sbaffini
  • 1 Post By sbaffini

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 21, 2021, 20:36
Default ANSYS fluent and OpenFoAM comparison
  #1
Member
 
Anonymous.
Join Date: Sep 2020
Posts: 35
Rep Power: 5
gentodin is on a distinguished road
Hi I was comparing ANSYS fluent and OPEN FOAM as a solver recently and was wondering what are the hardcoded difference between them that cannot be changed.

I am running a simple case from CFDNINJA with the same settings in Openfoam.

I notice both use a different linear solver where Ansys is using AMG(algebraic Multigrid) while Openfoam is using Conjugate gradient solver. (I can change it to GAMG but I have yet to understand fully how AMG's algorithm work.)

I was also wondering why the following occurs where the console ouput for ANSYS fluent is different from Openfoam where the fluent iterates all equation at the same time until all equation satisfy the residual but openfoam iterates one equations by one equations (I.e. Velocity equation then temperature equation).

Console output of ANSYS fluent: Ansys fluent console output.png
Console output of Openfoam: Openfoam console output.png

-------------------------------------------------------------------------------------
Do linear solvers affect the output of a cfd simulation? i.e. oscillation occurs for OF but not ANSYS in my simulation when I use a turbulence model with exactly the same input.

Setup for ANSYS fluent:
Realizable K-e
Standard wall function
Transient, PISO algorithm
Energy equation: on
No gravity
Fluid Material: Ansys database, Water(h20) liquid
Linear Solver: AMG
(Other settings were left at default)

Setup for Openfoam:
Solver used: BuoyantBoussinesqPimpleFOAM
Realizable K-e
Standard Wall function
Pimple converted to PISO algorithm.
Temperature equation on.
No gravity
Fluid material same as ANSYS.
Linear solver: Conjugate gradient based.
(Othersettings were set to be the same as ANsys fluent as shown in the attachmend below)

Geometry 2D mixing elbow case from CFD NINJA : https://www.youtube.com/watch?v=Pjee...NJA%2FANSYSCFD

My input files for OpenFOAM are attached here:
https://entuedu-my.sharepoint.com/:f...Xvv7Q?e=S2U6vD

Ansys fluent settings:
https://entuedu-my.sharepoint.com/:f...mkTgw?e=dQWWPg

I am at lost as I have been working on getting similar results but my Openfoam simulation kept oscilliating.
Attached Files
File Type: txt fvSolution.txt (2.6 KB, 6 views)
File Type: txt fvSchemes.txt (1.6 KB, 7 views)
File Type: txt ControlDict.txt (1.3 KB, 1 views)
gentodin is offline   Reply With Quote

 


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
[Other] [Request] OpenFOAM mesh to 2D Ansys fluent mesh anon_q OpenFOAM Community Contributions 6 July 3, 2023 05:24
OpenFOAM vs ANSYS Fluent (Solution and Schemes) gentodin OpenFOAM Programming & Development 2 February 21, 2021 20:56
Comparison between OpenFoam and Fluent results chku24 OpenFOAM Running, Solving & CFD 2 January 19, 2020 19:52
Comparison between OpenFOAM and FLUENT: capabilities Time4Tea OpenFOAM 2 November 5, 2018 13:11
How to export Ansys Fluent results to OpenFOAM? anon_q OpenFOAM 1 April 5, 2018 07:25


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