|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Jul 2015
Posts: 33
Rep Power: 11 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 12 ![]() |
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. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |