|
[Sponsors] |
March 19, 2002, 11:21 |
How to write a simple program ??
|
#1 |
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 |
|
|
|
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 |