|
[Sponsors] |
Is there a way to change settings in CFX pre file or play sessions on it without open |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 ![]() |
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?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
Session files and pre files are text files. You can edit them in a text editor.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Thomas MADELEINE
Join Date: Oct 2014
Posts: 126
Rep Power: 11 ![]() |
you can also change the def file from the solver before running it with the Solver Editor (tool -> edit solver files or Ctrl+E)
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Member
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11 ![]() |
Quote:
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). |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 04:01 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 01:22 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 11:32 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |