CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Saving FLUXSUM in a parameter (http://www.cfd-online.com/Forums/cd-adapco/53243-saving-fluxsum-parameter.html)

Martin Janson March 10, 2003 11:31

Saving FLUXSUM in a parameter
 
Hi,

I am writing a macro for post processing and want to keep it general. Is there some way of saving the result of the fluxsum command into a parameter for later use? Alternatively: how do I calculate the mass flow through a cell layer if I already have a cell type for that layer and want to avoid having to define a section for it (the reason being that I can't easily define a cell set to perform the integrate command on)? I can easily define a coordinate system for each cell layer to define the normal direction.

Thanks,

/Martin Janson, Volvo Cars

Joern Beilke March 10, 2003 15:16

Re: Saving FLUXSUM in a parameter
 
You can do something like


ofile file.out
fluxsumm ...
ofile screen
system
convert.pl file.out file.in
ifile file.in


The "convert.pl" or a similar script reads the output from prostar and writes out

*set flux 1e99

The other way it to contact adapco and ask for the implementation of a direct way.


All times are GMT -4. The time now is 22:44.