CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

relations between master and slave boundary condtions

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

relations between master and slave boundary condtions

Posted July 7, 2017 at 04:16 by kindle

Mapped boudnary condition?


Quote:
Originally Posted by wyldckat View Post
Hi Vimal,

Of course! The mapped BC, I wasn't remembering it. One such tutorial is "incompressible/pisoFoam/les/pitzDailyMapped".
And as of OpenFOAM 2.2, you can find more details about boundary conditions and function objects here: http://foam.sourceforge.net/docs/cpp/modules.html

What you're looking for is in the section Coupled boundary Conditions

The general idea is that:
  1. You define in the file "constant/polyMesh/boundary" the geometrical relation between two patches, where one is the slave and the other the master.
    The offset is defined here and is the indication of the relative position between the current patch and the other patch. For example, if your "inlet" is at "X= -5.0m" and the "outlet" is at "X=+10.0m", and if the "inlet" is the one that is defined as the "mappedPatch", then the offset is "(15.0 0 0)". Well, actually, it might have to be "(14.99 0 0)", so that the offset point falls inside the cells that are near the "outlet" patch.
    If the "outlet" was the "mappedPatch", then the offset would be "(-15.0 0 0)"... I mean, "(-14.99 0 0)".
  2. As for the type you defined for the "inlet" in "0/U", it depends on the specific mapped type you're looking for, as listed in the Coupled boundary Conditions.
Best regards,
Bruno
Posted in programming
Views 2890 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 04:33.