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

Is there a way to change settings in CFX pre file or play sessions on it without open

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2015, 03:04
Question Is there a way to change settings in CFX pre file or play sessions on it without open
  #1
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
I sometimes need to play the same CFX .pre session to tens of Workbench CFX pre files. It is time consuming to open every CFX pre file and play the session to change the settings in each of them one by one, because each CFX pre file opening costs more than 40 seconds. So I’m wondering is there a way to change settings in CFX pre file or play sessions on it without opening it?
Pierre1 is offline   Reply With Quote

Old   March 12, 2015, 04:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Session files and pre files are text files. You can edit them in a text editor.
ghorrocks is offline   Reply With Quote

Old   March 12, 2015, 05:07
Default
  #3
Senior Member
 
Thomas MADELEINE
Join Date: Oct 2014
Posts: 126
Rep Power: 12
Thomas MADELEINE is on a distinguished road
you can also change the def file from the solver before running it with the Solver Editor (tool -> edit solver files or Ctrl+E)
Thomas MADELEINE is offline   Reply With Quote

Old   March 13, 2015, 10:07
Question
  #4
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Session files and pre files are text files. You can edit them in a text editor.
CFX pre file is a .cfx file. Are you sure it is a text file and can be edited by a text editor?


Session file is a text file. But it is time consuming to open .cfx file to run it. That was my question. I'd like to avoid opening cfx pre file (.cfx file).
Pierre1 is offline   Reply With Quote

Old   March 13, 2015, 16:38
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The .cfx file is a binary file and not easily edited. But the .pre file (which you originally asked about) is a text file and is easily editted.

You can run it all from the command line, including loading the cfx, session or pre file.
ghorrocks is offline   Reply With Quote

Reply


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
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 05:01
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 14:37.