Definition of step function in time-harmonic analysis.

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   1 Reply   Last post: February 16, 2011 7:46am UTC
Zheng Xu

Zheng Xu

February 16, 2011 6:59am UTC

Definition of step function in time-harmonic analysis.

Hello,

I am trying to define a step function as boundary condition in time-harmonic analysis. For example, (a(t)>b)*a+(a(t)<b)*b. But since in time-harmonic analysis, any boundary condition can not be a function of time, can any one give me a help about how to deal with this kind of situation?

Thank you very much.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

February 16, 2011 7:46am UTC in response to Zheng Xu

Re: Definition of step function in time-harmonic analysis.

Hi

boolean step function are nice but the resulting function is not derivable, hence the solver that relies on derivatives for its projections have some issues and often will not converge, you should use Heaviside functions (see the numerous treads on the forum, and the doc) to smoothen your transitions.

Then I agree changing the BC with time means you are changing the modes with the time which means for me that you are imposing some schizophrenic behavior on the time-harmonic solver. I do not expect that will give any reasonable results, standard transient would probably be better for such BC cases

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines