Jordi Teva - 2002-06-19

Hello, dear all.

I've been simulating DC analysis in my structure with SUGAR version 2.0 suite
and I've obtained good results according to previous simulaltions on MATLAB.

Now the deal is to simulate transient analysis on my structure. My structure it's
based on a gap2de. Until now, the external force was only due to an external DC
voltage. Now the external force is an AC voltage like V=VDC+VAC*sin(w*t).
The question is that I want to simulate the transient analysis of this external force applied
to my structure.  In order to do that, I've defined a new MF_Vsrct and I've added
the lines params.V=abs(x(4)- x(2)) + sin(w*t), where w is global variable, to the file MF_gap2de.
In order to make the simulation I use the ode_ta m file.
The fact is that t is empty during the calling to 'ta_ode' and consequently to 'MF_gap2de'.
So, what am I doing wrong? 'ta_ode' is not valid to an external force F(q,t)?

If you don't have enought time to think about it you could send me some demos showing
transient analysis. It would be great.
If you need more information about my structure or my m files, please ask me.

Any help would be appreciate.
Jordi.
  

************************************************************
Jordi Teva Meroo
Departament d'Enginyeria Electrnica i de Materials
E.T.S.E. Universitat Autonoma de Barcelona
08193 Bellaterra- Catalonia- Spain
phone: 034 93 581 35 14- 034 93 581 35 30
e-mail jorge.teva@uab.es
************************************************************