CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Post Post-processing of Ahmed body simulation (https://www.cfd-online.com/Forums/tecplot/200515-post-post-processing-ahmed-body-simulation.html)

Kainier April 5, 2018 03:40

Post Post-processing of Ahmed body simulation
 
2 Attachment(s)
I'm doing the post-processing of Ahmed body simulation. There are many papers that show the results like flowing charts.
I want to know how these charts are drew. In post-processing software such as tecplot, CFD-post or just export the data and draw the chart in other software like matlab. I have tried in CFD-post, but it seems there is no convenient way to draw this kinds of charts.

The source of the charts:
Guilmineau E. Computational study of flow around a simplified car body[J]. Journal of Wind Engineering & Industrial Aerodynamics, 2008, 96(6–7):1207-1217.
Hinterberger C, García-Villalba M, Rodi W. Large eddy simulation of flow around the Ahmed body[J]. 2004.

novedevon April 9, 2018 18:53

1 Attachment(s)
To create these style plots in Tecplot

1) Create line zone for each position of interest. This can be done in two methods,
A) Extract Surface Slice from 2D surface (Slice or 2D simulation shown in 3D coord).
B) Data > Extract > Extract Precise Line with given XY begin and end points. Note, that for the section around the vehicle you will have to do two extractions one below and one above the blank space because otherwise Tecplot will interpolate between the two points above and below the vehicle.


2) Define variable of interest in your plots you had three different variables as the variable being shown. If the variable doesn't exist in your dataset it can be calculated in Data > Alter > Specify Equation. I will call this variable "PlotVar"

3) Duplicate your line zones (so that you have the base zone un-altered) and perform a basic X offset (in Data > Alter > Specify Equation) like:

{X} = {X} + {PlotVar}*ScaleFactor

I determined ScaleFactor from the "Relative (grid units/magnitude): " field in Plot> Vector>Details dialog in the Length tab after setting my vector variables to "PlotVar" as U and a variable which was set to 0 as W (Again a Data > Alter> Specify Equation with {Zero} = 0).

4) Setup plot style for current extractions in Zone Style to control scatter/line pattern etc. Hit show mesh or scatter only on the zones you have been working with.

5) To compare different simulations there are again multiple methods, either you can carefully work with multiple datasets in the same frame. Or secondarily you can setup linking and overlapping frames with linked axes and transparent backgrounds to work with the datasets separately.


All of this can be scripted very easily with our PyTecplot API as well as experimented with in the UI.

If you have questions on how to script this or need more details on any steps along the process please contact support@tecplot.com to get further assistance.

Far March 16, 2019 07:44

Any one able to create these plots in tecplot?


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