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

The reason for not working my session file

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

Like Tree4Likes
  • 1 Post By ghorrocks
  • 1 Post By -Maxim-
  • 1 Post By -Maxim-
  • 1 Post By -Maxim-

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2016, 14:58
Default The reason for not working my session file
  #1
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
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
hamidciv is offline   Reply With Quote

Old   March 16, 2016, 02:58
Default
  #2
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
hi dear friends
could any one please guide me about this.
thanks
hamidciv is offline   Reply With Quote

Old   March 16, 2016, 08:27
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Do you get any error messages?
hamidciv likes this.
ghorrocks is offline   Reply With Quote

Old   March 16, 2016, 09:36
Default
  #4
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
hi dear glenn
Dont give any error and only is loaded.
hamidciv is offline   Reply With Quote

Old   March 17, 2016, 02:06
Default
  #5
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
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.
hamidciv likes this.
-Maxim- is offline   Reply With Quote

Old   March 17, 2016, 06:29
Default
  #6
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
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
hamidciv is offline   Reply With Quote

Old   March 17, 2016, 09:36
Default
  #7
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
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
hamidciv likes this.
-Maxim- is offline   Reply With Quote

Old   March 17, 2016, 10:45
Default
  #8
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
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
Attached Files
File Type: txt problem.txt (14.6 KB, 8 views)
hamidciv is offline   Reply With Quote

Old   March 18, 2016, 02:22
Default
  #9
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
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:
Chapter 5: CFX-Pre Session Menu




A session file is a record of the actions performed during a CFX-Pre session, saved in a file as commands. The actions that cause commands to be written to a session file include:
  • Viewer manipulation performed using the commands available by right-clicking in the viewer window.
  • All actions available from the File and Edit menus.
  • Creation of expressions.
  • Creation of new objects and changes to an object committed by clicking OK or Apply on any of the panels available from the Tools and Insert menus/toolbars.
  • Commands issued in the Command Editor dialog box.
  • Mesh import, delete, and transformation operations.

hamidciv likes this.
-Maxim- is offline   Reply With Quote

Old   March 18, 2016, 10:22
Default
  #10
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
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
hamidciv is offline   Reply With Quote

Old   March 21, 2016, 02:12
Default
  #11
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
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.
-Maxim- is offline   Reply With Quote

Old   March 21, 2016, 10:53
Default
  #12
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 14
hamidciv is on a distinguished road
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
hamidciv 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
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


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