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

Residuals - why are some transport equations not associated with residuals?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2018, 20:00
Post Residuals - why are some transport equations not associated with residuals?
  #1
New Member
 
Julia Hartig
Join Date: Jan 2018
Posts: 14
Rep Power: 8
juliahartig is on a distinguished road
Hey everyone!

I have a conceptual question. From my understanding, Fluent solves every transport equation by linearizing it using the formula here (equation 25.18-1), which would imply that every linearized equation is associated with a residual. In practice, though, this doesn't seem to be the case. For example, I know that there is a species mass fraction (Y) transport equation for the species model, or a species volume fraction (alpha) transport equation for multiphase flow problems, but I have never seen any residuals for these equations when I enable the models. Am I missing something? Why would these equations not have residuals?
juliahartig is offline   Reply With Quote

Old   April 16, 2018, 22:13
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Go to your residual monitors box and see if maybe you unchecked it.
LuckyTran is offline   Reply With Quote

Old   April 16, 2018, 22:19
Default
  #3
New Member
 
Julia Hartig
Join Date: Jan 2018
Posts: 14
Rep Power: 8
juliahartig is on a distinguished road
LuckyTran, thanks for the reply! Unfortunately I've already checked the residual monitors window and that doesn't seem to be it. All of the residuals are currently being displayed - there is no option to toggle on residuals for the transport equations that I gave examples of above.
juliahartig is offline   Reply With Quote

Old   April 17, 2018, 16:24
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
There should be residuals.

Go to solution controls => equations =>
And make sure you have not deactivated any solvers.

Otherwise, you must be running some very strange combination of settings. Further debugging would require you to basically post all your solver settings.
LuckyTran is offline   Reply With Quote

Old   April 27, 2018, 12:30
Default
  #5
New Member
 
Julia Hartig
Join Date: Jan 2018
Posts: 14
Rep Power: 8
juliahartig is on a distinguished road
I looked at the solution controls window and it appears that all solvers are activated so that shouldn't be an issue (I've attached some screenshots here). After going through the Fluent documentation, I think that perhaps some of the numerical equations I identified are either lumped in with other residuals or their residuals are suppressed. For example, there are no residuals associated with the discrete phase variables (particle mass, particle velocity, particle temperature and particle position) so as far as I can tell, because they are computed using a separate solver, Fluent simply suppresses those outputs.

There are still some that I'm unsure about (for example, the Fluent documentation lists separate PDEs for species concentration transport [the Fickian-diffusion equation] and volume fraction, so why is there only one residual associated with each species?) so I think it's doing something to relate some of these equations which they don't explain in the documentation.

Anyway, it's not terribly important for me to understand this. The program is giving me reasonable results so I don't think there are any problems there. It's just curious to me that I can't follow the solver process using what they've provided!
Attached Images
File Type: jpg Residuals.JPG (80.2 KB, 20 views)
File Type: jpg Equations.JPG (16.5 KB, 16 views)
juliahartig is offline   Reply With Quote

Old   April 27, 2018, 13:35
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Discrete phase model is a lagrangian particle tracking, it doesn't use a transport equation.

How many residuals do you expect for species transport? The only variable is the species. So there is one for N2 and one for CH4. I'm guessing these are the species you are transporting? What else are you transporting that needs species?

You don't even have a volume fraction equation for there to be a residual.

Temperature is in the energy equation.

So you see, all your residuals are there.
LuckyTran is offline   Reply With Quote

Old   April 28, 2018, 18:31
Default
  #7
New Member
 
Julia Hartig
Join Date: Jan 2018
Posts: 14
Rep Power: 8
juliahartig is on a distinguished road
That's true. I guess I was thinking that since some of the discrete particle equations are still differential equations, they would be associated with some kind of "error" that would be printed to the console, but since the equations are all ODEs with time as the only independent variable, I guess the only error would be associated with the time step chosen.

So according to the Fluent user manual, both the mixture and Eulerian multiphase models solve a volume fraction transport equation as shown here, but I've never seen a residual for this, so either the documentation is too outdated and it doesn't do this anymore, or something else is going on.

I think the thing that throws me off about the energy transport equation as shown here is that there are two unknowns (energy E and temperature T) and one transport equation. But now that I'm looking at it, I think they just use tabulated enthalpy values and set E=h for incompressible flow so that temperature becomes the only unknown.

Last edited by juliahartig; April 30, 2018 at 11:46.
juliahartig is offline   Reply With Quote

Old   April 30, 2018, 01:50
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The eulerian multiphase does have a residual for volume fraction and some other things. But that's not what you're simulating... If you want the Eulerian multiphase models and options, then turn them on. Stop playing with this discrete phase stuff.

If you derive it yourself you'd find that the energy equation as 3 unknowns (internal energy in time-derivative, enthalpy in the divergence term, and laplacian of temperature in the conduction term). For the most part, Fluent uses the temperature-based formulation, which requires the user to provide the specific heat as a function of temperature. When using the pressure based solver, the pressure work (the p/rho) and kinetic energy term (v^2/2) are not enabled by default. You could enable them though. For the density based solver they're always enabled.

But regardless, that doesn't change that the transported property is energy so the residual should be calculated in terms of energy imbalance (energy is conserved, not temperature).
juliahartig likes this.

Last edited by LuckyTran; May 2, 2018 at 19:03.
LuckyTran is offline   Reply With Quote

Old   May 2, 2018, 17:11
Default
  #9
New Member
 
Julia Hartig
Join Date: Jan 2018
Posts: 14
Rep Power: 8
juliahartig is on a distinguished road
Yeah after reading your responses, my questions sound kind of silly to me haha. Not sure why I got so many of the Fluent models confused with each other.

I realized the reason I was expecting a volume fraction residual is because I was confusing the species mixture and multiphase mixture models, but they are fundamentally different things.
juliahartig is offline   Reply With Quote

Reply

Tags
equation, numerical, residual, residuals, transport


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
user defined scalar vs species transport gvj_mech FLUENT 0 March 27, 2014 14:33
Question about transport equations maybee OpenFOAM Programming & Development 0 March 20, 2014 11:06
Problem modelling potential equations with addtional variables pmtgt CFX 4 October 3, 2013 08:20
Convergence - scaled vs unscaled residuals HS FLUENT 1 November 7, 2005 05:45
Scalar Transport Equations 123 Main CFD Forum 6 August 10, 1998 09:05


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