|
[Sponsors] |
February 8, 2011, 07:37 |
Using outlet values as inlet BC
|
#1 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
Hello everybody,
my question is whether there is a possibility in OpenFOAM to use values from a calculation in a simple geometry as boundary conditions at the inlet of a complex geometry. In my case, I need a fully developed velocity profile as a inlet boundary condition so at first I want to develop this profile in a straight pipe and use the outlet values. Unfortunately I have no idea how to put them on the inlet of the other mesh! With regards! Philipp |
|
February 8, 2011, 07:56 |
|
#2 |
New Member
Francisco Cortés
Join Date: Sep 2010
Location: Santiago, Chile
Posts: 7
Rep Power: 16 |
I don't know if that can be done, but perhaps you could use groovyBC approximate the profile of your simple geometry solution…. Just an idea
Best regards, Francisco. |
|
February 8, 2011, 08:05 |
|
#3 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
Hello Francisco,
thank you for the quick reply! I thought of using groovyBC but the formula that I have to calculate the velocity is just for a circle. Unfortunately my inlet is not a perfect circle. Maybe there is a way to map the values but I have no idea how to realize this... Does someone else has an idea how to get the velocity profile at the inlet of the complex geometry? |
|
February 8, 2011, 08:16 |
|
#4 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Philipp,
to use a fully developed velocity profile on the inlet have a look at the directMapped boundary condition. You must define the BC in your 0/U file, as well as in the constant/polyMesh/boundary file. Here are some snippets: Code:
0/U File: inlet { //type fixedValue; //value uniform (0 0 0.063111); type directMapped; value uniform (0 0 0.063111); setAverage true; average (0 0 0.063111); } Code:
constant/polyMesh/boundary file: inlet { type directMappedPatch; nFaces 342; // <--- your values untouched here startFace 2804297; // <--- your values untouched here sampleMode nearestCell; sampleRegion region0; samplePatch none; offset ( 0 0 0.01 ); } Code:
patchMap ( outlet_from_one_simulation inlet_from_other_simulation ); Martin |
|
February 8, 2011, 08:38 |
|
#5 | |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Quote:
Search in the forum for it, there should be something about it (this is what I get: http://www.cfd-online.com/Forums/ope...tml#post245855) mad |
||
February 8, 2011, 10:01 |
|
#6 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
Thank you all so much for your help!
@Martin: Both suggestions seem to be a good idea! In the following days I try to realize those. One important question is the following: How can I make sure that the mesh at the outlet (simple geometry) knows the mesh at the inlet (complex geometry). Does it have to be the same mesh with the same coordinates? Or can I map outletvalues to "every" inlet independent from cell number and coordinates? @mad: I will search for timeVaryingMappedFixedValue! But is it possible to achieve a velocity profile that is dependent on time and space or just a fixed value for U at different time steps (block profile). |
|
February 8, 2011, 10:33 |
|
#7 | |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Quote:
Martin |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary conditions: inlet and outlet | aline | OpenFOAM | 7 | June 29, 2010 04:45 |
Inlet and outlet boundary condition | David Baker | FLUENT | 3 | June 22, 2005 01:42 |
Inlet and outlet flow rate | Neser | CFX | 1 | March 2, 2004 17:02 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |
inlet and outlet boundary | you | FLUENT | 2 | May 10, 2001 18:10 |