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

Maths in UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2008, 13:36
Default Maths in UDF
  #1
Corentin
Guest
 
Posts: n/a
Hi!

Is it possible to do some maths in a UDF?

For instance, can I do the product of two matrices, find the maximum of an array, and so on?

Thank you!
  Reply With Quote

Old   May 28, 2008, 13:53
Default Re: Maths in UDF
  #2
BastiL
Guest
 
Posts: n/a
of course you can. You can do all that can be done in c programming language.

Regards
  Reply With Quote

Old   May 28, 2008, 13:57
Default Re: Maths in UDF
  #3
Corentin
Guest
 
Posts: n/a
Ok, thank you

I guess there must be some file.h to include?

Regards
  Reply With Quote

Old   June 2, 2008, 08:02
Default Re: Maths in UDF
  #4
fluent_guy
Guest
 
Posts: n/a
type #include "math.h" to be sure
  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
Maths of Fluent SAM FLUENT 0 September 11, 2004 19:59
CFD Career for Maths graduate Leo Main CFD Forum 8 June 2, 2004 20:39


All times are GMT -4. The time now is 19:03.