Mass Flow rate through a plane
Hi foamers,
I am starting to feel desesperate guys. I am trying to calculate the mass flow through a plane that it is not a patch, as the massCalcFlow does. Is there any way of this the easy way, say using foamCalc or some other utility that I am not aware of. If not possible to do that easily, I will do it in the code, and I will contribute it to the community, if I manage to do it. Can anyone help me out. Thanks in advance, António Martins PS: OpenFOAM really needs a good documentation, but it seems capitalism and common good do not mix very well... and the problems with the documentation site only helped the commercial software even more.... |
Quote:
Note that this is all much easier when sampling on a patch, since you can simply use the phi directly there. Nonetheless, this code fragment should give you a few ideas (I hope). Code:
// defined somewhere in the surrounding class: |
Thanks
Thanks olesen. I will try the code and I will let you know if its worked.
Thanks, Titio |
what happened with this?
Was this resolved? if so, please share how you made this possible.
|
try swak4Foam:
http://openfoamwiki.net/index.php/Contrib/swak4Foam to calculate flow rate through internal faceZone this works. i have tried it. to calculate the flow through a patch u can use calcMassFlow: http://openfoamwiki.net/index.php/Contrib_calcMassFlow |
hi,
How can i calculate mass flow rate of a patch by using paraView software? |
how to construct sampledPlane?
Quote:
The code is very helpful, but I wonder also how the parts related to construction of sampledPlane's is implemented. Normally sampledPlane's are constructed on runtime using the sampleDict with runtimeselectiontable. I don't know how to construct them in a regular way with the direction vectors and basepoints. Any suggestion would be a lot of help. Best, Asim |
Ok I found the answer. I have to create cuttingPlane's and construct sampledPlane's using those cuttingPlane's...
|
solution?
Quote:
hello, have you got answer for this? Please share if you know/ Thank you |
Quote:
2. Use "IntegrateVariables" filter to calculate the massflow. |
All times are GMT -4. The time now is 17:33. |