CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Supersonic Channel Flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2016, 19:19
Default Supersonic Channel Flow
  #1
New Member
 
Join Date: Apr 2016
Posts: 3
Rep Power: 10
Keskin is on a distinguished road
Hello everybody,

I am a new member in the forum. In my graduate years I solved some heat transfer and flow problems but I had never tried a compressible flow problem. I am trying to solve a problem from Hoffman's CFD book. (Vol.2, p. 201)

The book suggested a modified Runge-Kutta but it didn't work while I was trying. I will start from the beginning. What I request from you:

Occasionally I will upload my progress. It will include my code and a presentation showing what portion of the code is doing what. Could you please check and give me advices?

I have got obsessed with the problem and my main problems are:

*The problems I have solved in the past had boundary conditions and initial conditions clearly stated. It seems different when it comes to compressible flow.

*I am not much familiar with the computational space. Therefore I cannot easily see my mistakes.

As there are many things hard to understand about the subject I think doing it with help from experienced people will contribute to me a lot.

The first files are attached. It includes a presentation and the grid generator MATLAB file.

The presantation Shows:
P1: The cover page
P2: Shows the dimensions of the problem (The red ones are the ones I use and the purple ones are the ones in the book). Also the parts declaring the dimensions are being shown.
P3: Shows the boundary conditions for the elliptic PDE.
P4: Shows the code piece solving the PDE with Gauss-Seidel and the generated mesh can be seen.
P5: Shows the code piece calculating Jacobians and metrics.

What I need for this first attempt is not you to inspect everyline of the code. You can run the MATLAB code and check if it is OK to use these grids. Do you see any problems? Also it takes too much to generate the grids. Is it normal?
Attached Files
File Type: zip CFD-Online1.zip (84.3 KB, 9 views)
Keskin is offline   Reply With Quote

Old   April 19, 2016, 17:24
Default
  #2
New Member
 
Join Date: Apr 2016
Posts: 3
Rep Power: 10
Keskin is on a distinguished road
Hello again,

I have decided to go with a simplier geometry and less node numbers. Therefore I can check the calculations by hand.

The geometry is below and the flow enters the channel from the left side:



The inlet boundary conditions are Ux=1, Uy=0, density=1 and pressure=0.20 as dimensionless numbers. The inlet Mach number is about 2.

My questions are:

*As the inlet flow is supersonic and the crossection area decreases can I assume the outlet flow will be supersonic too?

*I have specified all the inlet boundary conditions. As I will solve inviscid 2D-Euler Equations do I need to specify the boundary conditions for one of the upper and lower surfaces? As the problem is a first order 2D it seems to me I cannot make both of them extrapolated.
Keskin is offline   Reply With Quote

Old   May 21, 2016, 02:11
Default
  #3
Member
 
LUQILIN
Join Date: May 2016
Location: Harbin, China
Posts: 35
Rep Power: 9
LUQILIN is on a distinguished road
Quote:
Originally Posted by Keskin View Post
Hello again,

I have decided to go with a simplier geometry and less node numbers. Therefore I can check the calculations by hand.

The geometry is below and the flow enters the channel from the left side:



The inlet boundary conditions are Ux=1, Uy=0, density=1 and pressure=0.20 as dimensionless numbers. The inlet Mach number is about 2.

My questions are:

*As the inlet flow is supersonic and the crossection area decreases can I assume the outlet flow will be supersonic too?

*I have specified all the inlet boundary conditions. As I will solve inviscid 2D-Euler Equations do I need to specify the boundary conditions for one of the upper and lower surfaces? As the problem is a first order 2D it seems to me I cannot make both of them extrapolated.
Here are some test cases you need.
http://turbmodels.larc.nasa.gov/index.html
LUQILIN is offline   Reply With Quote

Old   June 4, 2016, 00:30
Default Supersonic Channel Flow
  #4
New Member
 
Thibor
Join Date: Jun 2016
Posts: 1
Rep Power: 0
thibor is on a distinguished road
Hello everyone!

I need help! I am not expert in matlab.

I have a similar problem to find the solution, please see enclosed.

How can I change the geometry?

Do you have some similar solution or a matlab code to share with me?

Tks,

Regards,

Thibor

Last edited by thibor; June 26, 2016 at 10:30.
thibor is offline   Reply With Quote

Old   June 4, 2016, 06:53
Default
  #5
New Member
 
Join Date: Apr 2016
Posts: 3
Rep Power: 10
Keskin is on a distinguished road
Quote:
Originally Posted by thibor View Post
Hello everyone!

I need help! I am not expert in matlab.

I have a similar problem to find the solution, please see enclosed.

How can I change the geometry?

Do you have some similar solution or a matlab code to share with me?

Tks,

Regards,

Thibor
Hello,

Is it mandatory to use the specified methods in the document to solve this problem? I was trying different methods when I asked this question. For example I can generate grids for your example but it won't meet the requirements stated in the document as my code use elliptic grid generation.

By the way what book do you use for this lecture? The PDF mentions Chapter 12. I may have a look if I can find it.
Keskin 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
LES of channel flow: data, case files, technical report. tiam OpenFOAM Running, Solving & CFD 34 June 12, 2023 08:11
Boundary condition problem for open channel flow Andy CFX 9 June 11, 2016 07:20
reverse flow occur while activating open channel flow boundary? mariam.sara Fluent Multiphase 7 April 26, 2015 07:24
back pressure at exit for supersonic flow BigFrank FLUENT 6 April 24, 2014 15:13
Flow in Supersonic MHD Channel Antanas CFX 6 February 13, 2012 14:49


All times are GMT -4. The time now is 02:44.