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

Question about CFX-pre and CFX-post script

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2012, 15:19
Question Question about CFX-pre and CFX-post script
  #1
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 8
Anna Tian is on a distinguished road
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?
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   September 22, 2012, 16:33
Default
  #2
New Member
 
Trần Đěnh Thắng
Join Date: Mar 2012
Location: Moscow Russia, Hanoi Vietnam
Posts: 24
Rep Power: 6
mp121209 is on a distinguished road
Send a message via ICQ to mp121209 Send a message via Yahoo to mp121209 Send a message via Skype™ to mp121209
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)
mp121209 is offline   Reply With Quote

Old   September 24, 2012, 21:49
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 12,406
Rep Power: 97
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
Pre and Post also have session files which are like recording and playing back user actions.
ghorrocks is offline   Reply With Quote

Old   September 26, 2012, 06:54
Question
  #4
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 8
Anna Tian is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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?
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   October 3, 2012, 04:34
Default
  #5
Member
 
ali
Join Date: Feb 2011
Posts: 37
Rep Power: 7
eng_norouzi is on a distinguished road
file=>export=>CCL and in your next simulation file=>import=>CCL
eng_norouzi is offline   Reply With Quote

Old   October 3, 2012, 10:08
Default
  #6
New Member
 
Jeremy B.
Join Date: Sep 2012
Posts: 3
Rep Power: 5
Jeremy B. is on a distinguished road
Quote:
Originally Posted by eng_norouzi View Post
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.
Jeremy B. is offline   Reply With Quote

Old   October 7, 2012, 13:44
Question
  #7
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 8
Anna Tian is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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!
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   October 8, 2012, 00:55
Default
  #8
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 388
Rep Power: 7
cdegroot is on a distinguished road
Quote:
Originally Posted by Anna Tian View Post
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.
cdegroot is offline   Reply With Quote

Old   October 8, 2012, 03:38
Default
  #9
New Member
 
Trần Đěnh Thắng
Join Date: Mar 2012
Location: Moscow Russia, Hanoi Vietnam
Posts: 24
Rep Power: 6
mp121209 is on a distinguished road
Send a message via ICQ to mp121209 Send a message via Yahoo to mp121209 Send a message via Skype™ to mp121209
A .cfx format file is a session file. You can use it to do your work!
mp121209 is offline   Reply With Quote

Old   October 29, 2015, 03:57
Default Scripting single node in CFX
  #10
New Member
 
Adrian
Join Date: Oct 2015
Posts: 5
Rep Power: 2
AdrianCzubajs is on a distinguished road
Hi,

Can I ask you about CFX-post scripting. Is it possible to read ex. temperature from a single node? Have you ever tried to define the parameters to the single node in CFX -pre? may you have same examples?

Thanks
Adrian
AdrianCzubajs is offline   Reply With Quote

Old   October 29, 2015, 04:36
Default
  #11
Senior Member
 
Join Date: Feb 2011
Posts: 283
Rep Power: 9
Antanas is on a distinguished road
Quote:
Originally Posted by AdrianCzubajs View Post
Hi,

Can I ask you about CFX-post scripting. Is it possible to read ex. temperature from a single node? Have you ever tried to define the parameters to the single node in CFX -pre? may you have same examples?

Thanks
Adrian
Mesh node or arbitrary point in flow domain?
Antanas is offline   Reply With Quote

Old   October 29, 2015, 05:35
Default
  #12
New Member
 
Adrian
Join Date: Oct 2015
Posts: 5
Rep Power: 2
AdrianCzubajs is on a distinguished road
Quote:
Originally Posted by Antanas View Post
Mesh node or arbitrary point in flow domain?
Point in flow doman of course. I used to do a machanical calculations (APDL) that is why I made a mistake.

AC
AdrianCzubajs is offline   Reply With Quote

Old   October 29, 2015, 06:37
Default
  #13
Senior Member
 
Join Date: Feb 2011
Posts: 283
Rep Power: 9
Antanas is on a distinguished road
Quote:
Originally Posted by AdrianCzubajs View Post
Point in flow doman of course. I used to do a machanical calculations (APDL) that is why I made a mistake.

AC
Use probe function
Antanas is offline   Reply With Quote

Old   October 29, 2015, 09:50
Default
  #14
New Member
 
Adrian
Join Date: Oct 2015
Posts: 5
Rep Power: 2
AdrianCzubajs is on a distinguished road
Quote:
Originally Posted by Antanas View Post
Use probe function
Thank you. I've just read that Values are stored in the results file at nodes and represent “average” control volume values. Could you tell ma how to get a value from the nodes located for example on the wall? Is kind of selection tool like in APDL? I'd like to select all nodes from the wall.

best regards
Adrian

Last edited by AdrianCzubajs; October 29, 2015 at 14:41.
AdrianCzubajs is offline   Reply With Quote

Old   October 29, 2015, 23:38
Default
  #15
Senior Member
 
Join Date: Feb 2011
Posts: 283
Rep Power: 9
Antanas is on a distinguished road
Quote:
Originally Posted by AdrianCzubajs View Post
Thank you. I've just read that Values are stored in the results file at nodes and represent “average” control volume values. Could you tell ma how to get a value from the nodes located for example on the wall? Is kind of selection tool like in APDL? I'd like to select all nodes from the wall.

best regards
Adrian
What do you mean by 'get'? You can plot values on a boundary, you can export it to csv file and so on. What do you want? On boundaries there's two types of values called 'Hybrid' and 'Conservative'. First comes from boundary conditions, second represents average control volume value. You can choose between them.
Antanas is offline   Reply With Quote

Old   October 30, 2015, 14:41
Default
  #16
New Member
 
Adrian
Join Date: Oct 2015
Posts: 5
Rep Power: 2
AdrianCzubajs is on a distinguished road
Quote:
Originally Posted by Antanas View Post
What do you mean by 'get'? You can plot values on a boundary, you can export it to csv file and so on. On boundaries there's two types of values called 'Hybrid' and 'Conservative'. First comes from boundary conditions, second represents average control volume value. You can choose between them.
I mean I want to save (ex. in file) a value from the single node or point from the wall in CFX-Post and use this value in a single node or point in CFX Pre.
In CFX-Post I can do this with session file (.cse) In CFX-Pre I can use CCL. If I am wrong please let me know.
I thought I can select nodes/points from the 'wall boundary condition' and write to file values from this nodes/points. I can write to file (Perl+csv) but how Can I get a value from the nodes/points from the 'wall boundary condition'?

Adrian
AdrianCzubajs is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
different CFX Pre and Post mesh region mactech001 CFX 9 April 11, 2010 21:08
No display on CFX Pre and Post Dipl.-Ing. Jayadi Lukito CFX 0 May 23, 2007 09:30
(CFX POST) Rotational Speed ARJUN CFX 9 July 13, 2006 20:38
CFX 10 -pre and -post problams on Linux Henry Liu CFX 3 June 22, 2006 06:57
CFX 5.7 pre Neser CFX 0 January 27, 2005 12:22


All times are GMT -4. The time now is 05:49.