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

Thermodynamic Entropy vs Numerical Entropy

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2022, 01:09
Default Thermodynamic Entropy vs Numerical Entropy
  #1
New Member
 
ugurtan
Join Date: May 2020
Location: Munich, Germany
Posts: 19
Rep Power: 6
ugurtan666 is on a distinguished road
Hi everyone,

I have just started to work on the Riemann problems in Euler equations. I am confronting a mind blowing question about the eigenvectors. Here is my question.

Assume that an airfoil, let's say NACA0012, is to be solved at subsonic regime in 2D. Governing equations are Euler Equations. Actually the airfoil is adiabatic and frictionless. The farfield flow conditions are set as initial conditions which means that free stream pressure, temperature and Mach are set everywhere in the domain at t=0.

I have some assumptions and results which cause confusion in my mind.

Assumption 1

When the solution converges to steady state, I would expect the thermodynamic entropy must be the same everywhere in the domain. I would also expect the pressure and temperature, so does the thermodynamic entropy, in the farfield must be the same between the converged state and initial state.

If it is true, the thermodynamic entropy must be kept constant throughout the timeline because the entropy cannot be decreased, it can only be kept constant or increased due to second law of thermodynamics.

Assumption 2

In Euler equations, entropy increase can only be possible in two ways.

1) Contact discontinuity to cause an increase in total enthalpy

2) Shock wave behaviour from genuinely nonlinear acoustic eigenmodes i.e. decrease in total pressure.

Assumption 3

Shock wave behavior of a genuinely nonlinear eigenvector requires a conflict of characteristics in similarity solution as it happens in Burgers equation. In the absence of conflict, the rarefaction wave is generated which is totally isentropic.

Here comes my question,

If Assumption 1 is true, the thermodynamic entropy must be the same everywhere in the domain at each time step because in the farfield the pressure and temperature are expected to be unchanged between initial and converged steady state solution. It can only be possible in two ways.

1) Entropy is increased and then decreased but it violates the second law of thermodynamics.

2) Entropy is constant everywhere and every time. It is not a violation.

If Assumption 1 and 2 are true, there should not be any shockwave or contact discontinuity because once those waves occur, thermodynamic entropy increases and it cannot be decreased back due to the second law.

According to Assumption 3, there should not be any conflict in eigenmode u+a or u-a in the trailing edge of airfoil. However, the eigenmodes u-a and u+a might cause a conflict when the initial state in the vicinity of leading edge has freestream velocity. This is exactly where my confusion starts.

For that reason, I wanted to separate entropy as thermodynamic and numerical entropy. I know that the thermodynamic entropy should be constant everywhere and everytime in this problem but I am not sure if it must be true for the numerical entropy.

It is not hard to calculate entropy of air at given temperature and pressure and I have some questions about it.

1) Would I see a variation in entropy if I solved this problem numerically?

2) What exactly happens in this problem in physical manner? Let's assume a bullet gains a subsonic velocity in a couple of microseconds. It would be exactly imposition of farfield boundary condition in the vicinity of bullet.

3) If I have some mistake, I cannot find it. Could you help me out?

Thank you for your patience and time!
ugurtan666 is offline   Reply With Quote

Old   February 13, 2022, 06:49
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
what literature have read about the numerical entropy?


As a more general comment for general unsteady Euler equations:


1) depending on the geometry and BCs also subsonic inlet can produce singularity due to the coalescence of characteristics of the same family.
2) if you have isoentropic and unsteady flows, the entropy is constant only along the flow trajectories. If the inlet conditions are homogeneous the flow is homoentropic, at least until a singularity is generated.
3) the goal is to have numerical entropy that fulfills the real thermodynamics conditions. In this sense, you need to assess that the production of numerical entropy is never negative.
ugurtan666 likes this.
FMDenaro is offline   Reply With Quote

Old   February 13, 2022, 08:20
Default
  #3
New Member
 
ugurtan
Join Date: May 2020
Location: Munich, Germany
Posts: 19
Rep Power: 6
ugurtan666 is on a distinguished road
Thank you for your valuable answer. Actually I am trying to understand the Riemann problem solution and types of eigenmodes in Euler equations.

I am following Toro's books Riemann Solvers and Numerical Methods for Fluid Dynamics. So far, I did not find anything about numerical entropy in that book but I just made some thoughts so that I can have some conclusions.

Just as in your third comment, the entropy that is calculated from numerical solution must follow the theoretical entropy. I thought that the entropy must be kept constant in a 2D subsonic problem of an airfoil with Euler equations. It can only be possible if all active, or nonzero amplitude, eigenmodes are isentropic which means zero amplitude contact discontinuity and rarefaction solution of acoustic eigenmodes everywhere in the domain for this specific problem.

My question is a bit different than that. Toro states that the type of nonlinear eigenmodes (rarefaction or shock) must be determined for exact Riemann solution. I do not understand its necessity because the type of eigenvectors are known and left and right states are known as well. Each jump must have a scalar multiple of corresponded eigenvector. I do not understand why I must check the type of nonlinear eigenmodes.

This confusion makes me think about this simple 2D subsonic Euler problem. Maybe I should have more thought on this problem but I cannot comprehend it in a subtle way.

Thank you very much for your time again!

Quote:
Originally Posted by FMDenaro View Post
what literature have read about the numerical entropy?


As a more general comment for general unsteady Euler equations:


1) depending on the geometry and BCs also subsonic inlet can produce singularity due to the coalescence of characteristics of the same family.
2) if you have isoentropic and unsteady flows, the entropy is constant only along the flow trajectories. If the inlet conditions are homogeneous the flow is homoentropic, at least until a singularity is generated.
3) the goal is to have numerical entropy that fulfills the real thermodynamics conditions. In this sense, you need to assess that the production of numerical entropy is never negative.
ugurtan666 is offline   Reply With Quote

Old   February 13, 2022, 08:45
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I suggest have a look also to the Leveque textbook for FV in hyperbolic problems.
There is a lot of literature about numerical entropy.
Be aware, that speaking about exact Riemann is typical of 1d problem.
Are you talking about a multidimensional Riemann solver?
FMDenaro is offline   Reply With Quote

Old   February 13, 2022, 09:07
Default
  #5
New Member
 
ugurtan
Join Date: May 2020
Location: Munich, Germany
Posts: 19
Rep Power: 6
ugurtan666 is on a distinguished road
Yes I am talking about a multidimensional Riemann solver. Actually I could not see any note about it but I am gonna check it out again. I have Leveque textbook as well but I have still in some confusion.

Quote:
Originally Posted by FMDenaro View Post
I suggest have a look also to the Leveque textbook for FV in hyperbolic problems.
There is a lot of literature about numerical entropy.
Be aware, that speaking about exact Riemann is typical of 1d problem.
Are you talking about a multidimensional Riemann solver?
ugurtan666 is offline   Reply With Quote

Old   February 13, 2022, 14:08
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by ugurtan666 View Post
Yes I am talking about a multidimensional Riemann solver. Actually I could not see any note about it but I am gonna check it out again. I have Leveque textbook as well but I have still in some confusion.



A multidimensional Riemann solver has indeed more theoretical issues. I personally don't work using Euler equations but you can find a lot of literature.

But I think that your numerical entropy analysis makes sense only for correct shock capturing. In case of regular solutions that is less relevant.
FMDenaro is offline   Reply With Quote

Reply


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
Entropy Cormac Main CFD Forum 5 March 31, 2023 01:30
Fundamental questions about numerical schemes Obad OpenFOAM Running, Solving & CFD 1 May 10, 2021 11:40
How to Install Numerical Wave and Pressure Gauges in the Numerical Wave Tank? mushtak Main CFD Forum 0 November 2, 2020 03:34
How to calculate entropy generation in (W/mK) in CFD-Post? Shomaz ul Haq CFX 9 October 22, 2017 06:04
New Books and Numerical Software Eleuterio TORO Main CFD Forum 0 December 18, 1998 13:41


All times are GMT -4. The time now is 08:41.