CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Question about CFX-pre and CFX-post script (http://www.cfd-online.com/Forums/cfx/107278-question-about-cfx-pre-cfx-post-script.html)

Anna Tian September 22, 2012 15:19

Question about CFX-pre and CFX-post script
 
Hi,

May I ask do CFX-pre and CFX-post have script to record all my setting so that after I import the mesh(or .res file) I won't need to set them again and by running the script I obtain the setting(or picture) directly?

mp121209 September 22, 2012 16:33

Yes, they have the abilities you mentioned. In the CFX-Pre you can import and export CCL files. In the CFD-post you can save and reuse a state file (.cst file)

ghorrocks September 24, 2012 21:49

Pre and Post also have session files which are like recording and playing back user actions.

Anna Tian September 26, 2012 06:54

Quote:

Originally Posted by ghorrocks (Post 383418)
Pre and Post also have session files which are like recording and playing back user actions.

I didn't find it. Maybe my CFX doesn't have it. May I ask how to open it? Where's the button?

eng_norouzi October 3, 2012 04:34

file=>export=>CCL and in your next simulation file=>import=>CCL

Jeremy B. October 3, 2012 10:08

Quote:

Originally Posted by eng_norouzi (Post 384672)
file=>export=>CCL and in your next simulation file=>import=>CCL

It depends on the "variety" of your studies but you may also have to add few lines of perl script in the CCL file to avoid some problems.

For example, if the number of domains varies, your CCL will define the first X domains but not all of them.
(the same with interfaces, boundaries, etc)

Otherwise, this method works very well in CFX-pre and CFX-post.

Anna Tian October 7, 2012 13:44

Quote:

Originally Posted by ghorrocks (Post 383418)
Pre and Post also have session files which are like recording and playing back user actions.

Thanks for your answer. Where to find these files and how to run them? It seems CCL only save my settings. But I hope the my actions like transforming and copying meshes in CFX-pre can also be recorded and repeated when I want to. How to do that?

Thanks!

cdegroot October 8, 2012 00:55

Quote:

Originally Posted by Anna Tian (Post 385361)
Thanks for your answer. Where to find these files and how to run them? It seems CCL only save my settings. But I hope the my actions like transforming and copying meshes in CFX-pre can also be recorded and repeated when I want to. How to do that?

Thanks!

Yeah the CCL won't have information on transformations. You should try the suggestion of recording a session file.

mp121209 October 8, 2012 03:38

A .cfx format file is a session file. You can use it to do your work!


All times are GMT -4. The time now is 10:11.