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

session file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2022, 12:45
Wink session file
  #1
Senior Member
 
Zese
Join Date: Sep 2013
Posts: 106
Rep Power: 13
zese is on a distinguished road
dear all

I have some time steps as follow:
10, 20, 30,.....
I want to write the session file for exporting data for these time steps.

@steplist =(10..1000) will export all the datas but I want every 10 data.


do you know how can I write it?
zese is offline   Reply With Quote

Old   January 12, 2022, 17:27
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,917
Rep Power: 145
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Record a session file doing the first 1 or 2 files. Have a look at the session file and that will show you the format. Then generate a session file which does all your time steps.

Session files have looping (for...next) and conditional (if...then...else) statements, but I find them unnecessary. I prefer to use a package like python to handle all that stuff and just write out a big long session text file which just runs from top to bottom.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44


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