|
[Sponsors] |
chtMultiregionFoam, Temperature is not changing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 7, 2018, 06:15 |
chtMultiregionFoam, Temperature is not changing
|
#1 |
Senior Member
|
Hello Everyone,
I am studying heat transfer between solid and fluid and for this purpose i have taken chtMultiregionHeater as an example.To get familiarize with the solver, i have created a simple example with two cylinders (axial cut is shown in attachment). The inner cylinder has been set as solid and fluid (water) is entering from bottom of external cylinder and leaving from top. I didn't use any heat source (removed toposetDict). I have just set the internal field for solid cylinder as 400K. I was expecting decrease in solid temp. due to heat transfer. But after 100 sec there was no change in temp. My geometry is quite big (forgot to scale down the cylinder) 15m bigger cylinder and the velocity is 1m/s. So fluid will take 15 sec to pass through the domain. I didn't change any default parameter of chtMultiRegionHeater except P and P-rgh (both changed from 0 to 100000). Moreover, I ran two simulations, one with g = 9.81 and one almost withoutgravitation (g = 0.1). In both cases, it is looking like fluid in not passing through the domain. I have attached my velocity contour at 0 and 100 sec. I am using OF5x Ubuntu 17.10 May be someone could give an expert opinion or point out my mistake Thank you |
|
June 7, 2018, 06:20 |
|
#2 |
Senior Member
|
My changeDictionaryDict for both solid and fluid re attached here.
|
|
June 8, 2018, 10:55 |
|
#3 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
You can not set p and p_rgh at the same time. p should be calculated everywhere. Another point is that you setting the pressure at the wall. Why? This should be zeroGradient.
Why is the inlet inletOutletCondition for k? Why is the wall inletoutlet for U? |
|
June 11, 2018, 06:55 |
|
#4 |
Senior Member
|
Hello Bloerb,
Thank you so much for your reply. I couldn't work on weekend on my case. Actually I had not changed boundary and took default values from multiregionHeater tutorial. As you mentioned, my BC are messed up. I will correct my BC and will run simulation once again. I have one confusion regarding P and P_rgh. As per my understanding P_rgh is the external pressure (normally atmospheric pressure) but P is our operating pressure. Shouldn't I specify P at one point either inlet or outlet to determine operating pressure. At other points It will be calculated accordingly. Please correct me, If I am wrong or having wrong understanding of P and P_rgh. Regards |
|
June 13, 2018, 03:53 |
|
#5 |
New Member
Richard
Join Date: Apr 2018
Posts: 24
Rep Power: 8 |
Hello waqas,
Have you solved your problem? When I want to simulate water flowing through tube using chtMultiRegionSimpleFoam, I also get a unreliable results. Besides, I don't know whether the solver can solve incompressible fluid. Could you please give me some suggestions? Thanks a lot in advance! |
|
June 13, 2018, 05:13 |
|
#6 |
Senior Member
|
Hello Qin,
Yes, it also solves for incompressible fluid. It is very difficult to say anything about your results without any information regarding your case. As far as my simulation is concerned, I didn't try yet. Most probably I will run my simulation today then I will update here. But in my case, the problem is with my BC setting (as Bloerb mentioned above). Regards |
|
June 13, 2018, 05:56 |
|
#7 |
New Member
Richard
Join Date: Apr 2018
Posts: 24
Rep Power: 8 |
Hello Waqas,
The configuration files of my case are attached as follows. https://github.com/QinHao810/OpenFOA...tube_tworegion They are almost the same as the tutorials, just the fluid thermodynamic properties are changed. So I have no idea how to modify them further. Could you please have a sight on them and give some comments? Thank you very much! Qin |
|
June 13, 2018, 06:46 |
|
#8 |
Senior Member
|
Hello Qin,
First of all, I am not an expert as well. So, I could give you some suggestions based on my understanding and experience . 1) You are using gravitational acceleration (g = 0), I was reading somewhere on the forum, if you set g = 0, it may cause problem. If you really want to neglect g, you may set a very small value (I don't know, may be 0.01 or 0.1) 2) In your changedictionaryDict, liquid_outlet for both P and P-rgh are zero. If you have P and P_rgh at outlet zero, then what would be the pressure at inlet, negative? That doesn't make sense to me. As I mentioned above in my #4, according to my understanding P is operating pressure and P_rgh is external pressure. 3) There are many extra boundary fields in your "0" folder. I guess you should remove those extra fields to keep it simple and straight. Regards |
|
June 13, 2018, 11:10 |
|
#9 |
New Member
Richard
Join Date: Apr 2018
Posts: 24
Rep Power: 8 |
Hello Waqas,
Thank you for your quick reply. I will try it again according to your suggestions. Regards, Qin |
|
June 19, 2018, 06:37 |
|
#10 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi Muhammad,
there are many threads regarding p and p_rgh. p = p_rgh + rgh So, you define only p_rgh with values and the p you define to be calculated. Robin |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
Strange chtMultiRegionFoam behaviour - temperature drops during heating | petr.f. | OpenFOAM Running, Solving & CFD | 3 | January 24, 2017 08:54 |
specific heat capacity changing with temperature | a_cucen | CFX | 14 | October 8, 2015 01:13 |
Temperature field stops changing in transient simulation | Jeffzda | OpenFOAM Running, Solving & CFD | 1 | September 25, 2013 02:19 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |