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

User Defined Function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2012, 06:18
Question User Defined Function
  #1
New Member
 
Waqas Ahmed
Join Date: May 2012
Posts: 1
Rep Power: 0
Vicky123 is on a distinguished road
Hello,

I am writing a udf on C.. for change in material property using command
DEFINE_PROPERTY

can i also use the command DEFINE_SOURCE for change in momentum equation in the same program?
Vicky123 is offline   Reply With Quote

Old   May 10, 2012, 01:43
Default
  #2
New Member
 
Patrick
Join Date: Apr 2012
Posts: 28
Rep Power: 14
Patrick1 is on a distinguished road
Quote:
Originally Posted by Vicky123 View Post
Hello,

I am writing a udf on C.. for change in material property using command
DEFINE_PROPERTY

can i also use the command DEFINE_SOURCE for change in momentum equation in the same program?
I've never used these macros but don't see why not, have you tried it to find out?
Patrick1 is offline   Reply With Quote

Old   May 11, 2012, 17:53
Default
  #3
Member
 
Fer Villa
Join Date: Apr 2012
Posts: 35
Rep Power: 14
fevi84 is on a distinguished road
you can use DEFINE_PROPERTIY and DEFINE_SOURCE, for change a material property and the source term of the momentum equation respectively. for do this, you have write both UDF in the same archive c.
fevi84 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
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
User defined function - CO level hari FLUENT 0 October 24, 2007 01:11
Help: user defined function alice FLUENT 3 December 13, 2000 01:10


All times are GMT -4. The time now is 20:02.