|
[Sponsors] |
[swak4Foam] Mass flow rate through faceSet using swak4foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2012, 12:41 |
Mass flow rate through faceSet using swak4foam
|
#1 |
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 16 |
It is not possible to calculate the mass flow rate through a faceSet in standard OpenFOAM. This is because the normal vectors of the faces have a random position, giving a result close to 0. Even after converting the set to cyclic patches using createBaffles, this problems persists as the normal vectors of the created patches do not have the same direction, unlike normal boundary patches.
However, I have read that swak4foam can help by using the flip() function: Code:
flow_pipe { type swakExpression; valueType faceSet; setName pipe_plane_faces; expression "phi*flip()"; accumulations ( sum ); verbose true; autoInterpolate true; } My workflow is:
Code:
cellSet pipe_plane_facesSlaveCells new faceToCell pipe_plane_faces all Code:
--> FOAM FATAL ERROR: One of owner or neighbour of internal face 108712 should be in cellSet pipe_plane_facesSlaveCells to be able to determine orientation. Face:108712 own:38634 OwnInCellSet:1 nei:39797 NeiInCellSet:1 From function scalarField *FaceSetValueExpressionDriver::makeFaceFlipField() in file FaceSetValueExpressionDriver.C at line 233. Is my workflow correct or is there a much better workflow to correctly measure the mass flow rate through a faceSet/faceZone? If my workflow is correct, how can I manage to make the case run and get correct results? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mass flow rate boundary condition with negative values | hebe2u. | CFX | 1 | December 27, 2016 03:53 |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 10:40 |
Mass Flow rate in DPM model | tohidtkz | FLUENT | 0 | November 7, 2015 04:13 |
Mass flow rate boundary condition with negative values | ashtonJ | CFX | 3 | November 26, 2014 05:21 |
Mass flow rate | sepidecent | CFX | 0 | August 9, 2011 00:15 |