|
[Sponsors] |
April 19, 2008, 09:47 |
Shock wave - how?
|
#1 |
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 |
|
April 20, 2008, 19:24 |
Re: Shock wave - how?
|
#2 |
Guest
Posts: n/a
|
Hi,
Have a look at tutorial 8, Supersonic flow over a wing. Glenn Horrocks |
|
April 20, 2008, 20:54 |
Re: Shock wave - how?
|
#3 |
Guest
Posts: n/a
|
hi glenn,
thanks a lot! ehm... what must i do to see the skin friction? |
|
April 21, 2008, 19:46 |
Re: Shock wave - how?
|
#4 |
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 |
|
October 27, 2023, 05:32 |
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: 4 |
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?
|
|
October 28, 2023, 00:36 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
October 29, 2023, 11:06 |
|
#7 |
New Member
Ayushman
Join Date: Apr 2022
Posts: 9
Rep Power: 4 |
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. |
|
October 29, 2023, 12:24 |
|
#8 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
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. |
|
October 29, 2023, 13:07 |
|
#9 |
New Member
Ayushman
Join Date: Apr 2022
Posts: 9
Rep Power: 4 |
In "x Vs t" plot, x is the length of the shock tube along which shock wave is moving.
|
|
October 29, 2023, 13:28 |
|
#10 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
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. |
|
October 29, 2023, 17:48 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
October 29, 2023, 20:49 |
|
#12 | |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Quote:
With 'x' the length of the tube as a function of time..........?? Last edited by Gert-Jan; October 30, 2023 at 05:45. |
||
|
|
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 |