CFD Online Logo CFD Online URL
Home > Forums > FLUENT

HELP! how to use C_R_G(c,t,) correctly?

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

LinkBack Thread Tools Display Modes
Old   April 15, 2006, 11:09
Default HELP! how to use C_R_G(c,t,) correctly?
Posts: n/a
Hi, here is my UDF codes for a source. I am using Fluent to simulate PEM fuel cell.

I use the density gradient(y direction) to calculate the Net water transfer coefficient. But when i initialize it, error occur: access violation.



real source7,nd;




return source7;


I also experiment simple source item using C_R_G(c,t)[1],but the same error appear.

When delete the C_R_G(c,t)[1], it will be ok.

Can everybody know what's wrong with my code. How to use C_R_G(c,t)?

THX in advance

  Reply With Quote


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
How to use dynSmagorinsky model correctly ? panda60 OpenFOAM 120 November 20, 2014 16:07
[ICEM] Procedure : how to mesh correctly two semicircles in an air flow ? eeesprit ANSYS Meshing & Geometry 2 April 10, 2011 15:14
How to correctly set the mass flow rate of solid paricles ? sankarv OpenFOAM Running, Solving & CFD 0 April 18, 2010 18:04
Can C_VOLUME return value correctly? blueberry FLUENT 6 May 8, 2007 01:30
how correctly set up BC for compressible flows.... yann Phoenics 5 October 13, 2003 03:35

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