|
[Sponsors] |
May 5, 2014, 05:17 |
externalWallHeatFluxTemperature
|
#1 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Hello. The function externalWallHeatFluxTemperature works differently at OF2.2 and at OF2.3 but the source code looks equal. Where one can find differences?
|
|
May 5, 2014, 05:20 |
|
#2 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
What exactly do you mean "works differently"? Are the enumerators different in terms of words used to describe the object? Did you get different results using the same dictionary file? |
||
May 5, 2014, 05:26 |
|
#3 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Yes, I get different results at Of2.2 and OF2.3 with the same case. The function wallHeatFlux shows greater values at OF2.3 and the temperature inside the domain at OF2.2 higher that at OF2.3.
|
|
May 5, 2014, 12:46 |
|
#4 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
Not sure here, but i think there were a bug report about this bc for OF2.2 regards, olivier |
|
May 28, 2014, 06:57 |
|
#5 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
The bug is in OF2.3: http://www.openfoam.org/mantisbt/view.php?id=1258
Thanks to all |
|
May 31, 2014, 16:03 |
|
#6 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
how does one get a fixed version of this in openfoam?
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
June 2, 2014, 04:17 |
|
#7 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
Just use the 2.3.x version from git repo.
Then a git pull and Allwmake will give you a up to date version. regards, olivier |
|
June 2, 2014, 16:48 |
|
#8 |
New Member
Jean El-Hajal
Join Date: Jun 2010
Location: Ulm
Posts: 16
Rep Power: 16 |
Dear all,
are you using the externalWallHeatFluxTemperature function with the heat flux (q) option or with the heat transfer coefficient (h) and external temperature (Ta) option ? With the heat flux (q) it seems to work. But with the heat transfer coefficient (h) and external temperature (Ta) it works with OpenFoam 2.2.2 but not with OpenFoam 2.3.0. With OF 2.3.0 it just behave like an adiabatic wall ?! Did someone test this option with OF 2.3.0 ? Best regards, Jean |
|
June 3, 2014, 01:41 |
|
#9 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
The bug is in OF2.3: http://www.openfoam.org/mantisbt/view.php?id=1258
|
|
November 20, 2014, 03:20 |
|
#10 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I have installed openFoam by following instructions on the openFoam website. I do not wish to go through the installation process again. Is there any workaround to use the corrected boundary condition??
|
|
March 27, 2015, 13:19 |
|
#11 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
Hi Foamers,
I m also using OF 2.3.0 and I have the same problem like vasava. could someone please help me how to clear the bug with out re installing again. I m afraid if i have to reinstall openFoam again. because i m using centOS 6.5 and i struggled a lot during the previous installation. and i m not a very good user of linux os. regards, Naresh |
|
March 30, 2015, 07:04 |
ExternalwallHeatfluxtemperature BC in openFoam 2.3.0
|
#12 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
Hi Foamers,
sorry for restarting the thread again. I have a similar problem with externalwallheatFluxTemperature. Could somebody help me. I have a question in this link. http://www.cfd-online.com/Forums/ope...tml#post538568 I m using OF 2.3.0. and I read in some threads that there is a bug in 2.3.0. could someone tell me if which of the following a better idea to fix the bug. 1. make new boundary condition by copying the bounday condition from 2.3.1 into 2.3.0? 2. reinstall from git repository? if this is better then how? 3. can i use the boundary condition for incompressible solver?(buoyantboussinessqsimplefoam) I m feel lost now. regards, Naresh Yathuru [Moderator note: post moved from the thread http://www.cfd-online.com/Forums/ope...bient-air.html ] Last edited by wyldckat; April 5, 2015 at 08:48. Reason: see "Moderator note:" |
|
April 5, 2015, 09:15 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Naresh,
Quote:
Best regards, Bruno
__________________
|
||
April 7, 2015, 09:05 |
|
#14 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
hello Bruno,
thank you for the reply once again. I was interested in using the externalwallHeatFluxTemperature for incompressible flows. but as far as i have read it works only for compressible solver and in addition to that there is a bug. so i was trying something with grooveyBC but without sucess. Now i should get back to square 1, and try to implement the b.c for incompressible solvers. I know its really hard for someone like me who doesnt have a very good knowledge of c++.However i will try it sooner or later. i have started making changes to some basic solvers. i m comparing compressible ::turbulent'WallHeatTemperature B.C with incompressible:: turbulentWallHeatfluxTemperature B.C. May be this is not an appropriate thread to ask this question. sorry but,It would be very helpful if someone had already implemented could post the B.c or any guidence on how to implenent it. thanks once again Bruno and other Foamers. Best Regards, Naresh |
|
May 22, 2015, 12:55 |
|
#15 | |
New Member
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 12 |
Thanks Bruno,
Your solution works when we make changes to the FOAM_SRC, however since its not a good idea to make changes to the actual source. I copy the directory $FOAM_SRC/turbulenceModels/compressible/turbulenceModel make changes to externalWallHeatFluxTemperatureFvPatchScalarField. C and update LIB = $(FOAM_USER_LIBBIN)/libmy_compressibleTurbulenceModel in Make/files. However the build with "wmake libso" exits with the following error Code:
derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C:72: error: class ‘Foam::externalWallHeatFluxTemperatureFvPatchScalarField’ does not have any field named ‘QrName_’ Quote:
__________________
A good solution is one which does justice to the inner nature of the problem- Cornelius Lanczos in a letter to Albert Einstein on March 9, 1947 |
||
May 24, 2015, 10:27 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings flowAlways,
Sorry, but I'll have to be quick: you're doing the right thing in not modifying the original source code directly, but you should not copy the source code for the whole library, otherwise you risk in-process memory corruption, due to having objects with the same name. You should instead to it as explained here: http://openfoamwiki.net/index.php/Ho...dary_condition which is to make a copy of only the relevant files you need to fix. In addition, I guess that the fix I proposed in the previous post only repairs the ".C" file. Therefore, you should also update the ".H" file. Best regards, Bruno
__________________
|
|
July 28, 2015, 10:57 |
It works
|
#17 |
Member
Matthias Hettel
Join Date: Apr 2011
Location: Karlsruhe, Germany
Posts: 31
Rep Power: 15 |
Hi Foamers,
if you also update externalWallHeatFluxTemperatureFvPatchScalarField. H it works. Greetings matthi |
|
April 3, 2017, 07:11 |
|
#18 |
New Member
Akshay
Join Date: Nov 2016
Location: Chennai,India
Posts: 7
Rep Power: 10 |
Hi Foamers,
I want to use externalWallHeatFluxTemperature boundary condition for my own customized laplacian solver. Can anyone please explain in detail, how to apply that boundary condition? I know that it has been used in few tutorial problem but I could not get exactly how to use it. I am using Openfoam-v1612+ and my geometry is a cylinder. I want this boundary condition for walls. I will be very happy if someone helps me. Thanking you in advance, Akshay |
|
December 26, 2018, 04:05 |
|
#19 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 |
I am also confused about the parameters of externalWallHeatFluxTemperature. Can anyone explain its meaning? Thank you.
|
|
September 24, 2019, 03:31 |
|
#20 |
Member
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7 |
Hi all,
In my case, i have to use a boundary type that needs the input as heat Flux, which is recalculated to get the output as temperature. my solver is chtMultiRegionSimpleFoam. 0/T file : Code:
wall-mp-1 { type externalWallHeatFluxTemperature; heatSource flux; q uniform 6000 ; alphaEff alphaEff; value uniform 323.15; ? //why i need to give temp. value ? because i already gave 'q' value know? kappa solidThermo; kappaName none; } Code:
Solving for fluid region fluid DILUPBiCG: Solving for Ux, Initial residual = 0.00242038, Final residual = 2.85334e-005, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 0.00466735, Final residual = 7.31426e-005, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 0.00371143, Final residual = 0.00020355, No Iterations 1 DILUPBiCG: Solving for h, Initial residual = 0.00293122, Final residual = 0.000270902, No Iterations 1 Min/max T:323.3 323.3 GAMG: Solving for p_rgh, Initial residual = 0.0017874, Final residual = 1.12521e-005, No Iterations 3 time step continuity errors : sum local = 0.0587456, global = 0.00203603, cumulative = 10.1817 Min/max rho:*** DILUPBiCG: Solving for epsilon, Initial residual = 0.00358344, Final residual = 4.05951e-005, No Iterations 2 DILUPBiCG: Solving for k, Initial residual = 0.00331097, Final residual = 3.24722e-005, No Iterations 2 Solving for solid region solid DICPCG: Solving for h, Initial residual = 0.00218476, Final residual = 9.17909e-006, No Iterations 4 Min/max T:min(T) [0 0 0 1 0 0 0] 323.129 max(T) [0 0 0 1 0 0 0] 349.782 ExecutionTime = 788.942 s ClockTime = 789 s Is this boundary type is correct for assigning of heat flux as an input ? if it is not, Which one is suitable for my case? Last edited by Vishsel; September 24, 2019 at 07:58. |
|
|
|