Mass flow averaged pressure
Hello
I am using MRFSimple foam to do simulation of a blower. I want to calculate the mass flow averaged pressure on the outflow patch of the geometry. I have tried doing it using "libfieldFunctionObjects.so" in controlDict like : weight_avg_p { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; outputInterval 1; log true; valueOutput true; source patch; sourceName wall_inlet; operation weightedAverage; weightField phi; fields ( p ); But I get an error saying that the solver has a floating point exception. Please help me in this regard. If any one has any suggestion on how to calculate the mass flow averaged pressure on a patch it will be very helpful. Also it says that It cannot find field U when I give U as weightField in the above. :confused: |
Quote:
|
All times are GMT -4. The time now is 11:44. |