|
[Sponsors] |
July 7, 2006, 16:14 |
Define source in UDS
|
#1 |
Guest
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.
|
|
July 8, 2006, 13:42 |
Re: Define source in UDS
|
#2 |
Guest
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. |
|
July 10, 2006, 18:40 |
Re: Define source in UDS
|
#3 |
Guest
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11:48 |
UDS source help | sunita | FLUENT | 3 | January 23, 2007 23: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 |