|
[Sponsors] |
Where can I find the code about Uprime2Mean and Pprime2mean |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 15, 2013, 00:11 |
Where can I find the code about Uprime2Mean and Pprime2mean
|
#1 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Hi foamers,
I'm using LES to solve my case. In the controlDict file I have used the following code: Code:
fieldAverage1 { type fieldAverage; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } ); } Regards Sunxing |
|
April 15, 2013, 03:57 |
|
#2 |
Member
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 17 |
Hi Sunxing,
you can find it here: fieldAverageTemplates.C Regards |
|
April 15, 2013, 09:39 |
|
#3 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Hi morard,
Thank you for your reply. I have found it. Now I have another question. Where can I find the code about the function of calcAverages()? Do you know it ? Regards Sunxing |
|
April 15, 2013, 10:55 |
|
#4 |
Member
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 17 |
Hi again,
it's defined in fieldAverage.C By the way, in the fieldAverage.H you can see which source files are used. In this case source files are fieldAverage.C and fieldAverageTemplates.C Regards |
|
April 16, 2013, 05:23 |
|
#5 |
Member
sqing
Join Date: Sep 2012
Location: Dalian
Posts: 77
Rep Power: 14 |
Hi morard,
Thank you again. regards |
|
|
|