ROOT-MEAN-SQUARE
Hi there, does anyone know how to create the root-mean-square (RMS) of a scalar quantity such as the fluctuating velocity U? Does STAR have a command or some other means of doing this?
Kind regards Andy |
Re: ROOT-MEAN-SQUARE
You should be able to get pretty much what you need although it typically takes a few commands so I would type them into an editor then cut and paste or create a panel/inp file.
Using Integrate Operate commands *get you should be able to get there Load the scalar and use operate to square it oper x**2 4 4 Get the correct section/ cell set Intergrate or summarize the values use *get to the appropriate values to form a mean Integrate can give you an area weighted average Summarize can give you an volume weighted value (you will need to user operate getc volume into another register first) or a simple numerical average use *set to divide the two numbers then use *calc to do the square root |
All times are GMT -4. The time now is 19:09. |