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

Time-dependent boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2016, 04:10
Default Time-dependent boundary conditions
  #1
Member
 
Join Date: Jul 2015
Posts: 33
Rep Power: 10
KeiJun is on a distinguished road
Dear Sir,

I would like to describe time-dependent boundary conditions using some different functions periodically.


pattern 1:
For example, as the boundary condition of U,
0 ~ 5s ... use a function f1(t) as a function of time
5 ~ 10s .... use another function f2(t) as a function of time
10 ~ 15s .... use another function f3(t) as a function of time
15 ~ 20s .... use another function f4(t) as a function of time


pattern 2:
0 ~ 5s ... a face A as inlet (f1(t)), a face B as outlet (zeroGradient)
5 ~ 10s .... a face A as wall (fixedValue(0 0 0)), a face B as outlet (f2(t))
10 ~ 15s .... a face A as outlet (zeroGradient), a face B as inlet (f3(t))
15 ~ 20s .... a face A as outlet (f4(t)), a face B as wall (fixedValue(0 0 0))


Could you teach me how to describe the boundary conditions of above two patterns?


Thank you in advance.

Sincerely,

KeiJun
KeiJun is offline   Reply With Quote

Old   January 21, 2016, 09:39
Smile
  #2
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Hello KeiJun,

You can use of groovyBc utility from swak4Foam package.

With groovyBc you are able to implement any variable boundary condition

with time or position or many other thing.
rapierrz is offline   Reply With Quote

Reply


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 09:05.