|
[Sponsors] |
January 19, 2013, 20:17 |
|
#21 | |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Quote:
thanks for the answer! I am saving in outlet memory 0 and then using it in inlet..what is wrong in it? thanks again! |
||
January 19, 2013, 20:30 |
|
#22 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
so it means that I can not use saved data from outlet in the inlet?
|
|
January 23, 2013, 02:16 |
|
#23 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
I suspect you did not understand how to use the C_UDMI feature.
For each cell in the computational domain you can allocate extra storage room, like extra pockets. Each cell will be identified by a cell index "c" and a thread pointer "t", and each pocket with another index "i". To access these pockets, fluent provides you with a macro C_UDMI(c,t,i). To simplify the understanding, let us consider your domain composed only from 2 cells, one next to the inlet and the second one, next to the outlet. Each cell has only one pocket that you call "memory 0". If you put data only in the pocket that belongs to the cell at the outlet, how do you expect to find anything in the pocket that belongs to the cell at the inlet? |
|
March 18, 2013, 09:57 |
|
#24 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi
post #17 is working for serial but now I have a problem with parallel. i put at the beginning #if !PR_HOST and at the and #ifend but still not working. I try other variations but it seems not trivial. any help? thanks in advance! Last edited by Kanarya; March 18, 2013 at 19:29. |
|
March 20, 2013, 02:43 |
|
#25 | |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Quote:
The code at post #17 will not calculate correctly the mass flow in parallel (not to mention what you put in the F_UDMI, which looks wrong to me even in serial). After your face loop is finished, you will need a global summation for that variable. Please check the Fluent UDF Manual for this information. As a begin for a better, more disciplined way of programming, you could use Message0, instead of Message, otherwise you will get as many mass flow values as processes you use. |
||
March 20, 2013, 06:31 |
|
#26 | |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi dmoroian,
you are right I have a problem parallel. I have already tried global summation (e.g. PRF_GSUM1(velocity_s) or PRF_GIHIGH1(velocity_s) it works but first one sum all values and second one choose the highest one so I need exact values from outlet which I can get in serial! do you have any other suggestions about global summation? thanks in advance!! Quote:
|
||
March 20, 2013, 09:32 |
|
#27 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Then post #17 is not what you have in mind, because there you sum up in the mass_flow variable all the fluxes through a certain boundary. In parallel this should be completed by a PRR_GRSUM1 command.
So, once again: what do you mean by "problem in parallel"? |
|
March 20, 2013, 10:04 |
|
#28 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
ok there was lack of info!it was my fault!sorry about that!
so I change it little bit instead of mass flow rate I am saving velocity and volume fraction of solid phase. and after that I am using this values in inlet to keep mass flow rate constant in the system. But in the serial it works perfect but in parallel I have in the inlet always zero! which means it doesnt takes saved values!you can give me e mail adress I can send you the code! thanks for your help! |
|
March 22, 2013, 06:15 |
|
#29 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
I would prefere for you to post your code instead, so everybody will benefit from the discussion. If this is not possible, then you can use: http://www.cfd-online.com/Forums/members/dmoroian.html
to send me a private message, and I will try to have a look at it when I get some spare time. |
|
March 22, 2013, 07:12 |
|
#30 | |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
thanks a lot!
I will try to find out the problem first! To save your time! thanks again! Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX results postprocess in Tecplot | seaharrier | CFX | 5 | April 18, 2019 02:01 |
SOS, postprocess aspect ratio | hedonist | FLUENT | 3 | September 1, 2010 11:02 |
How to make Disproportional Figures - Postprocess. | mrt | FLUENT | 2 | December 29, 2007 09:13 |
does FIDAP support other postprocess software? | ztdep | FLUENT | 0 | April 13, 2006 11:35 |
about transient postprocess problems | limingtiger | Siemens | 0 | September 10, 2005 21:37 |