|
[Sponsors] |
Mapped boundary condition mass flow rate behavior |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 4, 2020, 11:05 |
Mapped boundary condition mass flow rate behavior
|
#1 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Dear Foamers,
I am working on a case where I have to use a smaller geometry by achieving fully developed condition at the inlet (due to its complexity simulating a bigger geometry takes way too long)... To do so, I imposed the following boundary condition on U: Code:
outlet { type zeroGradient; value uniform (0 0 0); } inlet { type mapped; interpolationScheme cell; value uniform (0 0 -0.4021); setAverage false; } Here is my main question: So I made a change and imposed "setAverage" as follows: Code:
outlet { type zeroGradient; value uniform (0 0 0); } inlet { type mapped; interpolationScheme cell; value uniform (0 0 -0.4021); setAverage true; average (0 0 -0.4021); } Cheers, MJ |
|
September 18, 2020, 03:52 |
|
#2 |
New Member
Ran Yi
Join Date: May 2019
Posts: 9
Rep Power: 7 |
Hi MJ,
1. What is your inlet setting in polyMesh/boundary? 2. What does your geometry look like? I noticed the velocity in Z-direction is negative. BTW, have you solved this issue? Best, Ran |
|
November 5, 2020, 11:32 |
|
#3 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
Hi Ran, Thanks a lot for the reply and please accept my apologies for responding rather late... 1. The inlet boundary type is "patch" 2. It is a vertical geometry (in z-direction) where the fluid enters the domain from the bottom. Unfortunately I cannot share the geometry I really appreciate your thoughts on this. Regards, MJ |
||
November 5, 2020, 12:35 |
|
#4 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 |
When I use this boundary condition I have to set the inlet boundary type to
mappedPatch. This is in OpenFOAM 2.3.1. Here is an example from my constant/polyMesh/boundary file: Code:
inAir { type mappedPatch; inGroups 1(mappedPatch); nFaces 16000; startFace 16759500; sampleMode nearestCell; sampleRegion region0; samplePatch none; offsetMode uniform; offset (0 0 0.04); } |
|
November 5, 2020, 14:57 |
|
#5 | |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Quote:
Thank you very much for your prompt response. I tried this with OpenFOAM 1812 and (unfoirtunately) "mappedPatch" is not recognized as a valid boundary condition: Code:
--> FOAM FATAL IO ERROR: Unknown patchField type mappedPatch for patch type mappedPatch MJ |
||
Tags |
chtmultiregionsimplefoam, mapped, mass flow rate, openfoam 1812 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Low torque values on Screw Turbine | Shaun Waters | CFX | 34 | July 23, 2015 09:16 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |