|
[Sponsors] |
March 14, 2016, 15:58 |
The reason for not working my session file
|
#1 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear all
in cfx pre, i create session file with start & stop recording, based on manual of cfx, in cfx launcher--> cfx pre--> session tab, i playing my session file but It does not work, I do not know where is the problem. thank you to any body who can help. kind regards |
|
March 16, 2016, 03:58 |
|
#2 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear friends
could any one please guide me about this. thanks |
|
March 16, 2016, 09:27 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Do you get any error messages?
|
|
March 16, 2016, 10:36 |
|
#4 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear glenn
Dont give any error and only is loaded. |
|
March 17, 2016, 03:06 |
|
#5 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
For debugging, I would start with creating a session file with for example one command. If that works, add another command. Continue like this until you have your full session file. Either it works or at some point it will fail. But then at least you know where the 'error' started to appear.
|
|
March 17, 2016, 07:29 |
|
#6 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear maxim
as your mentioned, i creating a session file with simple commands like an easy expression and then play session file in cfx launcher, unfortunately Do not give any error and only is loaded. i really dont know what happened? I think maybe I'm wrong in creating session file or playing it, if your possible, please check my procedure in the following. in cfx pre->i do define new session->start->stop in cfx launcher->cfx pre->i do playing session file. dear maxim, Whether I am wrong? otherwise, What is the reason? thanks for your time |
|
March 17, 2016, 10:36 |
|
#7 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
just open the session file with a text editor (Notepad++ for example) and check if the commands are recorded correctly.
In Pre you can also work with ccl-files. Save the state of your settings in pre (ccl file is created) and then load that file in your other project. The documentation gives you more details |
|
March 17, 2016, 11:45 |
|
#8 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
dear maxim, thanks for Response
as your mentined, we can saved settings to ccl format,Thanks for the pointed out, but session files are perfect compared to ccl files, i attached one case of simple command here with txt format, if your possible, please check it. kind regards hamid |
|
March 18, 2016, 03:22 |
|
#9 | |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
At first glance, the session file looks okay. But since I always use ccl files in Pre, I cannot really check your file. I would recommend using a ccl file in Pre. I don't see why a session file would be better here. Especially since you run into problems.
Do you really record EVERYTHING in Pre? Did you load the same model etc before you started recording/playing the session? Do you load Pre through the CFX launcher and play the session without loading your model first? According to the help, a session file in Pre is limited to the following actions: Quote:
|
||
March 18, 2016, 11:22 |
|
#10 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear maxim
I am also the first time that I wanted to use this file(session file), My model is executed And now I want a session file from it for future, I've tried all states, but unfortunately dont result, i loaded my session file in launcher and tried it with both states (loading of my first model in workbench and not loading). dear maxim, as i know, The difference between the two is that: ccl only save simple settings in cfx pre, but it is not able Some activities like transforming and copying meshes in CFX-pre. i appreciate your help kind regards |
|
March 21, 2016, 03:12 |
|
#11 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
Okay, I see. Then my approach would be to start with a very small session file (just a few commands), test that file and then add some more commands. After a while, you will know which command doesn't work.
My session files in Post usually worked fine. I haven't used a session file to transform my mesh, though. So my guess is that something goes wrong there. |
|
March 21, 2016, 11:53 |
|
#12 |
Senior Member
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15 |
hi dear maxim
unfortunately, as your mentioned earlier, i started with few commands and then load them, But they are only loaded and any dont get error. in finally, i dont understand, What is the problem. based on your orders, i generated session files for cfx post, but while i opening it with launcher, Gives the following error: must specify an object to show or hide, What is the reason for the error? best regards hamid |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 13:39 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |