|
[Sponsors] |
February 26, 2015, 05:10 |
Convection to the ambient air
|
#1 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi foamers,
i am currently trying to simulate the convection from a solid, heated by its inside, to the ambient air. I don't find the kind of boundary i have to use. I would like a boundary which let me fix the Temperature at the infinity, so the ambient air temperature, and the h coefficient for the heat transfer between my solid and the air. Could you help me ? Thanks. LD |
|
February 26, 2015, 07:43 |
|
#2 |
Member
Thiago Parente Lima
Join Date: Sep 2011
Location: Diamantina, Brazil.
Posts: 65
Rep Power: 15 |
Hi laurentD,
Which solver are you using? Is your case something like a heated vertical wall in ambient air? Could you give us more details?
__________________
Fields of interest: buoyantFoam, chtMultRegionFoam. |
|
February 26, 2015, 08:47 |
|
#3 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi Thiago,
a am using a chtMultiRegionFoam solver and the boundary on which i work is a boundary between a solid part and the ambient air, which is not meshed. I think i have found something. I will try to use externalWallHeatFluxTemperature with h and Ta. Do you think it is a good method in my case ? LD |
|
February 26, 2015, 09:16 |
|
#4 |
Member
Thiago Parente Lima
Join Date: Sep 2011
Location: Diamantina, Brazil.
Posts: 65
Rep Power: 15 |
Hey laurentD,
Now I get it! Once the air region is not meshed, I think it is. I have a question , suppose you have a solid region surrounded by a fluid in a laminar flow (chtMultiRegionSimple). Regarding the velocities and pressure BC's, do I need any special boundary condition for the fluid_to_solid patches (as is needed for T, e.g.)? I'm using the fixedValue (no slip) for velocity and fixedFluxPressure for pressure.
__________________
Fields of interest: buoyantFoam, chtMultRegionFoam. |
|
March 2, 2015, 16:20 |
|
#5 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hello Thiago,
Quote:
Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
March 6, 2015, 12:00 |
|
#6 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi,
the use of externalWallHeatFluxTemperature have not given the good results... I have fixed : ta = 293.15 (i think it is the external temperature) h = 10 (the convection coefficient) value = 293.15 (the initial value) But after some timesteps, the value of the temperature on the solid have exploded, with values like 6e+22... Any ideas ? Maybe a problem of unity for h ? Best regards, Laurent |
|
March 6, 2015, 12:16 |
|
#7 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Quote:
If you don't give us a better information it's impossible to find out what you are doing wrong. You should post your log file, at least the piece corresponding to the last time steps so that we can see what you are doing wrong. What are your initial conditions? Is your geometry correct? By the way, the units of h are [W/(mē*K)]. Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
March 6, 2015, 12:28 |
|
#8 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi,
i understand. You can find in attached files a directory with some of the files i have used. Thank you for your time. Best regards, Laurent |
|
March 6, 2015, 12:30 |
|
#9 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
And this job has run without any problems with adiabatic conditions on exterior boundaries, so i think the problem is not related to the geometry or anything like it.
I have just added the externalWallHeatFluxTemperature on each solid part. Best regards |
|
March 10, 2015, 06:35 |
|
#10 | |
Senior Member
|
Quote:
You didn't share much information about your case (like which solver you are using, etc.) so it is difficult to judge the reason for the failure. Anyways from the solver log file it can be observed that Courant number reaches very high value. Try with lesser "deltaT" value and check - Best Luck! |
||
March 10, 2015, 07:34 |
|
#11 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi,
thanks to spend part of yor time to help me. I use the solver chtMultiRegionFoam, and i don't calculate the cinematic field, since it is calculated in a previous run. So in my previous studies, the blocking of the cinematic calculation allowed me to work with Courant number higher. But this time there is a problem so i had tried to decrease the timestep. I have used dt = 1e-06 instead of 1e-02 and the maximal courant number is now equal to 1. But the problem of divergence of temperature still exits. To be complete about the Courant number, i have to say that this is calculated on the Fluid part of my job, but this fluid part is inside the solid parts. The convection i am now trying to simulate is on the other side of the solid parts, the parts which are in contact with the ambient air. I keep fighting to obtain results... Best regards, Laurent |
|
March 10, 2015, 08:05 |
|
#12 |
Senior Member
|
Thank you for briefing again
Check your mesh quality? using "checkMesh". May be problem could be with the mesh. I don't know much detail of the solver so can't comment on it. Try with available tutorials: check out Maaike Van Der Tempel's slides, report and case files. https://openfoamwiki.net/index.php/G..._-_planeWall2D I hope this will solve your problem - Best Luck! |
|
March 10, 2015, 10:06 |
|
#13 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Thank you but i have already read it. I haven't found anything wich can help me.
I have used the checkMesh utility and everything seems ok. I am currently doing tests on timepsteps and i see strange behaviours. For example : - when dt = 7e-03, the explosion came at t = 0,014, - when dt = 1e-03, the explosion came at t = 0,006. So my opinion is that problem comes from numerical scheme. If there was an unity problem, the explosion should arrive at the same time, shouldn't it ? But even if i take dt = 1e-06, the problem si still alive. Another road to follow maybe : My geometrical mpdel is built on millimeters, so when i use it on OpenFOAM, i use transformPoints -scale (0,001 ...) and everything was working well before last friday (the day i tried to simulate natural convection on boundaries with exterior). Thanks to the "transformPoints" utility, all my model is in meters. When i look the polymesh/points files, the coordinates are in meters, so there isn't problem here. Best regards, Laurent |
|
March 10, 2015, 11:49 |
|
#14 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
I have to precise :
i am working with OpenFOAM 2.1.0. I prefer to say that beacuse maybe the utility i am trying to use weren't able to work with this version. If anybody can have informations on it... Best regards, Laurent |
|
March 12, 2015, 12:25 |
|
#15 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi guys,
i have more information to help those who want to help me. Initially the temperature of the solid is around 283 K. - if i put Ta = 293, h= 10, the job crashes when one cell of the solid boundary has a temperature higher than 293. Suddenly, all the temperature of my model is diverging. From here, i consider that OF don't like when the order between Ta and Ts is inversed. - if i put Ta = 280, h= 10, the job crashes during the first iteration. - if i put Ta = 280, h= -10, the job run well but the results are false. It seems that the heat flux goes by the bad way. The 280 K ambient air doesn't bring freshness to the solid. - if i put Ta = 380, h = 10, the job run but i don't see effects from the convection. If you need more informations to have ideas, ask me, i really need help. Thanks a lot. Laurent |
|
March 13, 2015, 10:45 |
End of the discussion
|
#16 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Hi guys,
i have found the key of my problem. As i said in a previous post, i am using OF 2.1.0, and i have seen on : https://github.com/OpenFOAM/OpenFOAM...hScalarField.C that there is some bugs to correct in files related to externalWallHeatFluxTemperature. Now i have a tool which works well. Thank you Thiago, Alex and Tushar for your support and for your time. Have a good day, see you soon in this forum. Laurent |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
forced convection of air inside a heated rectangular channel | Ank | OpenFOAM | 31 | September 25, 2013 07:41 |
about the convection heat transfer coefficient for air conditioning room simuation | haier1984 | Main CFD Forum | 0 | August 25, 2012 00:00 |
Probelm with supersonic exhaust to ambient | newj | CFX | 2 | August 9, 2012 19:01 |
Natural convection. Air properties | Cristina | FLUENT | 3 | March 24, 2007 09:23 |
CFX-5.5 simulating air free convection | Dustin Lee | CFX | 0 | April 16, 2003 03:54 |