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

Determining shockwave location in Ansys

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By NickFL
  • 1 Post By NickFL
  • 1 Post By NickFL
  • 1 Post By NickFL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2023, 05:39
Default Determining shockwave location in Ansys
  #1
Member
 
Join Date: Jan 2023
Posts: 32
Rep Power: 3
Transonic is on a distinguished road
Hi, is it possible to determine the shockwave location in Ansys fluent please?

What I wanted to know was where along the chord length of an aerofoil, the shockwave is like this graph has done

Thanks in advance
Attached Images
File Type: jpeg 9B4FE34D-8BF7-4F70-9D00-D71E4A560081.jpeg (47.2 KB, 21 views)
Transonic is offline   Reply With Quote

Old   March 27, 2023, 06:05
Default
  #2
Senior Member
 
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17
NickFL is on a distinguished road
Across a shock wave we will have a sharp change in pressure, velocity, density, etc. We can use that to guide us where the shock location "is".
Transonic likes this.
NickFL is offline   Reply With Quote

Old   March 27, 2023, 11:22
Default
  #3
Member
 
Join Date: Jan 2023
Posts: 32
Rep Power: 3
Transonic is on a distinguished road
Hi, so it be correct to just make a pressure plot over the surface, then where the pressure starts to jump, is where the shockwave begins?
Transonic is offline   Reply With Quote

Old   March 27, 2023, 15:14
Default
  #4
Senior Member
 
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17
NickFL is on a distinguished road
Yes that would be one way. Perhaps a more elegant way would be to plot the derivative of the pressure. Where this is a maximum, that would give you the location of the shock. Are you looking at 2D or 3D flow?
Transonic likes this.
NickFL is offline   Reply With Quote

Old   March 27, 2023, 15:39
Default
  #5
Member
 
Join Date: Jan 2023
Posts: 32
Rep Power: 3
Transonic is on a distinguished road
Hi Nick, I’ll give that a shot, I’ve never thought about it like that. Would I be plotting that over the aerofoil please?

2-D transonic flow
Transonic is offline   Reply With Quote

Old   March 28, 2023, 03:27
Default
  #6
Senior Member
 
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17
NickFL is on a distinguished road
I am not sure exactly on what type of solution you are attempting. But keep in mind that depending on the airfoil, Mach Number, and angle of attack there can be multiple "correct" solutions. See: https://www.researchgate.net/publica..._Flow_Equation
Transonic likes this.
NickFL is offline   Reply With Quote

Old   March 28, 2023, 09:49
Default
  #7
Member
 
Join Date: Jan 2023
Posts: 32
Rep Power: 3
Transonic is on a distinguished road
Quote:
Originally Posted by NickFL View Post
Yes that would be one way. Perhaps a more elegant way would be to plot the derivative of the pressure. Where this is a maximum, that would give you the location of the shock. Are you looking at 2D or 3D flow?
Hi Nick, I couldn’t find the pressure derivative?
Attached Images
File Type: jpg E706B23B-FBA6-4BF1-A68B-7DAAB02B3130.jpg (82.3 KB, 9 views)
Transonic is offline   Reply With Quote

Old   March 29, 2023, 04:02
Default
  #8
Senior Member
 
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17
NickFL is on a distinguished road
Really? Sorry! I would have expected Fluent to include the gradient of pressure in as a post-processing quanitity by now. I would have expected that since the gradient is computed for the mesh adaption it could be accessed. Silly me for assuming anything.



You can create a post-processing scalar variable using a UDF. The UDF does not need to be run during the solution, only when looking at the results. There is a great example in the UDF guide where they create a UDS (user-defined scalar) for the gradient of T^4 (radiation problem). You could easily adapt that.


Edit: See example 8.5.2.1 here: https://ansyshelp.ansys.com/account/...ampleUDFs.html
Transonic likes this.
NickFL is offline   Reply With Quote

Old   March 29, 2023, 10:22
Default
  #9
Member
 
Join Date: Jan 2023
Posts: 32
Rep Power: 3
Transonic is on a distinguished road
Hi Nick, no problem! Yeah, I thought I had seen it too somewhere and thanks for the link, I’ll take a look!
Transonic is offline   Reply With Quote

Reply

Tags
airfoil 2d, fluent, shockwaves, super sonic, trans-sonic


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
ANSYS fluent and OpenFoAM comparison gentodin Main CFD Forum 6 February 26, 2021 04:58
Pro/E to ANSYS Parameterization Guide Trues ANSYS 4 April 18, 2018 06:52
CFX FSI Fatal Error unbanana CFX 0 October 3, 2015 06:57
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Exporting results from CFX to ANSYS ?? sohail ahmed CFX 1 December 20, 2007 02:10


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