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

RhoCentralFoam sudden increase of u and drop of T

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2019, 10:18
Default RhoCentralFoam sudden increase of u and drop of T
  #1
Member
 
Join Date: Jun 2017
Posts: 73
Rep Power: 9
Friendly is on a distinguished road
Hi,


I am trying to simulate a supersonic outflow from a pipe into the free environment.

The inlet patch is the beginning of the pipe.
The pipe is convergent and the smallest cross section is the exit.
The outlet is a wide box which resembles the free environment.


The problem arises soon after I start the simulation. Right after the inlet the velocity increases heavily from 0 to 1000 m/s, the temperature drops to almost 0 K,
then even further to negative values which leads to the stop of the simulation.


I think the problem are my BCs. The mesh is easy to generate and has a good quality. The Co-number is 0.2. I am using rhoCentralFoam and openFOAM 4.1.




My boundary conditions are:


for p:


Code:
internalField  uniform 1e5;



    inlet
    {
    type            totalPressure;
    gamma           1.4;
    p0              uniform 100e5;
    }



   outlet
    {
        type            waveTransmissive;
        field           p;
        psi             thermo:psi;
        gamma           1.4;
        fieldInf        1e5;
        lInf            1;
        value           uniform 1e5;
    }




    wall
    {
        type            zeroGradient;
    }
for u


Code:

internalField  uniform (0 0 0);


inlet
    {
    type            fixedValue;
    value        uniform (0 0 0);
    }

    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value         uniform (0 0 0);


    wall
    {
        type            fixedValue;
      inletValue      uniform (0 0 0);
    }
for T


Code:

internalField   uniform 293.15;


inlet
    {
    type    fixedValue;
    value    uniform 293.15;

    }

    outlet
    {
        type            zeroGradient;
    }
    wall
    {
        type            zeroGradient;
    }
Friendly is offline   Reply With Quote

Old   December 14, 2019, 19:11
Default
  #2
New Member
 
Marko Josic
Join Date: Dec 2010
Posts: 20
Rep Power: 15
emjay is on a distinguished road
Hello Friendly,

does your inlet condition for the U variable make sense?

Because you specify a totalpressure condition and for u:
inlet
{
type fixedValue;
value uniform (0 0 0);
}

this b.c. is like a solid wall. Could you test your U.inlet with zeroGradient?
emjay is offline   Reply With Quote

Old   December 15, 2019, 07:21
Default
  #3
Member
 
Join Date: Jun 2017
Posts: 73
Rep Power: 9
Friendly is on a distinguished road
Oh yes sry, I copied i from the wrong folder it seems.


Here is my real u inlet:


inlet
{

type pressureInletOutletVelocity;
value uniform (0 0 0);
}
Friendly is offline   Reply With Quote

Reply

Tags
rhocentralfoam


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
Increase in pressure drop when refine the mesh Thromkar FLUENT 4 December 5, 2018 15:13
Polydispersed phase pressure drop with drop size Laksh CFX 1 June 8, 2017 19:56
Sudden pressure drop - Multiphase Flow koscfd OpenFOAM Running, Solving & CFD 3 August 25, 2016 09:22
Sudden drop in convergence plots Easyqus Main CFD Forum 1 December 8, 2015 15:35
sudden drop in solver monitor jiguozhao CFX 3 February 27, 2011 06:34


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