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

Problems with Pressure boundary condition in a compressible steady case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2024, 03:04
Default Problems with Pressure boundary condition in a compressible steady case
  #1
New Member
 
Fabian
Join Date: Apr 2023
Posts: 5
Rep Power: 3
Fabian Web is on a distinguished road
Hello everybody,


I am trying to set up a case of a pipe. The inlet is a totalPressure boundary and the outlet a static pressure boundary. I am using the rhoSimpleFoam solver since I want to get a high pressure difference in the end. Until now the pressure difference is set to a low value because the simulation does not converge even with low pressure differences. The simulation stops (depending on the settings) after around 30 iterations.


Setting up the simulation with a mass flow inlet works perfectly fine.



As far as i can tell the error occurs at the inlet. Here the velocity close to the wall is very high compared to the rest of the domain.


Can you tell me what I have to look out for when setting up compressible simulations of internal flow with totalPressure inlets and static pressure outlets?


These are the boundaries:
p:
Code:
    inlet
    {
        type            totalPressure;
    rho        rho;
    psi        thermo:psi;
    gamma        1.3;
    value        uniform 5000000;
    p0        uniform 5000000;
    }

    outlet
    {
        type            uniformFixedValue;
        uniformValue    table
    (
         (0 4999000)
        (5000 4999000)
        (20000 4900000)
        (25000 4900000)
        (250000 100000)
    );
    }

    "(?i).*walls"
    {
        type            zeroGradient;
    }

U:
Code:
    inlet
    {
        type            pressureInletOutletVelocity;
    value        uniform (0 0 0);
    }

    outlet
    {
        type            pressureInletOutletVelocity;
    value        uniform (0 0 0);
    }

    "(?i).*walls"
    {
        type            noSlip;
    }

T:
Code:
    inlet
    {
        type            fixedValue;
        value           $internalField;
    }

    outlet
    {
        type            inletOutlet;
        value           $internalField;
        inletValue      $internalField;
    }

    "(?i).*walls"
    {
        type            zeroGradient;
    }

Initialization:


p:
internalField uniform 4999500


U:
internalField uniform (0.1 0 0)


T:
internalField uniform 293.15
Attached Images
File Type: jpg PipeVeloProfil.jpg (22.8 KB, 6 views)
File Type: jpg InletTotalpressureVeloProfil.jpg (24.6 KB, 2 views)
Fabian Web 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 06:40
UDF for Automatic Solution Initialization for previous case data file gartz89 Fluent UDF and Scheme Programming 6 March 30, 2020 07:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 01:21.