CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Define source in UDS

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

LinkBack Thread Tools Display Modes
Old   July 7, 2006, 16:14
Default Define source in UDS
Posts: n/a
Hello, everyone. Now I want to define the source of user defined scalar which includes the effect of the scalar itself. In numerical method, I know that we could use the value from last time step to calculate the value of this time step and iterate. Is it possible for me to write a UDF to carry out this process in FLUENT of UDS? If you could give me a similar example, I would be appreciated it very much. Thanks in advance.
  Reply With Quote

Old   July 8, 2006, 13:42
Default Re: Define source in UDS
Posts: n/a
Hi summer-

Yes, it can be done using UDF. I suggest you read the UDF manual on the chapter "User-Defined Scalar Transport Modeling". You'll also need to read sections for DEFINE_SOURCE and DEFINE_UDS_UNSTEADY macros.
  Reply With Quote

Old   July 10, 2006, 18:40
Default Re: Define source in UDS
Posts: n/a
Thanks! I am looking at these documents. Now, I would like to get the value of void fraction in the previous step, but I could not find the macros for it. Is there any other way I could get it? Thanks very much.
  Reply With Quote


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
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
UDS source help sunita FLUENT 3 January 24, 2007 00:51
How to define energy source? Marie FLUENT 2 September 19, 2002 05:27
Multiple species and UDS source terms Ale FLUENT 2 September 9, 2002 03:45
How to define momentum source? Bogesz CFX 3 July 23, 2002 03:25

All times are GMT -4. The time now is 11:58.