Topic: How to apply cyclic sine load?

Hi,

I am writing to ask how to apply cyclic sine load in oofem. I know if might need to use time function to do the load. But how to apply a cyclic sine load with a certain frequency? Thanks.

Best,

Re: How to apply cyclic sine load?

The calculator function is your best bet I think

userdefltf 1 f(t) "sin(123.45*t)"

should work i think (I don't have the code set up from this computer, so I can't test). I *think* the built in parser can handle this.
You can also use pythonexpression if you have built oofem with python support.

3 (edited by KunZeng 18-04-2018 15:22:32)

Re: How to apply cyclic sine load?

Hi Mikael,

Thanks for your information.

So if I want to appy a sine load with 1Hz frequency and 180 degree phase lag, is this correct?: userdefltf 1 f(t) "sin(2*3.14*t+180)"  or userdefltf 1 f(t) "sin(2*pi*t+pi)" ?

Thanks.



Mikael Öhman wrote:

The calculator function is your best bet I think

userdefltf 1 f(t) "sin(123.45*t)"

should work i think (I don't have the code set up from this computer, so I can't test). I *think* the built in parser can handle this.
You can also use pythonexpression if you have built oofem with python support.

4

Re: How to apply cyclic sine load?

Hi, trigonometric functions  assume the parameters in radians, so the "sin(6.283*t+3.1415)" should work.

Re: How to apply cyclic sine load?

Thanks, bp, you help me out