找回密码
 注册
Simdroid-非首页
查看: 311|回复: 1

[11.其他多场耦合] defining periodical changing boundary conditions

[复制链接]
发表于 2006-1-19 12:04:56 | 显示全部楼层 |阅读模式 来自 上海浦东新区
>
> I want to know how to define a function for the periodical changing
> boundary conditions. For my case, the inlet concentration of a tube
> reactor changes with time in a cycle with concentration of 1 for 60
> seconds and concentration of 0 for 10 seconds. This cycle repeats
> until reaching my defined end time. Need it urgently.  Thanks.
 楼主| 发表于 2006-1-19 12:07:18 | 显示全部楼层 来自 上海浦东新区

Re:defining periodical changing boundary conditions

Simdroid开发平台
Hi,

At the risk offending all users again by plugging my book, I did
something similar with Jordan MacInnes in Chapter 9 of Process
Modelling and Simulation with Finite Element Methods...

We wanted a "square wave" input to each of two voltages controlling
an electrokinetic, microfluidic flow in a Y-junction.  Each leg of
the Y has to alternate between "idle" and "on" voltages so that flow
switches downstream with source from the other leg.  You might think
that this can be easily done
by altering your Dirichlet boundary conditions to include sinusoids
in time with the appropriate logical operator to turn it into a
square wave (sine > 0 for instance) and out-of-phase behavior for
each leg.  I tried this, and it is not straightforward because of the
elliptic nature of my PDE system and because the FEMLAB
implementation involves weak boundary constraints.  My system
was "stiff" as it involves an infinitely fast time scale, so I tried
approximating the square wave with a few terms of its Fourier series
to smooth it, and then I simply did the periodic switching in a
Matlab driver file that calls the Femlab subroutines with the
appropriate changes to the contants and the solution in the last time
interval as the initial condition.  If your system is not "stiff", I
think the weak boundary constraint that is time varying ought to work
for you.

Regards,
Will Zimmerman
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-29 02:44 , Processed in 0.032114 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表