CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2023, 19:19
Default mappedFlowRate
Senior Member
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Hello every one,

I am trying to use mappedFlowRate B.C. in my simulation. I've used mapped B.C. for velocity before. However, I am not sure how to set the "mappedFlowRate" B.C. The only description for this boundary condition I found form OF docs reads as:

type mappedFlowRate;
phi phi;
rho rho;
neigPhi phi;
value uniform (0 0 0); // placeholder

I use this for my "inlet" patch and set this patch in polyMesh/Boundary
dictionary as:

type mappedPatch;
sampleMode nearestPatchFace;
offset (10 0 0);
nFaces 405;
startFace 28295676;

There are two problem in this regard:
1) why the "value" in "value uniform (0 0 0); // placeholder",
is described as "place holder" which is a value to be over written
in later iteration and does not make sense to me.
2) the error I got for this configuration reads as:
supply either a patchName or a coupleGroup for patch inlet in region region0

I appreciate your advice if faced the same the problem in setting such B.C.

sinatahmooresi is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a mass flow with periodic boundary conditions (3D) Flex OpenFOAM 2 April 10, 2022 12:46
How to properly use mappedFlowRate Taltan OpenFOAM Running, Solving & CFD 3 August 7, 2014 04:54

All times are GMT -4. The time now is 20:41.