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

How to export pressure along contour vs. time

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2024, 19:11
Thumbs up How to export pressure along contour vs. time
  #1
New Member
 
Join Date: Sep 2024
Posts: 1
Rep Power: 0
GaudyZebra is on a distinguished road
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?
GaudyZebra is offline   Reply With Quote

Old   September 26, 2024, 12:18
Default
  #2
Member
 
Join Date: Jul 2013
Posts: 98
Rep Power: 13
HHOS is on a distinguished road
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.
HHOS is offline   Reply With Quote

Reply

Tags
ensight, export data, fluent, post, transient 2d

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 02:05.