|
[Sponsors] |
UDF for thermal conductivity relation of nano fluid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2016, 03:41 |
|
#21 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Idea: Initialize your problem, load the UDF, and (without doing any iterations) plot your thermal conductivity and viscosity. Analyze the values that you see, are they what you expect?
If you see NaN or -1e30 or 1e30, it is obviously wrong. Then, find the error in your code. |
|
September 26, 2016, 08:41 |
|
#22 |
Member
NGP
Join Date: Mar 2016
Posts: 33
Rep Power: 10 |
Hi
thanks for your help I have the following massages from fluent solver: divergence detected in AMG solver: temprature -> increasing relaxation sweeps! you may try the enhanced divergence recovery with( rpsetvar ' amg/ protective -enhanced? #t) i attached the picture of massages. I need your advice. many thanksAttachment 50718 |
|
September 26, 2016, 08:49 |
|
#23 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Look at my message from April 21, 2016 08:41.
|
|
September 26, 2016, 09:39 |
|
#24 |
Member
NGP
Join Date: Mar 2016
Posts: 33
Rep Power: 10 |
hi
plot ? where is this ''plot command'' for conductivity"? is it in Result bar of fluent"? |
|
September 26, 2016, 09:58 |
|
#25 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
You should know that you can show results in Fluent...
Did you never make a picture of velocity??? Did you never make a picture of pressure??? If you did not: please follow some tutorials first. If you did: do the same, but then with viscosity in stead of velocity. |
|
September 26, 2016, 11:23 |
|
#26 |
Member
NGP
Join Date: Mar 2016
Posts: 33
Rep Power: 10 |
1) yes. the the thermal conductivity is zero ... every where!!
and viscosity has a constant value 8.9e-4 2) when checking the case topology... -this case has both inlet and outlets -pressure information is not available at the boundaries. are these 2 issues makes any problem for my set up? |
|
September 26, 2016, 11:44 |
|
#27 |
Member
NGP
Join Date: Mar 2016
Posts: 33
Rep Power: 10 |
Hi
this is what i try to write in my code: ImageUploadedByCFD Online Forum1474900809.891608.jpg the 2nd picture is what i wrote: ImageUploadedByCFD Online Forum1474900978.125366.jpg this code is for conductivity. i may have some problem in the code writing please help me thanks navid |
|
September 26, 2016, 11:44 |
|
#28 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Your problem is the thermal conductivity. It is zero. So that is why your temperature calculation immediately goes wrong.
The problem is in your udf. It gives zero as a value. Fix that! |
|
September 26, 2016, 11:47 |
|
#29 |
Member
NGP
Join Date: Mar 2016
Posts: 33
Rep Power: 10 |
yes Pakk
there is a problem with the code. |
|
April 1, 2017, 04:02 |
|
#30 |
New Member
HASAN
Join Date: Oct 2016
Location: canada
Posts: 9
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to modify inlet fluid temperature | Vipul_Patel | Fluent UDF and Scheme Programming | 0 | February 22, 2016 22:11 |
Error in Two phase (condensation) modeling | adilsyyed | CFX | 15 | June 24, 2015 20:42 |
UDF for thermal conductivity | ayoub1989 | Fluent UDF and Scheme Programming | 5 | August 18, 2014 06:15 |
UDF to simulate an object moving in a fluid? | charlestan88 | Fluent UDF and Scheme Programming | 0 | October 25, 2013 10:37 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |