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

How to write a simple program ??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2002, 11:21
Default How to write a simple program ??
  #1
kokey
Guest
 
Posts: n/a
Hi ~~~my dear friend I have a problem how to write a simple program inside a UDF . In my program , two equations be existed in a same model simultaneously . equation 1 :

eta=R*T/0.5/F*log(i*P/Io/Po2) equation 2 :

i=k/Tm*(Voc-Vcell-eta)

R ,T ,F ,P,Io,Po2,Voc,Vcell,Tm,k are constants I can't direct to calculate equation 1 and equation 2 .because , in equation 1 and equation 2 only have two unknown variables , eta and i . i wish i could get a accuracy value ( i ) from a simple program .Could you help me how to write it ??

kokey

  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
A simple problem with mfix joshzrr Main CFD Forum 2 October 31, 2013 05:11
Progressing to write my own simple code Jonny6001 Main CFD Forum 5 October 19, 2009 16:09
Where can I write my C program "UDF" in Fluent Chimwemwe Banda FLUENT 2 December 8, 2004 10:07
Help me on SIMPLE L. Aouanouk Main CFD Forum 6 April 17, 2003 06:08
Who can write the binary diffusion coefficient ?? Hsin-Ping FLUENT 1 April 15, 2002 03:22


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