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

Locating the location for a specific value

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2019, 06:45
Default Locating the location for a specific value
  #1
New Member
 
Max
Join Date: Nov 2019
Posts: 2
Rep Power: 0
Xamilia is on a distinguished road
Hello,

I am simulating a shock tube in fluent and want to postprocess it in CFD Post. To locate the shock in the current time step I want to use the pressure.gradient X. To plot the position against x and t I need to now where the value is max. But I don't find a way to get this information. So can someone help me how to find the x-location of the shock?

Thank you
Xamilia is offline   Reply With Quote

Old   November 28, 2019, 06:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I can't see a way to do this in CFD-Post. You could try a full featured post processing software like tecplot, fieldview or ensight.

Alternately, when I was doing shock tube work I often used the pressure half way between the before and after shock pressure. You can then put a contour line on it and extract the location of the contour line for a chart.
Xamilia likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 28, 2019, 07:18
Default
  #3
New Member
 
Max
Join Date: Nov 2019
Posts: 2
Rep Power: 0
Xamilia is on a distinguished road
Thank you for your quick answer!

Oh okay.

I just found a way to extract the position with a Point and the Method 'Variable Minimum', in the Chart I selected the Location of this Point. Problem is that the pressure.gradient isn't the greatest at the shock in the beginning, it is in the area of expansion waves. Only after a while it does work for the shock.

Your idea seems to work better for this case, but I am not sure if I understood your way exactly. How do insert the contour line with the specific pressure value? It would be very kind if you could explain it in a little more detailed way, thank you very much!

And if I find another way, I'll let you know if you're interested.

Thanks!
Xamilia is offline   Reply With Quote

Old   November 28, 2019, 17:24
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Insert a contour object, and change the levels to be a pressure level you define. Then you can get the XYZ location of the contour line using functions like max, min, ave etc of the contour object.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfd - post, chart, expression, location, position


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 13:56.