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

Access Violation Error

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 18, 2006, 13:43
Default Access Violation Error
  #1
sid
Guest
 
Posts: n/a
Hi I've been working on Fluent 6.0 to simulate a fuel cell with multi-channels to evaluate its performance by way of current density... i have written udf for calculation of source terms... during compilation of the code... I got this error message several times, it says - Error: Access Violation. I dont know the exact reason for this error, if someone can help shed some light on it, it wud be useful... i think i have found two sources of this error, although i m sure there a re many more... 1. this happens when any of the calculated parameters reaches the value infinity, may be because the denominator is zero. This happens a lot when you are trying to extract parameters on a face, by a udf - macro.. a lot of the times that value is zero and when u divide something by it, it will lead to the above error. 2. this happens when you are trying to calculate some parameter using a wrong type of macro, say, current density by way of a DEFINE_PROFILE or DEIFNE_ADJUST macro... then there is often a mismatch between the return type that is expected and the return type that you are calculating... make sure that u define the correct macros along with correct return types... hope this helps some of u...

  Reply With Quote

 


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
polynomial thermophysical properties II sebastian OpenFOAM Running, Solving & CFD 54 November 21, 2019 07:12
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


All times are GMT -4. The time now is 14:41.