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

Define grid motion: if (time<3*dtime) {} else -

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2016, 09:46
Default Define grid motion: if (time<3*dtime) {} else -
  #1
New Member
 
Prikane
Join Date: Mar 2016
Posts: 28
Rep Power: 10
Prikane is on a distinguished road
Hello dear colleagues,

currently I am working on one UDF for dynamic mesh, and I was wondering can someone explain me what is the meaning and purpose of the following condition, which has been used in UDF for dynamic mesh (DEFINE_GRID_MOTION):

if (time<3*dtime)
{
}
else
{
}

Also, If someone can explain me what is difference between time and dtime I would very grateful.

Thank you in advance!
Prikane is offline   Reply With Quote

Old   June 3, 2016, 05:47
Default
  #2
New Member
 
shadi
Join Date: Feb 2015
Posts: 3
Rep Power: 11
shadi is on a distinguished road
Hi
time=current time
dtime=time step
shadi is offline   Reply With Quote

Old   June 20, 2016, 05:27
Default
  #3
New Member
 
Prikane
Join Date: Mar 2016
Posts: 28
Rep Power: 10
Prikane is on a distinguished road
Dear Shadi,

Many thanks for your help.

Prikane
Prikane is offline   Reply With Quote

Reply

Tags
define grid motion, dynamic mesh, fluent, udf


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
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 22:13
An odd ERROR mdakbari Fluent UDF and Scheme Programming 7 April 4, 2016 05:30
Grid motion as function of energy (DEFINE_GRID_MOTION) sooroo3 Fluent UDF and Scheme Programming 0 June 8, 2014 13:36
define wall in fluent when hooking grid motion iman_1844 FLUENT 0 August 6, 2010 14:56
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 06:59


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