How to properly use mappedFlowRate
I am trying to simulate compressible LES in an infinite pipe with periodic boundary conditions. I can not use the cyclic boundary as it would not drive the flow, so I have to use the mapped boundary condition. I would use the boundary condition called directMapped from 2.0.0 (I think it is called mappedField now), but I am uneasy to the whole averaging. I need to capture flow characteristics which could be dampened by this averaging. So I have opted for the mappedFlowRate.
However, I am at a loss in figuring how to properly use the mappedFlowRate (renamed from directMappedFlowRate in 2.0.0) boundary condition. In the source code the example states Code:
inlet I would guess that you specify a phi (from a file?) which has the proper units (either m3/s or kg/s). If this is the case, how would I generate this file? In my boundary file I have defined the inlet patch as Code:
inlet Code:
inlet This does run without problems, but it does not seem to maintain the mass flow rate at the inlet. Has anyone successfully used this boundary condition? Any help would be greatly appreciated! |
I found a tutorial case which uses this boundary condition (/tutorials/combustion/fireFoam/les/oppositeBurningPanels). However in this case the inlet is not the boundary on which the mappedFlowRate is used.
The boundary condition looks like this in the U file: Code:
"(region0_to.*)" |
Hi Arve, did you figured out how to use it??
|
I had the same problem and I found the solution.
here you are the way you should implement the mappedFlowRate: Code:
myPatch phi: not required --> default value=phi rho: not required --> default value=rho neigPhi: required --> name of flux field on neighbour mesh you can find more information about it here hope this help |
All times are GMT -4. The time now is 03:51. |