CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Fluent does not always compile UDF properly (https://www.cfd-online.com/Forums/fluent-udf/84857-fluent-does-not-always-compile-udf-properly.html)

davesmith_01 February 10, 2011 04:27

Fluent does not always compile UDF properly
 
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

DoHander February 10, 2011 07:24

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

davesmith_01 February 10, 2011 11:45

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

DoHander February 10, 2011 14:09

Yep, for Fluent 64 bits you will need VS 2008 for 64 bits.


All times are GMT -4. The time now is 01:03.