|
[Sponsors] |
How to export pressure along contour vs. time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2024, 19:11 |
How to export pressure along contour vs. time
|
#1 |
New Member
Join Date: Sep 2024
Posts: 1
Rep Power: 0 |
I'm trying to run a 2D transient model of turbulent external flow over a cylinder. I'd like to obtain the pressure over the cylinder surface vs. time. Ultimately, I'd like a 2D array of pressure values, with position (samples along cylinder wall) along one dimension, and time along the other.
In FLUENT and Post, I can plot the pressure over the cylinder surface, and in Post, select the time step. I figured out a way in Post to automate changing the time steps and export the chart data, but it was very slow. Is there a simple way to export this 2D data in FLUENT or Post or EnSight? |
|
September 26, 2024, 12:18 |
|
#2 |
Member
Join Date: Jul 2013
Posts: 98
Rep Power: 13 |
Play around in the TUI in order to obtain the command that you'd need in order to create a plot like the one you are mentioning and writing it out to a file.
You can put that command in "calculation activities" to run the command every iteration or timestep. The filename should include in it %i for iteration or %f for flow time (maybe %t for timestep number, not sure), that way if your file is called "Pressure_on_cylinder_%f.xy", it will replace the %f for the flow time. If you work with ensight and have a transient export, I would show the plot in Ensight and with the help of a little python script you can go over every timestep exporting the plot. I don't know if it will help... Cheers. |
|
Tags |
ensight, export data, fluent, post, transient 2d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
laplacianFoam with source term | Herwig | OpenFOAM Running, Solving & CFD | 17 | November 19, 2019 14:47 |
A CFX-POST error (ver 14.5.7) | wangyflp88 | CFX | 2 | July 22, 2017 01:17 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |