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

a problem of property UDF!I need help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 4
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: 4
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: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 9 November 22, 2011 11:02
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 07:13.