CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Maximum of two different results files (https://www.cfd-online.com/Forums/cfx/24753-maximum-two-different-results-files.html)

Nicki Parker October 30, 2007 05:33

Maximum of two different results files
 
Hi,

I'm doing some external wind analysis and wish to compare velocities for different wind directions. Does anyone know if there is any way I can plot a contour showing the maximum of, say, two different wind directions? At the moment I am looking at each one, then drawing rough outline shapes for the highest velocities using a drawing package, but I'm wondering if CFX has a better way of doing this.

Thanks in advance,

Nicki


Glenn Horrocks October 30, 2007 18:00

Re: Maximum of two different results files
 
Hi,

I am not sure what you are trying to do. Can't you do an isosurface and compare images between two different results files? Also CFX11 added support for multiple results files so you can have both results files displayed to more clearly show the differences.

Glenn Horrocks

CycLone October 30, 2007 18:36

Re: Maximum of two different results files
 
The current results comparison capability only allows qualitative comparison of results. That said, you can do what you desire by creatively using the variable "copy" option. Do the following:

1. Load your first results file. 2. Create a new variable called 'Old Velocity' (or a vector variable of each component) as a copy of the Velocity variable. 3. Load your second results file. 4. Create a new variable called Max Velocity and set it equal to max(Velocity, Old Velocity).

Now just create a contour plot of Max Velocity.

When you create a variable copy, Post keeps the variable field in memory. As long as the second results file has the same mesh, you're variable will remain. You can get creative with this and do lots of cool things...

-CycLone


Nicki Parker October 31, 2007 05:22

Re: Maximum of two different results files
 
Thanks for that. Unfortunately, I've just tried this, and it seems to only be plotting the first set of velocity results, rather than a combination of the two. Any ideas as to what I'm doing wrong?

Nicki

Nicki Parker November 1, 2007 07:29

Re: Maximum of two different results files
 
I have now managed to do this, but have now come across another problem. In total, I wish to compare 8 sets of results. I formulate all the maximum expressions, however, a pop-up window comes up saying I have insufficient memory when I try to plot the final contour. I have tried loading results one by one and then plotting the maximum as I go along, but infuriatingly, I can only get to the 7th set of results. Do you know of any way to get around this? I've tried exporting the results on the user surface, but when I try to import them, it says that it can't recognise the file type.

Any advice would be greatly appreciated.

Thanks,

Nicki

CycLone November 2, 2007 15:55

Re: Maximum of two different results files
 
You can create a variable copy of the maximum each time, rather than trying to load all 8 velocity fields into memory at once. If you sequentially calculate the maximum feild, you will end up with the same result.

-CycLone


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