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

a problem of property UDF!I need help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2012, 09:50
Default a problem of property UDF!I need help
  #1
New Member
 
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 13
hw0076 is on a distinguished road

Hi,everyone!
Nice to meet you!
I have got a problem about material properties.I have writen a UDF for thermal conduction and viscosity,and i can compile and load the udf,there is no error,but when i edit the property in the material panel,i choose the option "user-defined",and i can see the udf,the problem is that i can't choose it.For check the problem,I write a simple code instead my code,but it has the same problem,I don't know whether my software has problem.
my simple code is below:
#include "udf.h"
DEFINE_PROPERTY(tc,c,t)
{
return 10.0;
}
the same problem i put in the image.
Thanks for everyone,i need your help eagerly,Waiting for reply.

Last edited by hw0076; August 29, 2012 at 09:55. Reason: picture error
hw0076 is offline   Reply With Quote

Old   August 29, 2012, 10:06
Default
  #2
New Member
 
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 13
hw0076 is on a distinguished road
i don't know how to upload picture,my picture all can't be displayed.
hw0076 is offline   Reply With Quote

Old   August 29, 2012, 22:28
Default
  #3
New Member
 
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 13
hw0076 is on a distinguished road
Additional,there is another error I think maybe caused by same reason。That is when I compiled and loaded the simple test function above,I choose “define”-"materials"-"user-defined database"-input "1" for database name-ok-new-input "1" for material name-types choose "fluid"-choose one of the available properties,for example,viscosity-then choose viscosity on the right-edit-choose the available properties for "user-defined"-edit properties choose "user-defined"-edit,then,I can't open the "edit" panel,and I got a error notice "Error: FLUENT received a fatal signal (SEGMENTATION VIOLATION).
Error Object: ()".
That's why?
I have been confused for days,I really want the solution.
Thanks.
hw0076 is offline   Reply With Quote

Reply

Tags
material properties, udf and programming


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
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 10 February 7, 2024 21:50
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Problem in implementing cht tilek CFX 3 May 8, 2011 08:39
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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