|August 19, 2013, 09:55||
export expression from CFX post
Join Date: Jun 2013
Posts: 4Rep Power: 2
I want to be able to export (to .csv) single values calculated using CEL expressions in CFX post.
For example if I have the following expression:
Force1 = force_z_Coord1()@Body1
I would like to export just the value of 'Force1'. If i use export in CFX post I seem to only be able to export a variable at a location i.e. it will be exported for every cell of the mesh on the location 'Body1'.
I assume i must be missing something quite simple where I can export single parameter values?
|August 19, 2013, 10:37||
Join Date: Mar 2009
Posts: 428Rep Power: 9
You should be able to modify this PERL script to do what you want.
It exports 'count()@Default Domain' to a .txt file, just copy/paste it into the command editor.
!$outfile = "tmp.txt"; !open(OUT, ">$outfile"); !$nodes = count("Default Domain"); !print OUT $nodes; !close(OUT);
|cfx, export, expressions, parameters|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to install CGNS under windows xp?||lzgwhy||Main CFD Forum||1||January 11, 2011 19:44|
|CGNS lib and Fortran compiler||manaliac||Main CFD Forum||2||November 29, 2010 07:25|
|OpenFOAM on MinGW crosscompiler hosted on Linux||allenzhao||OpenFOAM Installation||127||January 30, 2009 20:08|
|how to export icem mesh to cfx?||Michael||CFX||1||May 3, 2008 14:35|
|Expression in cfx||selim||CFX||13||September 5, 2007 14:09|