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

Fluent does not always compile UDF properly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2011, 04:27
Default Fluent does not always compile UDF properly
  #1
New Member
 
Dave Smith
Join Date: Jul 2010
Posts: 27
Rep Power: 15
davesmith_01 is on a distinguished road
When I open a UDF with fluent sometimes it works, I have MS Visual 2008, and open fluent using the command prompt, and using win xp 32bit. And at other times if I copy this UDF to another folder and try and open it again to run another case it crashes and displays this message

'Error: Fluent recieved a fatal signal (segmentation violation).
Error Object: ()'

How can I fix this, I don't understand why it works sometimes only, also most of the time I am recieving this error now.

Dave
davesmith_01 is offline   Reply With Quote

Old   February 10, 2011, 07:24
Default
  #2
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 19
DoHander is on a distinguished road
Try an experience:
1. Use a folder without spaces in the path, for e.g.: C:\myudf
2. Try something different: C:\Me\My Documents\myudf
Notice the space in the second example.
Also, always start Fluent from VS command prompt.

Do
DoHander is offline   Reply With Quote

Old   February 10, 2011, 11:45
Default
  #3
New Member
 
Dave Smith
Join Date: Jul 2010
Posts: 27
Rep Power: 15
davesmith_01 is on a distinguished road
Hi Do

I tried what you said but it didnt work. I even tried to replace every space with a dot, but that didnt work either. Thanks for trying to help

I don't understand the unstability of fluent, this is another mistake I have spotted in two weeks.

Do you know anything else that I could try, also if I use Fluent in
win xp x64 how can a UDF be compiled, will I need to have MS visual x64 and use the command prompt x64 to open fluent x64?

Dave
davesmith_01 is offline   Reply With Quote

Old   February 10, 2011, 14:09
Default
  #4
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 19
DoHander is on a distinguished road
Yep, for Fluent 64 bits you will need VS 2008 for 64 bits.
DoHander 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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
fluent UDF on linux machine Min-Hua Wang Fluent UDF and Scheme Programming 6 June 29, 2013 08:41
Fluent (ANSYS12) UDF Help, PLEASE! Urgent! ANITIX87 FLUENT 21 April 12, 2011 03:55
Parallel Fluent +UDF Jack Martinez FLUENT 0 June 28, 2007 11:19
Help to Compile UDF chiph FLUENT 2 November 2, 2003 09:14


All times are GMT -4. The time now is 18:28.