patch mass flows in 1706
Hello all,
I am evaluating 1706 compared to previous versions, and one very large annoyance is the persistent difficulty in getting proper mass flows. In the case of faceZone mass flow rates, I can use the fluxSummary function object, but this STILL lacks the "phi flip" functionality of swak4foam and thus gives rubbish values, since faceZones are not oriented. For patches however, I can't get a flow rate at all. The "flowRatePatch" function from the OpenFOAM.org release is non existent, and fluxSummary works for surfaces, faceZones, and cellZones. Source: http://www.openfoam.com/documentatio...y.html#details Does anyone know, if there a way to get patch mass flows in 1706? |
Hi there,
Why not just use swak4Foam? I personally find the swak4Foam interface to be much more consistent across multiple OpenFOAM versions anyway. Regards, Philippose |
I will try that as well, haven't tested if it work with 1706. But in general I would like to use the standard distro as much as possible. There have been mass flow calculators in the past, so there's gotta be one in this 1706.
|
You seem to already know how to sample on a faceZone. You can create a faceZone from you patch via topoSet. Or you directly use a faceSource functionObject:
https://github.com/OpenFOAM/OpenFOAM...e/faceSource.H |
Quote:
|
Right. 1706 has surfaceFieldValue.
Code:
surfaceFieldValue1 |
So that's where it went! Brilliant, thanks a lot :-)
|
Which versions did you compare to? AFAIK that's how it's always been and newer CFD-direct versions work differently (since introducing the postProcess tool).
|
All times are GMT -4. The time now is 07:17. |