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

basic question about defining time and time period in udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2016, 04:31
Red face basic question about defining time and time period in udf
  #1
Member
 
ramin
Join Date: Jul 2016
Posts: 41
Rep Power: 10
raminostadi is on a distinguished road
hello experts.
I saw many udf about unsteady flow. for define time use this form:
''double t = (CURRENT_TIME*(A)-floor(CURRENT_TIME*(A)))/(A); //t is the local time within each period''

I saw 2 examples. in one of them time period was 0.5 s and A =2 and in other example time period was 0.8 s and A=1.25.I guess A=1/T In this 2 examples :
''https://www.researchgate.net/post/Does_anyone_know_how_to_create_a_UDF_file_for_puls atile_parabolic_velocity_profile_as_an_inlet_bound ary_condition_for_ANASYS_Fluent_CFD_Simulation''

My question is: what is the ''A'' in this form? Is it time period or time of simulation? Is My guess is true: A=1/T ??

I'm working on pulse blood flow and my time period is 0.7535 s.
now what number I input in A.???
raminostadi is offline   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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34


All times are GMT -4. The time now is 17:10.