|
[Sponsors] |
May 9, 2012, 06:18 |
User Defined Function
|
#1 |
New Member
Waqas Ahmed
Join Date: May 2012
Posts: 1
Rep Power: 0 |
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? |
|
May 10, 2012, 01:43 |
|
#2 |
New Member
Patrick
Join Date: Apr 2012
Posts: 28
Rep Power: 14 |
I've never used these macros but don't see why not, have you tried it to find out?
|
|
May 11, 2012, 17:53 |
|
#3 |
Member
Fer Villa
Join Date: Apr 2012
Posts: 35
Rep Power: 14 |
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.
|
|
|
|
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 |