CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Calculate Total Pressure and Temperature compressible flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2020, 07:15
Default Calculate Total Pressure and Temperature compressible flow
  #1
Senior Member
 
Join Date: Dec 2019
Posts: 215
Rep Power: 8
shock77 is on a distinguished road
Hi everyone,


can someone tell me a suitable way to calculate the total pressure and total temperature for compressible flow (supersonic)?


I have tried it this way in the controlDict for total pressure:


Code:
pressure1
    {
    type  pressure; 
    libs  ("libfieldFunctionObjects.so");        
    calcTotal yes;   
    calcCoeff no;
    
    writeControl    adjustableRunTime;
    writeInterval   5e-5;
    // Optional entries

    // Field names
    p               p;
    U               U;
    psi             psi;

    pRef 0;
     }


 probes1
    {
    
    type probes;

    functionObjectLibs ("libsampling.so");

    region region0;

    probeLocations
    (
    (100 50 50)
    );

    fields
    (
    U p T Ma rho total(p)
    );

        executeControl  writeTime;
        writeInterval   1;
    }
Unfortunately I get a different solution for the total pressure fields, when I use the calculator of paraview and calculate the total pressure with the Mach-Relations. The solution of total(p) is the one for incompressible flow. How do I calculate the total pressure for compressible (supersonic) flow?


And I have not found a way to calculate the total temperature. p0 and T0 are known variables in openFOAM, when you use the totalPressure or totalTemperature BC. So it should be somehow possible to access them, but I dont know how.




Kind regards,
shock77
shock77 is offline   Reply With Quote

Old   April 26, 2021, 03:35
Default Perfect question
  #2
Member
 
Join Date: Dec 2018
Posts: 75
Rep Power: 7
hbulus is on a distinguished road
I am also waiting some thoughts on this issue.
hbulus is offline   Reply With Quote

Old   August 29, 2024, 20:14
Default
  #3
chc
New Member
 
Join Date: Nov 2023
Posts: 18
Rep Power: 3
chc is on a distinguished road
Has anyone managed to find a solution for this one? I saw that openfoam has a isotropic method for the pressure function object, but I'm not sure how applicable that is for shock systems.
chc 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Total Pressure, Total Temperature Definitions in Compressible Flows PCFD Main CFD Forum 1 March 1, 2014 04:58
Total pressure in real gas (compressible flow) Bart Prast Main CFD Forum 3 November 14, 2000 11:44


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