|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: May 2011
Posts: 18
Rep Power: 16 ![]() |
Hello all,
I was wondering if you could help me with the F_C0 and THREAD_T0(t) functions. Essentially, I have : thread_loop_f(t,d) { if (t == Lookup_Thread(d, ID)) { begin_f_loop(f,t) { F_UDMI(f,t,1) = 10000; C_UDMI(F_C0(f,t),THREAD_T0(t),1) = F_UDMI(f,t,1); } } } in a DEFINE_EXECUTE_AT_END macro. Everything interprets fine, but when i test this in my energy source: DEFINE_SOURCE(energy_source,c,t,dS,eqn) { real source; source = C_UDMI(c,t,1); return source; } the UDMI(1) is a 0 when I check it (viewing contours of UDMI(1)) via running a few iterations. Any suggestions? Help is much appreciated. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
| Macro Trouble -Winows Explorer Crashes with Macro | Martin Castillo | FLUENT | 1 | July 25, 2007 05:18 |
| Macro problem | cfddummy | Siemens | 1 | April 9, 2007 13:37 |
| macro not function! | guang ai | Siemens | 0 | July 25, 2004 19:53 |
| Call a macro from a macro | Flav | Siemens | 2 | July 1, 2004 06:42 |