Hi,
I have written a program to find out temperatures on a plate for a given set of conditions (This problem is a part of my course in Compuatational Fluid Dynamics).
The program runs giving output temperatures as
T18=3.47921e+310
T28=2.46768e+310
etc......
also
T57=1.#INF
T53=1.#INF
etc.......
Can anyone please tell me what the output means and probable errors in the program from looking at the output.
If needed I can post the program here...since it is more than 200 lines I have not posted it here..
Any help will be greatly appreciated
thanks
|
Go4Expert Member
|
|
| 16Mar2010,17:28 | #2 |
|
I think you print the output using the '%g".Use "%f " and try .You will get a understandable output.
|
|
Newbie Member
|
|
| 17Mar2010,11:27 | #3 |
|
Thanks......
but isnt %d,%f etc... written in c language. I have written the program in C++ (sorry i forgot to mention it in the earlier post) |
