|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
Dear All,
Could you tell me how to add a source term in to the Y mom. Eq.? Could you forward me some piece of UDF program? Thank you very much in advance. Rucy |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
You can find it in the define menu. define->boundary conditions. A panel will open, in which there are two columns, in the right column select the zone you want to add the source. Push the "set" button and there will be a new panel. In the panel just select the source term. you will find the Y mom Eq, select the fucntion you define, that is OK.
DEFINE_SOURCE(example, c, t) { float source; float pp, tt, xx; pp = C_P(c,t); tt = C_T(c,t); xx = C_U(c,t); source = pp*tt/xx; return source; } |
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
Dear Sir,
Thank you very much. Could you tell me how to find the related manual of Fluent, or any related information, to write UDF? I still do not know the meaning of: (example, c, t) ? Any way, thank you very much. Rucy |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| urgent help needed (rhie-chow interpolation problem) | Ardalan | Main CFD Forum | 2 | March 18, 2011 16:22 |
| help needed in Turbulent flow (URGENT) | mike | FLUENT | 7 | November 7, 2008 07:11 |
| Urgent help needed with spray injection | nick | Siemens | 14 | June 29, 2008 19:48 |
| Urgent Help Needed! | Ken Adams | FLUENT | 3 | September 26, 2007 00:50 |
| urgent help needed on dpm | vaishali | FLUENT | 3 | December 18, 2006 15:20 |