|
[Sponsors] |
May 11, 2012, 17:29 |
How to properly use mappedFlowRate
|
#1 |
New Member
Arve
Join Date: Sep 2011
Location: Norway
Posts: 8
Rep Power: 15 |
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 { type mappedFlowRate; phi phi; rho rho; neigPhi neigPhiName_; // Volumetric/mass flow rate // [m3/s or kg/s] value uniform (0 0 0); // placeholder } 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 { type mappedPatch; sampleMode nearestPatchFace; samplePatch outlet; offset (9e-3 0 0); nFaces 100; startFace 70820; } Code:
inlet { type mappedFlowRate; rho rho; phi phi; neigPhi neigPhiName_; value nonuniform List<vector> 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! |
|
May 12, 2012, 10:04 |
|
#2 |
New Member
Arve
Join Date: Sep 2011
Location: Norway
Posts: 8
Rep Power: 15 |
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.*)" { type mappedFlowRate; phi phi; nbrPhi phiGas; rho rho; value uniform (0 0 0); } |
|
January 2, 2014, 04:11 |
|
#3 |
Member
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13 |
Hi Arve, did you figured out how to use it??
|
|
August 7, 2014, 05:54 |
|
#4 |
Senior Member
|
I had the same problem and I found the solution.
here you are the way you should implement the mappedFlowRate: Code:
myPatch { type mappedFlowRate; phi phi; rho rho; neigPhi phi; value uniform (0 0 0); // placeholder } 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 |
|
Tags |
directmappedflowrate, infinite pipe, mappedflowrate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing a 2D airfoil properly | jms | Main CFD Forum | 2 | March 28, 2011 04:30 |
GAMBIT Error Msg database file not properly closed | Janomano | ANSYS Meshing & Geometry | 8 | November 23, 2010 05:14 |
[GAMBIT] whenever i try opening a .jou file, it just does not open..properly | kamran651 | ANSYS Meshing & Geometry | 0 | November 23, 2010 05:08 |
Properly using symmetry with both CFX and ANSYS workbench for a FSI analysis, help! | Cirion0000 | CFX | 0 | July 6, 2009 15:26 |
GUI problem : Long dialog boxes are seen properly | Nuray | FLUENT | 0 | July 26, 2006 12:09 |