|
[Sponsors] |
gauss distribution of Cp using UDF not working as expected |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 6, 2015, 16:16 |
gauss distribution of Cp using UDF not working as expected
|
#1 |
Member
Mohamed
Join Date: Jan 2011
Location: Algeria
Posts: 46
Rep Power: 15 |
hi
I work on the phase change of the PCM, so to model the solid-liquid change of PCM, I used the gauss distribution for the Cp, I used an UDF for this reason, my problem is that my UDF has no error, all is well, but when I run a calculation by Fluent, my results are not as I think, it means that Fluent has not worked by the UDF or there is another problem I do not know about it. My UDF PHP Code:
|
|
June 7, 2015, 09:18 |
help
|
#2 |
Member
Mohamed
Join Date: Jan 2011
Location: Algeria
Posts: 46
Rep Power: 15 |
Pleaaaaaaaaaaaaaaaaaaaaaaaaaaaase help meeeeeeeeeeeeeeee
|
|
June 9, 2015, 04:19 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If you think Fluent does not use your UDF, try putting
Code:
Message("test"); If you see "test" appearing in your screen (many times), the UDF is used. |
|
June 9, 2015, 10:38 |
Thank you
|
#4 |
Member
Mohamed
Join Date: Jan 2011
Location: Algeria
Posts: 46
Rep Power: 15 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Surface Ship Flow | timfranke | OpenFOAM Running, Solving & CFD | 322 | March 3, 2021 10:04 |
error on turbulence scheme | immortality | OpenFOAM Pre-Processing | 11 | August 21, 2013 09:45 |
Convergence problem | xxxx | OpenFOAM Running, Solving & CFD | 7 | February 15, 2013 07:16 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
Compiling OpenFOAM13 on AMD64 with OpenSUSE 101 | silent_missile | OpenFOAM Installation | 5 | August 10, 2007 08:31 |