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

How to write a simple program ??

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2002, 10: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

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
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 15:09
Where can I write my C program "UDF" in Fluent Chimwemwe Banda FLUENT 2 December 8, 2004 09:07
Help me on SIMPLE L. Aouanouk Main CFD Forum 6 April 17, 2003 05:08
Who can write the binary diffusion coefficient ?? Hsin-Ping FLUENT 1 April 15, 2002 02:22


All times are GMT -4. The time now is 13:27.