|
[Sponsors] |
June 1, 2007, 10:02 |
phase_index
|
#1 |
Guest
Posts: n/a
|
hi, Can you help me to determine a phases and species numbers? I have two phases: let say liquid water and water vapour. What are the numbers of phases in phase panel and what will be a numbere of phases in UDF listed below:
DEFINE_MASS_TRANSFER(dml_v,cell,thread,from_phase_ index,from_species_index,to_phase_index,to_species _index) { ............. from_phase_index=?????; from_species_index=?????; to_phase_index=?????; to_species_index=?????; in my case primary phase is water vapour and secondary phase is liquid. thank you for help |
|
June 11, 2007, 12:36 |
Re: phase_index
|
#2 |
Guest
Posts: n/a
|
I think that the number coresponde to the ID that it's shown in the phases panel, but pleas I have a probleme with the compiling the UDF sources file, so please if you solve the probleme tell me the way to do by mail . thank you for help and good luck
|
|
June 12, 2007, 14:56 |
Re: phase_index
|
#3 |
Guest
Posts: n/a
|
I dont`t think so. I think that primary phase is 0, secondary phase is 1 and so on. If phase contain only one species its number is "-1" (according to Fluent masstransfer tutorial. I didn`t manage to confirm that because there was always some error whan I wanted to do it this way).
So...I just need some confirmation.... good luck grzes |
|
|
|