CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   ChtMultiRegionFoam: Get Boundary Values from Another Region (https://www.cfd-online.com/Forums/openfoam-programming-development/233361-chtmultiregionfoam-get-boundary-values-another-region.html)

wht January 23, 2021 06:40

ChtMultiRegionFoam: Get Boundary Values from Another Region
 
Hi, All!

I'm writing a boundary condition, where I want to get values from a patch from another region. Basically, my boundary condition will calculate gradient for 'fixedGradient' based on the field values on the two patches, which aren't in contact (there's another region in between).

Please, any ideas on how I could do this?

Best wishes,
Ilya

Muerio October 7, 2021 04:40

Hello Ilya,

did you make any progress in accessing a patch within a different region?

I'm currently facing a similar problem in chtMultiRegionFoam, where I want to access a boundary in the solid region from a fluid boundary.

Regards,
Marius


All times are GMT -4. The time now is 08:25.