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

Access Violation Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2010, 12:06
Default Access Violation Error
  #1
New Member
 
Avinash
Join Date: Apr 2010
Posts: 2
Rep Power: 0
Avin2407 is on a distinguished road
Hi all,

I have written a UDF for turning ON or OFF the heat flux boundary condition on a surface based on temperature.
The problem is a conduction problem and the model is actually generated in Icepak and is to be solved in FLUENT.
I read in the case file and then I interpret my UDF. It doesnt give me any errors whatsoever but then as I try to solve, upon clicking on "initialize", FLUENT gives me the following error:

FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.

I would appreciate any guidance as to what this error may mean and whether it signifies an error in my code or is it something to do with the FLUENT software.

Thank you very much !!

Avinash.
Avin2407 is offline   Reply With Quote

Old   April 24, 2010, 17:52
Default
  #2
New Member
 
tf
Join Date: Apr 2010
Posts: 1
Rep Power: 0
tf_stl is on a distinguished road
Hi,

I received the same error when I used F_U(f,t) to try and get the velocity of the fluid at the face of my profile when I was trying to model a fan pressure drop. From the documentation, it seems as though FLUENT compartmentalizes its stored variables. The quote from the UDF manual says, "Note that these variables are available only in the segregated solver. In addition, quantities that are returned are available only if the corresponding physical model is active. For example, species mass fraction is available only if species transport has been enabled in the Species Model panel in FLUENT. Definitions for these macros can be found in the referenced header files (e.g., mem.h)."

I'm still trying to find a way to access the variable I need, but I got the same error in the same situation you did when that line of code was in my UDF.

I'd love to hear if you found another way.

Thanks
tf_stl 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
Access Violation Error sid FLUENT 1 April 20, 2006 12:10


All times are GMT -4. The time now is 06:19.