CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   How to create a variable which computes vorticity (http://www.cfd-online.com/Forums/cfx/23229-how-create-variable-computes-vorticity.html)

cmete October 28, 2006 14:38

How to create a variable which computes vorticity
 
Hi, I have finished an analysis. it took long time. nearly 4000 iterations. so I selected 'standart variable list' in the Output Control section in CFX-Pre. now i am not seeing the ' vorticity variable' in CFX-Post. i needed create a variable that will calculate vorticities. so i defined a variable and used it. but it did not give reasonable results. Can any good human help me about that problem?

regards

cmete

Mike October 30, 2006 12:54

Re: How to create a variable which computes vortic
 
Add the following CCL to your def file:

LIBRARY:

VARIABLE: vorticity

Output to Postprocessor = Yes

END END

You'll then need to run your case for one more iteration to get a new results file that includes this variable. Hope this helps, Mike

Robin October 30, 2006 15:07

Re: How to create a variable which computes vortic
 
You could also go back to Pre and add Vorticity to the res file through the Output Control panel. Use the new def file with your existing Res file to initialize it and run it for one iteration. Pretty much does the same as the above.

If you always want vorticity to be output, edit the $CFX_ROOT/etc/VARIABLES file in a text editor. Search for "VARIABLE: vorticity" and change the "Output to Postprocessor" parameter from No to Yes. Subsequent runs (on machines linking to this installation) will always include vorticity.

Regards, Robin

Eric November 1, 2006 02:38

Re: How to create a variable which computes vortic
 
Dear Sir,

Why you need "vorticity" and which it indicates.

Thank you

Eric

Dick November 1, 2006 23:05

Re: How to create a variable which computes vortic
 
Dear Sir,

Why you need "vorticity" and which it indicates.

Thank you

Eric

cmete November 2, 2006 16:24

Re: How to create a variable which computes vortic
 
thanks Mike for your advice. i think your way similar to Robin's. regards . cmete

cmete November 2, 2006 16:26

Re: How to create a variable which computes vortic
 
Hi, Robin i thank you very much. i tried your recommend. it works. best wishes. cmete


All times are GMT -4. The time now is 11:32.