The code remains valid in this case. But as always, you should check if the temperature profile is correct before running your actual simulations.
No need to give me credits in your report for just a few lines of code. |
i didnt check the profile. Can you please tell me how to do that also?? I googled it but got no positive results
|
Run a few iterations and look at a contour plot of the temperature at this boundary.
|
thank you very much buddy. i wish i could return the favour somehow
|
"Warning: explicit time-stepping not available. Using 1st-order dual-time. '' i get this msg while interpreting. calculation goes smoothly.you know what this mean??
|
1 Attachment(s)
this is the contour i got . is this correct??
|
I have no idea why you get this message during interpretation of the UDF. What transient scheme do you use? Which kind of solver?
About the contour: provided the range is from 298K to 323K and the y-axis points from bottom right to top left, the contour is ok. Dont mind the artifacts at the intersection with the other face, they are mostly caused by the visualization. |
now there's no warnings. some mistakes from my part,i think.And about the contours, i think i need the variation in a vertical manner.bottom of the tank(cylinder) face should be blue above that green like ways. Can you modify like that??
|
Kid, do your own work.
I lost my patience in this forum lately. |
I cant. You are the only one who knows the orientation of your model. All you have to do is change the following line to match your requirements:
F_PROFILE(f, thread, position) = (tmin+tmax)/2.0 + (tmax-tmin)/d*x[1]; All the information you need can be found in this thread. |
Please please, need help.
1 Attachment(s)
Hello,
I'm VERY new to Fluent and I'm attempting to write a UDF that will make the heat flux at a wall a function of time. I've never programmed in C before either so I'm having some trouble getting the correct sytax :( My function in Attach Files: Please help me to witre it I : Heat flux. A : area of the front surface. t : Time. T : Temperature. h : heat transfer coefficient. \DeltaX : depth. Cp: specific heat \rho: density. |
Quote:
http://bytes.com/topic/c/answers/866...ube-surface-3d In your case if the heat flux doesn't depend of the position of the face in the boundary, it is even simpler. Something like this:
The values of density, specific heat etc... can be found here: http://aerojet.engr.ucdavis.edu/flue...udf/node90.htm I dont know what depth in your model means, you shall give more information. Regards |
1 Attachment(s)
Quote:
About my problem, I'll explain. I treat the solidification of a material phase change in a photovoltaic system, a picture attachment allows you to know all the included in the model used to determine the heat flux exerted on the photovoltaic system variables. Greetings |
Quote:
|
Quote:
Thank you for your help. |
Quote:
|
1 Attachment(s)
Quote:
Hi An image attached shows geometry and boundary conditions. Thank you so much. |
What is Tpv? It's the mean of temperature in the pcm domain or a specific temperature in a specific point?
For Tpv(t-deltat) you could try to use C_T_M1(c,t), which returns the cell temperature value of the previous time step. In your equation consider "t" as "t-deltat" and "t+deltat" as "t". Try to start writing some code. Daniele |
Quote:
Again, start writing some code, someone will help you to go through your code. Daniele |
All times are GMT -4. The time now is 01:58. |