|
[Sponsors] |
May 23, 2017, 20:30 |
patchAverage does not work
|
#1 |
New Member
Pei Li
Join Date: Nov 2015
Posts: 10
Rep Power: 10 |
Hello, everyone~
After running a simulation, I tried to use 'patchAverage' to calculate the average value of scalar T at the outlet (outlet is on the right side of the domain. The type is patch and the value is zeroGradient for T). However, after inputting the command: patchAverage T right, I always got the text: patchAverage has been superseded by the postProcess utility: postProcess -func 'patchAverage(name=inlet,p)' Then nothing happened......Is there anyone knowing why I got this text and how to fix it? Thanks very much |
|
May 24, 2017, 01:14 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
In newer versions of OF some post processing tools are combined in the postProcess utility. The message gives you how to use it in your case.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
May 24, 2017, 05:05 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
@Pi Lee, please read the message you marked bold. As Uwe already told, the patchAverage was replaced or put into the postProcess utility to make maintenance easier and also extensions. If you would just investigate the time writing that tread in reading the message you would probably found the solution yourself. I have no idea if there is any improvement to the error message. However, you made my day because the solution is already there (which you marked bold):
Code:
postProcess -func 'patchAverage(name=inlet,p)' Code:
postProcess -func 'patchAverage(name=outlet,T)'
__________________
Keep foaming, Tobias Holzmann |
|
May 24, 2017, 06:49 |
|
#4 |
New Member
Pei Li
Join Date: Nov 2015
Posts: 10
Rep Power: 10 |
Thanks very much, Uwe. Although I got errors at the beginning of using 'postProcess -func', now it works. The correct way is "postProcess -func 'patchAverage(name='right', T)' "
|
|
May 24, 2017, 06:51 |
|
#5 |
New Member
Pei Li
Join Date: Nov 2015
Posts: 10
Rep Power: 10 |
Thanks very much for your explanation, Tobi Finally it works. I input the command: postProcess -func 'patchAverage(name='right', T)'.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RP_Set_Integer does not work in parallel | 86lolo | Fluent UDF and Scheme Programming | 2 | July 3, 2014 11:37 |
Does CX_Interpret_String work in parallel? | 86lolo | Fluent UDF and Scheme Programming | 2 | June 30, 2014 04:36 |
Companies that lease software & hardware for cloud-based work? | Catthan | ANSYS | 0 | June 18, 2014 10:53 |
Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 12:08 |
why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 21:03 |