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

how to export all time steps' data

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By urosgrivc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2016, 10:15
Smile how to export all time steps' data
  #1
New Member
 
Yujia Chen
Join Date: Apr 2016
Posts: 11
Rep Power: 10
alubacyj is on a distinguished road
Hello everyone,
I simulate 2-dimension flow passing a cylinder where appears the karman vortex. As known to all it's an unsteady and transient case,and I get data of 50 time steps. Now I want to export those velocity field data of 50 time steps, the problem is everytime I use the command <file—export> I can just export the data of one time step.
My question is how can I export those 50 time step data by simple operation?Need I export them one after another?

Thank you very much!
alubacyj is offline   Reply With Quote

Old   June 27, 2016, 07:34
Default
  #2
New Member
 
Hugo Regina
Join Date: Apr 2016
Posts: 23
Rep Power: 10
YuguiYo is on a distinguished road
Hi Yujia,

When you choose the trn file in the setup, you have to choose the to export each time step. It's in setup -> solver -> output control -> trn results -> (add a file) -> Option -> every time step.
Then when you're in cfx post you can export all the time step.

Hope it helps,

Bye
YuguiYo is offline   Reply With Quote

Old   June 27, 2016, 10:18
Default
  #3
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 15
monkey1 is on a distinguished road
You want to export your Data from CFX Post to e.g. a.csv File for excel (this can be done by using a perl script have a look at http://www.cfd-online.com/Forums/cfx...tml#post385850)?
Is this your question?

Or is what YuguiYo said already the solution to your problem, meaning you want to have a trn file for each time step written, so that you can watch all of them in CFX Post?
monkey1 is offline   Reply With Quote

Old   June 28, 2016, 06:16
Default
  #4
New Member
 
Yujia Chen
Join Date: Apr 2016
Posts: 11
Rep Power: 10
alubacyj is on a distinguished road
Thank you for your reply.
I know how to export data from cfx-pre, and now I want to export e.g. a couple pf csv files from CFX POST.
alubacyj is offline   Reply With Quote

Old   June 28, 2016, 06:17
Default
  #5
New Member
 
Yujia Chen
Join Date: Apr 2016
Posts: 11
Rep Power: 10
alubacyj is on a distinguished road
Quote:
Originally Posted by YuguiYo View Post
Hi Yujia,

When you choose the trn file in the setup, you have to choose the to export each time step. It's in setup -> solver -> output control -> trn results -> (add a file) -> Option -> every time step.
Then when you're in cfx post you can export all the time step.

Hope it helps,

Bye
Thank you for your reply.
I know how to export data from cfx-pre, and now I want to export e.g. a couple pf csv files from CFX POST.
alubacyj is offline   Reply With Quote

Old   June 28, 2016, 06:19
Default
  #6
New Member
 
Yujia Chen
Join Date: Apr 2016
Posts: 11
Rep Power: 10
alubacyj is on a distinguished road
Quote:
Originally Posted by monkey1 View Post
You want to export your Data from CFX Post to e.g. a.csv File for excel (this can be done by using a perl script have a look at http://www.cfd-online.com/Forums/cfx...tml#post385850)?
Is this your question?

Or is what YuguiYo said already the solution to your problem, meaning you want to have a trn file for each time step written, so that you can watch all of them in CFX Post?
You are right, I want to export data from CFX-Post
alubacyj is offline   Reply With Quote

Old   June 28, 2016, 06:19
Default
  #7
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
in case you haven't set monitor points before your run, the approach with a script as monkey1 described in his linked post is recommended
-Maxim- is offline   Reply With Quote

Old   June 28, 2016, 06:22
Default
  #8
New Member
 
Yujia Chen
Join Date: Apr 2016
Posts: 11
Rep Power: 10
alubacyj is on a distinguished road
Quote:
Originally Posted by monkey1 View Post
You want to export your Data from CFX Post to e.g. a.csv File for excel (this can be done by using a perl script have a look at http://www.cfd-online.com/Forums/cfx...tml#post385850)?
Is this your question?

Or is what YuguiYo said already the solution to your problem, meaning you want to have a trn file for each time step written, so that you can watch all of them in CFX Post?
Thank you very much.
I know how to export a single csv file, and now I want to export all 100 time steps' csv files. Would you know how to do it with simple operation?
alubacyj is offline   Reply With Quote

Old   June 28, 2016, 06:23
Default
  #9
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
Quote:
Originally Posted by alubacyj View Post
Thank you very much.
I know how to export a single csv file, and now I want to export all 100 time steps' csv files. Would you know how to do it with simple operation?
just read the linked post.
-Maxim- is offline   Reply With Quote

Old   June 28, 2016, 06:33
Default
  #10
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12
urosgrivc is on a distinguished road
What are you going to do with all that data?
Is it not posible for you to make an expression in cfxpost?-> that would calculate what you want, than plot a transient graph of your expresion than export your time dependant solution.

In other words to calculate something you are probably trying to do with excel (or other) directly with ansys post and export only results that you realy need.
I doubt that thousants upon thousants of numbers is usefull to any human being.
YuguiYo likes this.
urosgrivc is offline   Reply With Quote

Old   June 22, 2023, 08:42
Default
  #11
New Member
 
mar
Join Date: May 2023
Posts: 2
Rep Power: 0
schmarf is on a distinguished road
how does this work in fluent. Are Report files the best solution? I d like to export Pressurevalues over my mesh for each timestep.
schmarf is offline   Reply With Quote

Old   June 22, 2023, 19:18
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you want to export the pressure over the entire mesh for each time step I would use CFD-Post and do it in a session file. You can record a session file doing the actions you want (load time step, export pressure, load next time step etc), then edit the session file to do it for all your time steps. Replay the session file and there you go.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is online now   Reply With Quote

Reply

Tags
export transient data


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
extract and export data for each time step thomasbl STAR-CCM+ 12 August 2, 2017 07:57
how to export every data w.r.t time to txt file jaho CFX 94 August 25, 2015 10:45
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 22:35.