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

Shock wave - how?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2008, 09:47
Default Shock wave - how?
  #1
Mareike
Guest
 
Posts: n/a
Hi there,

I want to plot the shock waves and the expansion waves of a flow around a flat plate. The simulation is done... How can I plot that inside CFX Post? I want to see the different angles.

Thanks a lot! Mareike
  Reply With Quote

Old   April 20, 2008, 19:24
Default Re: Shock wave - how?
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

Have a look at tutorial 8, Supersonic flow over a wing.

Glenn Horrocks
  Reply With Quote

Old   April 20, 2008, 20:54
Default Re: Shock wave - how?
  #3
Mareike
Guest
 
Posts: n/a
hi glenn,

thanks a lot!

ehm... what must i do to see the skin friction?
  Reply With Quote

Old   April 21, 2008, 19:46
Default Re: Shock wave - how?
  #4
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

This tutorial has a free slip boundary on the wing so you won't get any skin friction. You will have to rerun it with a no-slip wing to get skin friction. Also note to get accurate skin friction you will need a much finer mesh than the tutorials use.

Glenn Horrocks
  Reply With Quote

Old   October 27, 2023, 05:32
Default shock wave position Vs time plot for any parameter like pressure or density or mach
  #5
New Member
 
Ayushman
Join Date: Apr 2022
Posts: 9
Rep Power: 3
ayush1511 is on a distinguished road
I have a query... How to plot shock wave position Vs time plot in ANSYS Fluent or CFD post-processor for any particular parameter like pressure or mach no. or density?
ayush1511 is offline   Reply With Quote

Old   October 28, 2023, 00:36
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is the CFX forum. For fluent try the fluent forum.

But to visualise the shock waves, don't you just draw a cross section of pressure, density or velocity or something like that? Isn't that obvious? Or are you asking something else? (if so please explain what you are trying to do more thoroughly)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 29, 2023, 11:06
Default
  #7
New Member
 
Ayushman
Join Date: Apr 2022
Posts: 9
Rep Power: 3
ayush1511 is on a distinguished road
I performed a 2D simulation of the shock wave in shock tube using shock capturing method. Now I want to plot a graph of x-t (x co ordinate vs. time) for the shock wave in the shock tube. It was a unsteady with turbulent model, simulation using the Ansys Fluent. So, is there any way that I can plot x-t graph for the shock wave using the Ansys Post-Processing??

Thank You.
ayush1511 is offline   Reply With Quote

Old   October 29, 2023, 12:24
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,818
Rep Power: 27
Gert-Jan will become famous soon enough
If you have Fluent .dat-files at intermediate time timesteps, then you can read these into CFD-Post using the Timestep-Selector-Icon. In this way you can plot the variables as a function of time and export graphs.
If you dont have intermediate files, then you have to rerun the case and make sure you save these.
Gert-Jan is offline   Reply With Quote

Old   October 29, 2023, 13:07
Default
  #9
New Member
 
Ayushman
Join Date: Apr 2022
Posts: 9
Rep Power: 3
ayush1511 is on a distinguished road
In "x Vs t" plot, x is the length of the shock tube along which shock wave is moving.
ayush1511 is offline   Reply With Quote

Old   October 29, 2023, 13:28
Default
  #10
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,818
Rep Power: 27
Gert-Jan will become famous soon enough
You can draw a line through your tube and plot the variable x as a function of length. This you can export to a .csv-file, Do this for every time step (using you timestep selector icon) and you will have multiple .csv-files. Plot them in a spreadsheet, ét voila.
You can also write a script to let Post read the .dat-files and write the .csv-files. Then it goes automatically.

Possibly you can open multiple .dat-files into one Post session. Then you might get multiple lines in one plot in CFD-Post. I never tried. Please try.
Gert-Jan is offline   Reply With Quote

Old   October 29, 2023, 17:48
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I would export the pressure data (or density, velocity or whatever shows the shock clearest) as a CSV file and write a thing in python or matlab to find the shock and determine the x position. Then script it over all the time points and you have a shock position versus time curve.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 29, 2023, 20:49
Default
  #12
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,818
Rep Power: 27
Gert-Jan will become famous soon enough
Quote:
Originally Posted by ayush1511 View Post
In "x Vs t" plot, x is the length of the shock tube along which shock wave is moving.
This will be a boring curve, not?
With 'x' the length of the tube as a function of time..........??

Last edited by Gert-Jan; October 30, 2023 at 05:45.
Gert-Jan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Frequency of a shock wave Madhusanka Main CFD Forum 0 April 24, 2011 12:38
Shock wave reflection Zato_Ichi OpenFOAM Running, Solving & CFD 0 April 13, 2011 15:35
Question about the shock wave nucharin CFX 2 January 27, 2005 05:44
Question about the shock wave in CFX software nucharin Main CFD Forum 1 January 25, 2005 09:26
shock wave propagation Chetan FLUENT 1 April 20, 2004 15:45


All times are GMT -4. The time now is 04:14.