CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CD-adapco (
-   -   Weghted averages along lines (

Ale April 17, 2007 03:26

Weghted averages along lines

I would like to compute mass-weighted averages and area-weighted averages along lines (e.g. arcs, or straight lines) laying on a section which is not oriented as the grid, so that the section cuts several layers of exahedral cells.

Could you please tell me what's the most efficent way to do that in StarCD, or suggest a postprocessing software that could do that?

Thank you very much indeed.



ping April 19, 2007 12:03

Re: Weghted averages along lines
You can do this in proSTAR:

1. create some shell cells where you want the results - e.g. create a spline where you want the results, loop over its v's to create line cells, then extrude these into a thin line of shells.

2. load your results into the fluid cell post registers and do any calc OPERATIONS to mass average or whatever.

3. map these results onto the shell cells using command PMAP (you could alternatively also put lots of vertices evenly along the spline and map into these - depends what you really want)

4. CSET the shells or v's and plot or SUMM or whatever

Ale April 20, 2007 03:36

Re: Weghted averages along lines
Thank you Ping, I will try this way.



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