Can Fluent start a simulation from a negative time
Hi all,
I am trying to do a simple 2D wave tank simulation. A solitary wave will be generated and propagate from left to right. I am using the DEFINE_CG_MOTION udf on the left wall (as a wavemaker). The velocity profile in the udf is a hyperbolic secant function varying with time. In order to have the left wall to follow the profile, the simulation needs to start from a negative time. I was just wondering if Fluent can start a simulation from a negative time? Thanks.. |
Re: Can Fluent start a simulation from a negative
|
Re: Can Fluent start a simulation from a negative
Thank you Rogerio. I already have this tutorial. It uses sine function which starts at time 0 to generate waves. Do you know how to use sech function which starts at a negative time in Fulent?? Or, is there another way to get around??
|
Re: Can Fluent start a simulation from a negative
I will talk with others researchers about it, īcause iīm new in Fluent.
Best regards, Rogerio. |
Re: Can Fluent start a simulation from a negative
Thanks Rogerio.. At the mean time, can anyone else help??
|
Re: Can Fluent start a simulation from a negative
You can set Fluent's flow time using the text command: (rpsetvar 'flow-time 0.0)
Replace 0.0 with the the flow-time you require. I have never tried using this with a negative time so I don't know if it will do what you require. |
Re: Can Fluent start a simulation from a negative
Thanks.. I am trying it now, but I got this message saying INVALID COMMAND [rpsetvar]. Don't know why....
|
Re: Can Fluent start a simulation from a negative
did you include the brackets when inputting the command?
copy the command below exactly (rpsetvar 'flow-time 0.0) |
Re: Can Fluent start a simulation from a negative
No, I did not include the brackets. I copied the command line into the console window, then got that message.
I just tried it again, but no luck still getting the invalid command rpsetvar. I am using Fluent 6.3.26 on Windows. Thanks... |
Re: Can Fluent start a simulation from a negative
you need to include the brackets....it won't work without them. Its a scheme command
|
Re: Can Fluent start a simulation from a negative
Thanks a lot CDE!!! It worked. Yes, now I can start the simulation from a negative time.
|
All times are GMT -4. The time now is 23:15. |