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

UDF Define_Init velocity profile

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 9, 2013, 07:06
Default UDF Define_Init velocity profile
  #1
New Member
 
Thomas Crepon
Join Date: Jun 2013
Posts: 3
Rep Power: 12
windguy is on a distinguished road
Hi everyone,

I really need your help for a scholar modeling. I want to create as an initial condition on inlet, a velocity profile quite simple : if y<2.5 then U=0, else U=2*y.

The problem is that I never used C language in my life and so as a complete rookie I'm quite lost...

Below you'll find what I've tried to write by copying other examples found on the net.

Thanks a lot for every little help you could give me (and sorry for my english)

Best Regards
Attached Files
File Type: c udfinit.c (282 Bytes, 55 views)
windguy is offline   Reply With Quote

 


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
UDF for inlet velocity profile Bollonga Fluent UDF and Scheme Programming 4 June 29, 2021 04:40
UDF problems - velocity profile Oli Fluent UDF and Scheme Programming 6 October 24, 2016 10:38
UDF Unsteady velocity profile Rashad FLUENT 0 February 27, 2008 14:57
How to specify the Velocity profile (eqn) by UDF Anant FLUENT 1 February 27, 2008 14:54
Multi step transient UDF velocity profile problem William177 FLUENT 1 February 3, 2008 06:47


All times are GMT -4. The time now is 11:46.