how to calculate the volume averaged values in version 4.1
Dear all,
I have used the commands below to calculate the volume averaged values for version 3.0.1 and it works fine for me. Code:
functions and modified as Code:
functions Code:
[11] --> FOAM FATAL IO ERROR: Best Regards, Bill |
fieldAverage function in controlDict
BTW: I have found the fieldAverage function. I wonder what is the difference between the fieldAverage and the volume average.
Code:
fieldAverage1 Any suggestion is appreciated. Best Regards, Bill |
Hi,
I am working with 1612+ version. Here is a minimal working example to calculate volume averaged value. I tested it over pitzdaily. I works like a charm. Code:
functions Nathanaël. |
failed
Quote:
Thank you for the reply. I have tested the code, but got an error. Code:
[11] --> FOAM FATAL ERROR: Thank you. Best Regards, Bill |
Hi,
Nice to hear that you found a solution. The discrepancy may arise from the differences between our OpenFOAM versions. Best regards, Nathanaël. |
Quote:
Thank you very much for your professional reply. It is really helpful and saved me a lot of time. I wonder if you have experience with the bash script execution to start the case running. I have posted the problem here #13-#18 https://www.cfd-online.com/Forums/op...ion-4-1-a.html Forget about the "functions" problem, because you just solved it:D. Thank you for your time and kind help. Best Regards, Bill |
How to calculate the volume averaged values only in a part of the domain
Dear Nathanaël,
I wonder if you have any experience of calculating the volume averaged values only in a part of the domain, say, the values averaged in a 1/3 of the fluid domain? Thank you in advance. Best Regards, Bill |
volRegion in chtMultiRegionSimpleFoam
Dear Foamers,
I cannot excute volRegion in chtMultiRegionSimpleFoam, although this functionObject works fine for pimpleDyMFoam. In the controlDict I wrote almost the same, except field "p" for pimpleDyMFoam and field "T" for chtMultiRegionSimpleFoam. Code:
functions Thank you very much in advance! Best regards, sitajeje |
Quote:
|
This is working in OpenFOAM 8:
Code:
volAverage |
I have the same issue. Did anyone find a solution?
Quote:
|
Quote:
I'm trying to use the same function but it does not work for me in OpenFOAM 8. I have added the lines you report in my controlDict, like this: Code:
functions Code:
--> FOAM FATAL IO ERROR: Do you have any suggestion? How do you make it work? Thank you in advance, Best Carlo |
All times are GMT -4. The time now is 03:53. |