File Exchange

## 2-D Nozzle Design

version 1.2 (7.2 KB) by

2-D nozzle using the method of characteristics and CFD on nozzle on curvilinear mesh.

4.8125
17 Ratings

Updated

Given the conditions (Temperature, Pressure, etc.) of the combustion chamber as well as the ambient conditions and the diameter/area of the throat, the program will:
a) Solve for the nozzle exit area that produces the max amount of thrust.
b) Use the method of characteristics to solve for the shape of said nozzle.
c) Automatically make curvilinear mesh for simulating the nozzle
d) Solves the Euler equations on the mesh using the MacCormack finite volume method.
e) Plots the results for comparison

Sandeep Kumar

### Sandeep Kumar (view profile)

Hey Man Is there a project report for this
or any kind of detail?

Sandeep Kumar

Nice work

hua zai

### hua zai (view profile)

wercheffani Ahmed

nice job ;)

Xin

Nice work!

Xin

Feras Khouj

### Feras Khouj (view profile)

is this code applicable to design a Hypersonic nozzle for Wind-tunnels ?

Antonio

maurizio

### maurizio (view profile)

hey guys!!! in the code nozzle.m, what is the 'Nozzle width'?????

bhisham gudwani

### bhisham gudwani (view profile)

how did u get the coordinates of the boundary points ??

ping li

### ping li (view profile)

xianzai ni zai nar. zhe shi wo de e-mail
pingli74@yahoo.com
qing xie yi ge e-mail. xiexie ni

Alexey Kats

### Alexey Kats (view profile)

Good approach! Does it possible to compute the supersonic flow out of nozzle based on this model?

Patrick

### Patrick (view profile)

Great code, but check your boundary conditions. The zero-velocity BC along the top wall is more of a finite-difference BC. Since you're doing a finite-volume formulation, shouldn't those boundary cell velocities be the negatives of those in the first active cell? That way you have zero velocities AT THE WALL. You do have the symmetry plane BC coded correctly for a finite-volume formulation.

Igor Voitenko

### Igor Voitenko (view profile)

Well-founded approach to the solution of CFD problem. Well done!

Shrinath KS

### Shrinath KS (view profile)

its a good attempt

Edwin Byun

### Edwin Byun (view profile)

otto man

sofyan natsir

Miles Davis

There was a error on line 229, and is a miss semicolon and it was give dimension error.
Please note that, and thank you very much for the work.

Amit Singh

do you have a code for flow characterization through a given 2-d nozzle??

ibrahim abuobeida

engineer

xunkai wei