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

Flow inside a converging nozzle with Pimplefoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nahian_masud

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 12, 2022, 04:33
Default Flow inside a converging nozzle with Pimplefoam
  #1
New Member
 
badShinchan
Join Date: Apr 2022
Posts: 3
Rep Power: 4
nahian_masud is on a distinguished road
I am attaching the case file. Whenever i try to run, it shows the error.
(attached below)
277999892_1089769345204759_900859964713374417_n.jpg

277959553_2840606089574810_867235461933461332_n.jpg

I tried to run the simulation with
" mpirun -np 2 pimpleFoam -parallel " as I have decomposed 2 processors.

no velocity is known. the inlet and outlet pressure are defined in the P file

the 0/U

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type zeroGradient;

}

outlet
{
type zeroGradient;
}

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

// ************************************************** *********************** //

the 0/P
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 101325;
}

outlet
{
type fixedValue;
value uniform 86000;
}

wall
{
type zeroGradient;
}
}

// ************************************************** *********************** //

the controldict file
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application pimpleFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 1000;

deltaT 0.2;

writeControl timeStep;

writeInterval 200;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

functions
{
#includeFunc fieldAverage(U, p, prime2Mean = yes)
}

// ******************
************************************************** ***** //
Afeefa likes this.
nahian_masud is offline   Reply With Quote

 


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 when simulating nozzle flow with outside region blais.bruno SU2 4 March 13, 2024 14:04
Pressure drop across a converging nozzle mjkey CFX 16 July 17, 2019 13:22
Sonic flow for exhaust nozzle beanlee999 FLUENT 1 May 10, 2012 14:34
Modelling the Heat flow inside the curing oven Marios Vlad CFX 1 February 6, 2008 07:11
compressible flow in a counterflow nozzle d.vamsidhar FLUENT 0 November 24, 2005 01:45


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