|
[Sponsors] |
How to make right addressing for interface pathces? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 ![]() |
Hello Friends
I am quite new to addressing in OpenFoam and the way coupledpatch boundaries use addressing to find their shadow faces on shadow patch. So excuse me if the question is not very clear. I have two meshes with a interface (regionCoupling patches) whose faces match together. But their addressing are not correct. for exmaple patch1 on mesh 1 and patch2 on mesh2 are regionCoupling type whose shadowPatch() functions refer to each other. But: patch1.Cf()[i]=patch1().shadowPatch().Cf()[k] I need to change addressing in order to have match faces on both side ( i.e. i=k) How can I do that? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
ANKUR GARG
Join Date: Mar 2017
Posts: 23
Rep Power: 9 ![]() |
Do you mean to say that both the patches contain same number of faces, but when you call
(1) from patch1.Cf()[i]; (2) from patch1().shadowPatch().Cf()[i] are not same? Do you also mean that both the face Centres should be same? PS: I haven't worked on the same. But I just wanted to be clear about your question first!
__________________
Ankur Garg |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 ![]() |
Quote:
Thanks for your reply Yes. You realized the problem correctly and actually I solved it yesterday. The problem was as below: I built my fluid and solid meshes in Gambit separately and transferred them to OF. Problem arises form the fact that interface boundaries included multiple FACES and the order that I chose them for fluid and solid parts was different. As a result, addressing in openfoam for interface patches and their shadow was mismatch. So, by making a same order for choosing FACES for the shared interface I could solve the problem. I hope it can help other Foamer who are dealing with interface with multiple geometries. |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
Gaoqiang Yang
Join Date: Apr 2018
Posts: 14
Rep Power: 8 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 12:39 |
how can make normal shock in the nozzle at inlet B.C : Pressure Far field | SonicGhoul | FLUENT | 2 | May 8, 2016 05:16 |
how to make a series of plane with equidistance in postprossing of result | sunxihui | FLUENT | 0 | January 13, 2013 09:50 |
a way to make lots of money quick and easy no lies | Dob | Main CFD Forum | 0 | October 10, 2006 16:45 |
[Q]How to make MPEGs with CFD datas??? | Bum-Seok Hyun | Main CFD Forum | 4 | February 16, 2000 18:59 |