CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Couple Boundaries That Aren't in the Contact, Multiregion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2021, 08:55
Default Couple Boundaries That Aren't in the Contact, Multiregion
  #1
wht
New Member
 
Ilya
Join Date: Jan 2021
Posts: 10
Rep Power: 5
wht is on a distinguished road
Hi Everyone,

my simple model consists of 5 box-looking regions that are attached to one another. Only one field, electrical potential 'V', is defined. I've been trying to implement this model for my own solver, which is based on ChtMultiRegionFoam. However, the boundary of the first region must be coupled with the boundary on the fifth region. So, I'm struggling with how to implement this.

My first idea was to do it with the help of groovyBC:

Code:
boundary1
{
  type groovyBC;
  gradientExpression "(V1-V2)/R";
  variables "V1=V;V2@boundary2=V";
where boundary2 is on another, the fifth, region. The problem is groovyBC doesn't see the boundaries in other regions. The geometry is in the attachment.

Any ideas?

Best wishes,
Ilya
Attached Images
File Type: jpg thermal_simulation.jpg (76.5 KB, 4 views)
wht is offline   Reply With Quote

Reply

Tags
coupled boundary, groovybc, multiregions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can anyone help me about the udf of dynamic contact angle in FLUENT? Albert Lee FLUENT 0 July 1, 2018 09:21
[ANSYS Meshing] Help creating contact regions Rafa54G2 ANSYS Meshing & Geometry 2 May 19, 2018 17:37
contact angle as a function of coordinate stardust111 OpenFOAM Programming & Development 0 May 9, 2018 09:19
Dynamic contact angle raj kumar saini Fluent UDF and Scheme Programming 0 October 13, 2014 03:18
dynamic contact angle / contact line velocity ThomasN CFX 6 September 23, 2014 07:07


All times are GMT -4. The time now is 21:20.