CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Maximum of two different results files

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 30, 2007, 06:33
Default Maximum of two different results files
  #1
Nicki Parker
Guest
 
Posts: n/a
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

  Reply With Quote

Old   October 30, 2007, 19:00
Default Re: Maximum of two different results files
  #2
Glenn Horrocks
Guest
 
Posts: n/a
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
  Reply With Quote

Old   October 30, 2007, 19:36
Default Re: Maximum of two different results files
  #3
CycLone
Guest
 
Posts: n/a
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

  Reply With Quote

Old   October 31, 2007, 06:22
Default Re: Maximum of two different results files
  #4
Nicki Parker
Guest
 
Posts: n/a
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
  Reply With Quote

Old   November 1, 2007, 08:29
Default Re: Maximum of two different results files
  #5
Nicki Parker
Guest
 
Posts: n/a
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
  Reply With Quote

Old   November 2, 2007, 16:55
Default Re: Maximum of two different results files
  #6
CycLone
Guest
 
Posts: n/a
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
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
Can I modify runTimeWrite() to output results into one folder? ovie OpenFOAM 12 January 22, 2011 20:52
Results file naming convention amtri OpenFOAM 8 September 7, 2010 08:54
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems with result files Kasper CFX 5 December 14, 2006 03:41


All times are GMT -4. The time now is 23:29.