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

coupled boundary condition using swak/groovyBC

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 19, 2013, 07:54
Default coupled boundary condition using swak/groovyBC
  #1
Member
 
Hossein
Join Date: Apr 2010
Posts: 62
Rep Power: 7
atoof is on a distinguished road
Send a message via Yahoo to atoof
Dear Bernhard,

Is there any possible to use a thermally coupled boundary condition between two regions by swak (or groovybc)?

I have two solid and fluid regions where the following boundary condition should be satisfied.
Code:
-Ks * grad(Ts) = h * (Tf - Ts)
where Ks and h are known constants.

Best Regards,

Hossein
atoof is offline   Reply With Quote

Old   November 19, 2013, 12:48
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by atoof View Post
Dear Bernhard,

Is there any possible to use a thermally coupled boundary condition between two regions by swak (or groovybc)?

I have two solid and fluid regions where the following boundary condition should be satisfied.
Code:
-Ks * grad(Ts) = h * (Tf - Ts)
where Ks and h are known constants.

Best Regards,

Hossein
If you manage to set them up as mapped patches this might be possible with the mapped-function (see examples and the incomplete reference)

But why do you want to do this. I think the BC you describe is already in the built in functions (don't know the name)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   November 20, 2013, 07:37
Default
  #3
Member
 
Hossein
Join Date: Apr 2010
Posts: 62
Rep Power: 7
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by gschaider View Post
If you manage to set them up as mapped patches this might be possible with the mapped-function (see examples and the incomplete reference)

But why do you want to do this. I think the BC you describe is already in the built in functions (don't know the name)
Dear Bernhard,

Thanks to reply. I am looking around these functions in the forum, but I have not got to a definitive answer. The nearest function as I've known so far is turbulentTemperatureCoupledBaffleMixed that used in multi region conjugate heat transfer solver.

I intended to apply the BC defined in the previous simply between solid and fluid regions in a laminar incompressible flow by swak. Do you suggest to manipulate above BC to achieve my own BC or define a new BC according to the simulation?

Could you please introduce me a mapped patches is suitable for that BC?

Thanks again,

Hossein
atoof is offline   Reply With Quote

Old   November 20, 2013, 07:57
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey Hossein,

in my opinion it should be possible to adapt the turbulent... BC on the Interface between both regions. I always use this BC but I never had a laminar flow Situation.

I think you should test it out.
Tobi is offline   Reply With Quote

Old   November 20, 2013, 08:24
Default
  #5
Member
 
Hossein
Join Date: Apr 2010
Posts: 62
Rep Power: 7
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by Tobi View Post
Hey Hossein,

in my opinion it should be possible to adapt the turbulent... BC on the Interface between both regions. I always use this BC but I never had a laminar flow Situation.

I think you should test it out.
Thanks Tobias,

Indeed, I created a solver that the properties of fluid interpolate from a lookup table according to the fluid temperature. To develop my solver to simulate fluid flow and solid temperature in a multi region (solid+fluid) domain, I need the above boundary condition in the interface. Therefore h value in boundary condition should be interpolated in each cell of fluid region.

Do you think, the turbulent... BC can be adapted for laminar flow according to above simulation?

Hossein

Last edited by atoof; November 20, 2013 at 09:31.
atoof is offline   Reply With Quote

Old   November 20, 2013, 09:38
Default
  #6
Member
 
Hossein
Join Date: Apr 2010
Posts: 62
Rep Power: 7
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by gschaider View Post
If you manage to set them up as mapped patches this might be possible with the mapped-function (see examples and the incomplete reference)

But why do you want to do this. I think the BC you describe is already in the built in functions (don't know the name)
Dear Bernhard,

Can 2-Way coupling of patches in groovy-bc be used to couple solid and fluid region such that used in http://openfoamwiki.net/index.php/Co...ing_of_patches?

Thanks
atoof is offline   Reply With Quote

Old   November 22, 2013, 13:42
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by atoof View Post
Dear Bernhard,

Can 2-Way coupling of patches in groovy-bc be used to couple solid and fluid region such that used in http://openfoamwiki.net/index.php/Co...ing_of_patches?

Thanks
That can be done (syntax is a bit different but described on the swak-page). But that way only ONE uniform value can be passed from one patch to the other (not one value for every face)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 34 October 16, 2014 05:27
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
No-slip condition for non-resolved boundary layer in open channel banks AlbertoVe Main CFD Forum 1 January 17, 2013 04:11
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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