CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

XY plot at avery time step

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2021, 10:01
Default XY plot at avery time step
New Member
Join Date: May 2021
Posts: 2
Rep Power: 0
Agore is on a distinguished road
Hi, is there a way to save xy plot data at every time step in a transient simulation?
Agore is offline   Reply With Quote

Old   May 25, 2021, 22:30
Senior Member
Join Date: Apr 2013
Posts: 1,760
Rep Power: 28
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
1. make a monitor which will provide you with the same output data
2. you may execute TUI command after each timestep to write xy plot:
this code will write y-coordinate from surface with id 3 to file called my_plot_at_time_*** with current time
(ti-menu-load-string (format #f "plot solution-set plot-to-file \"my_plot_at_time_~a" (rpgetvar 'flow-time)))
(ti-menu-load-string (format #f "plot solution y-coordinate yes () 3 ()"))
this is TUI commands, which you can modify according to your needs

to execute it after each timestep to go
calculation activities -> execute commands -> new -> define 1 command -> activate -> set to execute on each time step -> put code -> OK
best regards

press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote


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
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? EternalSeekerX SU2 3 October 9, 2020 18:28
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores puneet336 OpenFOAM Running, Solving & CFD 11 April 7, 2019 00:58
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01

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