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

How to calculate path-dependent thermodynamic integrals?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 04:19
Default How to calculate path-dependent thermodynamic integrals?
  #1
New Member
 
Procyon
Join Date: Jan 2011
Posts: 8
Rep Power: 15
Procyon is on a distinguished road
Hello everybody,


I would like to calculate path-dependent integrals like \int_1^2 v \, \mathrm{d}p (the "specific amount of useful work") using results of a CFD simulation. However, I am unsure about how to transform this integral into something that can be used in CFD post-processing (I am anlysing turbo compressors). This is what I derived so far:
  1. v \, \mathrm{d}p
    • is specific to one infinitesimal fluid parcel (mass element \mathrm{d}m
    • uses a Lagrange'ian view/description (follow the mass element)
    • does not contain any parametrisation of the infinitesimal changes, i.e. no definition of an infinitesimal change of pressure per time? distance travelled?
  2. Choose time t as the parametrisation of the infinitesimal changes, because time is "equal" in Eulerian and Lagrangian formulations and is an independent variable. Thus, v \, \frac{\mathrm{d}p}{\mathrm{d}t} (the "specific amount of useful power")
  3. Use the material derivative to transform the time derivative into an Eulerian formulation:
    \frac{\mathrm{d}p}{\mathrm{d}t} = \frac{\partial p}{\partial t}+\mathbf{u}\cdot\mathrm{grad}\left(p\right)
  4. Multiply by \mathrm{d}m = \rho \, \mathrm{d}V to get an extensive quantity (specific volume v and density \rho cancel out) and assume \frac{\partial p}{\partial t} = 0:
    \mathbf{u}\cdot\mathrm{grad}\left(p\right) \, \mathrm{d}V
  5. Since \mathrm{d}V is constant/independent in an Eulerian formulation, we can integrate over the whole volume \mathcal{V}:
    \dot{Y} = \int_{\mathcal{V}} \mathbf{u}\cdot\mathrm{grad}\left(p\right) \, \mathrm{d}V
  6. Divide by the massflow rate \dot{m} to get "the volume-averaged specific useful work" \bar{y}:
    \bar{y} = \frac{\dot{Y}}{\dot{m}} = \frac{1}{\dot{m}} \int_{\mathcal{V}} \mathbf{u}\cdot\mathrm{grad}\left(p\right) \, \mathrm{d}V
The "volume-averaged specific useful work" \bar{y} should be pretty close to the polytropic head of the compressor, right?



Is that the correct way to do it? Or did I make any mistakes?

Sincerely,
Procyon

Last edited by Procyon; April 19, 2021 at 04:20. Reason: Extension of the question
Procyon is offline   Reply With Quote

Old   April 21, 2021, 01:12
Default
  #2
New Member
 
Join Date: Jan 2021
Posts: 18
Rep Power: 5
digger is on a distinguished road
Hi,


I would extract the interesting path (i.e., variables along the path) and calculate energy differentials along it (de=e_b-e_a, where a, b are two points placed close to each other on the path). The sum of those differentials would be the amount of energy change while passing from start to end point along the path. The e is defined as the internal energy e(T), while other forms of energy like the enthalpy (p/rho) and kinetic energy (v^2) can also be added if needed.


https://en.wikipedia.org/wiki/Bernou...thermodynamics


The above expression yields the specific energy at points, for example, along the path.


Another way would be probably to calculate the integral of the substatial derivative of the total energy D(e+v^2)/Dt or enthalpy for an open system.


What would be the practical relevance of that information?

Last edited by digger; April 21, 2021 at 08:40.
digger 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
calculate friction factor & nusselt number soheil1991 FLUENT 3 March 11, 2017 09:30
calculate velocity difference helly OpenFOAM Post-Processing 0 June 21, 2016 08:49
How can be calculate a surface integral in the finite element method? HectorRedal Main CFD Forum 3 March 13, 2015 08:25
How does ANSYS calculate stress along a defined path saokevivvie ANSYS 0 July 12, 2012 18:05
How to calculate line integrals in FLUENT? alven299 FLUENT 2 June 30, 2010 21:53


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