CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Cluster and local computer giving different results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2021, 07:27
Default Cluster and local computer giving different results
  #1
New Member
 
Rick
Join Date: Dec 2021
Posts: 4
Rep Power: 4
RickJ1 is on a distinguished road
Hello

I am running a reacting flow of a premixed hydrogen-air mixture into a combustion chamber to simulate a flame in Ansys Fluent. This simulation is steady-state in a 2D-axisymetric geometry. The species its mixture properties are imported through a CHEMKIN file, using the Konnov (2019) mechanism.

When running the simulation through a cluster the results start to differ compared to running on a local computer. When ran through the cluster the flame profile start to get unrealistic and incorrect, but when running the exact same file on the local computer the flame is realistic and correct.
To narrow down the problem, a simulation is ran both on the cluster and the local computer for a cold (non-reacting) flow.

After 3 iterations the residuals of continuity already starts to differ, between the local and the cluster.

The file read on the cluster where the simulations “starts” with is initialized on the local computer.

Attached is a plot showing the difference in continuity between the cluster and the local result on the corresponding iteration.

I was wondering if this difference in continuity might be causing the larger difference when the flow starts reacting. And if so, what causes this difference and how can this be fixed?

Thank you!
Attached Images
File Type: png Plot_cluster_residuals.png (87.5 KB, 8 views)
RickJ1 is offline   Reply With Quote

Old   December 6, 2021, 10:06
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,739
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The continuity residual is a normalized residual. First it calculates the residuals for the first n iterations (default is 5). Then it normalizes the continuity from then on by the worst residual that it found in the first n iterations.


Because you run on two different machines, you can't expect the raw residuals in the first n iterations to be exactly the same (because the case has to be parallelized differently in each environment). Hence, you can never expect the continuity residuals from iteration n onwards to be the same. Hence you can't compare this delta between them. Anyway, this is why the delta you see is largest at iteration 3 (because 3<5).


All this talk about residuals is of course just a distraction from your real issue, which is your flame on the cluster not looking correct. So why is your cluster giving you bad results? I don't know.
LuckyTran is offline   Reply With Quote

Old   December 7, 2021, 07:26
Default
  #3
New Member
 
Rick
Join Date: Dec 2021
Posts: 4
Rep Power: 4
RickJ1 is on a distinguished road
Thank you for the explanation!

I was wondering, since the velocity, temperature and other contours do look the same and the residuals are not relevant to compare, if there might be another way to specify whether there is a significant problem/difference with the non-reacting flows which leads to the larger differences in the reacting flow?
RickJ1 is offline   Reply With Quote

Old   December 7, 2021, 10:38
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,739
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Your calculations are different. Any analysis you do after-the-fact to show that they are different will just confirm that they are different, because they are different, which you already knew, because you knew that already. What you need to do is address why they are different in the first place, which you can't do by post-processing. I can look at plots all day, that doesn't change the fact that my result converged to the wrong result.
LuckyTran is offline   Reply With Quote

Old   December 8, 2021, 09:57
Default
  #5
New Member
 
Rick
Join Date: Dec 2021
Posts: 4
Rep Power: 4
RickJ1 is on a distinguished road
I agree. Yet, the problem is that I can't figure out what is different in the calculations, since I do not change anything.
I started a new thread giving more information on the problem for reactive flows, since I don't want to start a chain of questions.

Cluster and local computer giving different results for reactive flow
RickJ1 is offline   Reply With Quote

Reply

Tags
cluster, combustion, residuals fluent


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
[foam-extend.org] Issue running on a Local 2-Workstation Cluster WaterHammer1985 OpenFOAM Installation 4 May 18, 2023 14:33
problem in running the case in linux cluster, which works fine on local machine atul1018 OpenFOAM Running, Solving & CFD 1 March 11, 2021 09:49
Problem: Very long "write" time (~2h-3h) for results and transient results Shawn_A CFX 16 April 12, 2016 20:49
FLUENT divergence on cluster not on local machine Thibalt FLUENT 1 May 14, 2014 13:57
parallel (cluster vs local) and UDFs ehooi FLUENT 3 January 6, 2011 02:45


All times are GMT -4. The time now is 17:57.