CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   c-d nozzle (https://www.cfd-online.com/Forums/openfoam-solving/123327-c-d-nozzle.html)

anshul bansal September 10, 2013 06:00

c-d nozzle
 
i have made my 2D c-d nozzle geometry in gambit and mess it in openFoam by some command. and it is done.
but when i run this with rhoCentralFoam solver, it gives some error.

--> FOAM FATAL IO ERROR:
keyword e is undefined in dictionary "/home/anshu/OpenFOAM/anshu-2.2.1/run/tutorials/compressible/rhoCentralFoam/cd_1/system/fvSolution.solvers"

file: /home/anshu/OpenFOAM/anshu-2.2.1/run/tutorials/compressible/rhoCentralFoam/cd_1/system/fvSolution.solvers from line 22 to line 38.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 608.

FOAM exiting

my intial condion for P is like this

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

internalField uniform 101325;

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

outlet
{
type zeroGradient;
}

axis
{
type symmetryPlane;
}

upperwall
{
type zeroGradient;
}


frontAndBackPlanes
{
type empty;
}
}


please confirm that is it ok with these boundary condition??/



anshul bansal September 10, 2013 06:05

for high enthalpy flow (around M=6 and temp. 7000K), what numerical scheme i take?

Artur September 11, 2013 05:15

For your first problem, you didn't specify how you want to solve for "e" in system/fvSolution.

Have a read through the error message and convince yourself that this is the case, will help you in tracking the error sources in the future.

It should be, for instance, in biconic25-55Run35 tutorial:

Code:

    e
    {
        $U;
        relTol          0.1;
    }


anshul bansal September 12, 2013 04:38

is my boundary conditions are right?
and what solver should i use?... i use rhoCentralFoam solver(but this is density based solver)
can u suggest some pressure based solver.... and check my boundary condition..

Artur September 12, 2013 05:15

I'm afraid I can't help you without knowing what it is that you're trying to calculate exactly so some clarification would definitely help...

anshul bansal September 12, 2013 05:57

actually i have a c-d nozzle(bell contour). my project about high enthalpy flow. so ii want to simulate a high enthalpy flow through c-d nozzle.
so i made a c-d nozzle(3-d, take 5degree axisymmetry) from gambit and mesh it in openfoam. i check mesh by checkMesh, it is ok.

problem is going on its running through solver.
i have confusion about it's boundary condition and what solver should i take?


i will send you a paper to ur mail id (please send ur mail id) in which my geometry style is given. u just check it and reply me.

Artur September 12, 2013 06:22

I'm afraid I have no idea about high enthalpy flows so hopefully someone more capable in this area will answer your post.

All the best and good luck.

anshul bansal September 12, 2013 06:35

now this time i'm work with simple compressible flow. so first i done this, after i go for high enthalpy flow.
so advice me for simple compressible flow with my geometry.
(nd send ur mail id,so i can send my geometry to u)

anshul bansal September 23, 2013 05:42

Can any body told me which solver i used for c-d nozzle compressible flow ??


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