CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Can Fluent start a simulation from a negative time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2008, 15:06
Default Can Fluent start a simulation from a negative time
  #1
Ted Chu
Guest
 
Posts: n/a
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..
  Reply With Quote

Old   November 23, 2008, 16:12
Default Re: Can Fluent start a simulation from a negative
  #2
Rogerio Fernandes Brito
Guest
 
Posts: n/a
I donīt think so!

http://rapidshare.de/files/40979319/0_wave.rar.html
  Reply With Quote

Old   November 23, 2008, 16:43
Default Re: Can Fluent start a simulation from a negative
  #3
Ted Chu
Guest
 
Posts: n/a
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??
  Reply With Quote

Old   November 23, 2008, 17:18
Default Re: Can Fluent start a simulation from a negative
  #4
Rogerio Fernandes Brito
Guest
 
Posts: n/a
I will talk with others researchers about it, īcause iīm new in Fluent.

Best regards,

Rogerio.
  Reply With Quote

Old   November 23, 2008, 19:58
Default Re: Can Fluent start a simulation from a negative
  #5
Ted Chu
Guest
 
Posts: n/a
Thanks Rogerio.. At the mean time, can anyone else help??
  Reply With Quote

Old   November 24, 2008, 16:49
Default Re: Can Fluent start a simulation from a negative
  #6
CDE
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   November 25, 2008, 16:48
Default Re: Can Fluent start a simulation from a negative
  #7
Ted Chu
Guest
 
Posts: n/a
Thanks.. I am trying it now, but I got this message saying INVALID COMMAND [rpsetvar]. Don't know why....
  Reply With Quote

Old   November 25, 2008, 22:30
Default Re: Can Fluent start a simulation from a negative
  #8
CDE
Guest
 
Posts: n/a
did you include the brackets when inputting the command?

copy the command below exactly

(rpsetvar 'flow-time 0.0)
  Reply With Quote

Old   November 26, 2008, 07:00
Default Re: Can Fluent start a simulation from a negative
  #9
Ted Chu
Guest
 
Posts: n/a
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...
  Reply With Quote

Old   November 26, 2008, 16:00
Default Re: Can Fluent start a simulation from a negative
  #10
CDE
Guest
 
Posts: n/a
you need to include the brackets....it won't work without them. Its a scheme command
  Reply With Quote

Old   November 26, 2008, 21:06
Default Re: Can Fluent start a simulation from a negative
  #11
Ted Chu
Guest
 
Posts: n/a
Thanks a lot CDE!!! It worked. Yes, now I can start the simulation from a negative time.

  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time-accurate start-up of flat-plate flow Joshua Brinkerhoff CFX 5 January 19, 2009 17:54
Transient simulation error on start - Korsh Mik CFX 1 November 2, 2005 09:08
blood flow simulation start-up hints please olumide olododo Main CFD Forum 4 May 31, 2004 11:33
Negative densities at the start of a run nandu Siemens 3 May 13, 2003 16:18
start external programm every time step Ingolf FLUENT 0 March 3, 2003 04:59


All times are GMT -4. The time now is 23:40.