|
[Sponsors] |
June 30, 2011, 04:45 |
|
#21 | |
Senior Member
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17 |
Quote:
Code:
KName K; Cheers, Aram Last edited by mabinty; June 30, 2011 at 04:46. Reason: typo |
||
June 30, 2011, 18:53 |
|
#22 | ||
Member
Kevin
Join Date: May 2011
Posts: 33
Rep Power: 15 |
Here's the error I get when KName isn't defined:
Quote:
Your suggestion to add "KName K;" made sense and actually did allow my case to calculate as normal, but for some reason I get the following error when I try to view the data in paraView (I also get the same error when running reconstructPar if I calculated in parallel): Quote:
|
|||
July 1, 2011, 00:21 |
|
#23 |
New Member
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 17 |
I can confirm that this error occurs also when attempting to recomposePar a model that makes use of turbulentHeatFluxTemperature boundary condition.
It appears to be a bug in the turbulentHeatFluxTemperature boundary condition in OpenFOAM 2.0 where this BC does not write the "value" entry for this BC. A look at the code seems to confirm this. I am thinking of copying the BC to create a user-defined boundary condition which fixes the problem of writing the 'value' entry. Does anyone else know of a fix or workaround that I may not have considered? |
|
July 7, 2011, 08:18 |
|
#24 |
New Member
Mauro Arruda
Join Date: Oct 2010
Posts: 1
Rep Power: 0 |
hi pitmanm,
have you been able to get around the bug? Get the same problem when converting the time directories for post-processing. I just started looking into it and will let you know if i'm lucky or not Cheers, Mauro |
|
July 7, 2011, 14:24 |
|
#25 |
New Member
Mark Pitman
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 7
Rep Power: 17 |
Hi Mauro,
I have not had a chance as of yet because I've been so busy with work. The change in the code is pretty easy it is just actually just getting the fvPatchScalarField to work as a user-defined BC I have found tricky. Do you need to do it all as template classes? Then just define <scalar> perhaps? Cheers, Mark |
|
September 2, 2011, 08:52 |
|
#26 |
New Member
Maria Jaromin
Join Date: Sep 2011
Posts: 2
Rep Power: 0 |
Hi,
"The problem is that the postprocessing utilities do not know about that b.c. so do not know how to read it (it is derived from a fixedGradient b.c. which does not need a 'value' field). If you add the library that contains the compressible::turbulentHeatFluxTemperature to your 'libs' section in the system/controlDict it should work. libs ("libcompressibleTurbulenceModel.so"); " see: http://www.openfoam.com/mantisbt/view.php?id=285 Maria |
|
September 19, 2012, 13:33 |
|
#27 |
New Member
anonymous
Join Date: Sep 2012
Location: Miami, USA
Posts: 7
Rep Power: 14 |
I am trying to apply a constant BC on micro-tubes surfaces inside a substrate. I have tried these:
1. { type fixedGradient; gradient uniform -10000; } 2. { type groovyBC; gradientExpression "-10000"; fractionExpression "0"; } 3. { type groovyBC; value uniform 300; gradientExpression "gradT"; variables "htot=15000.00;Tinf=293.00;k=130;gradT=htot/(k)*(Tinf-T);"; } The results show different gradient values on the walls, gradTx, gradTy and gradTz are so much more that the input values. I should mention that when I apply this BC for top surface which is horizontal I get perfect results. Here it says ( http://www.foamcfd.org/Nabla/guides/...Guidese11.html) that by "fixedgradient" we define . I need to define only the magnitude of temperature gradient on the tubes. Could you help me please? Thank you aa |
|
September 21, 2012, 03:48 |
|
#28 |
Member
Matthias Hettel
Join Date: Apr 2011
Location: Karlsruhe, Germany
Posts: 31
Rep Power: 15 |
Hello Socrates,
I don`t understand your physical problem and why you need a fixed gradient. May be you could also use a fixed heat flux? Nevertheless, I have some experience in defining boundary conditions for solid regions. Maybe, you find something useful in the solver: OpenFOAM-1.7.\applications\solvers\heatTransfer\chtMultiReg ionSimpleFoam The boundary conditions can be find in the subfolder derivedFvPatchFields\solidWallHeatFluxTemperature Good luck Matthi |
|
May 30, 2013, 23:21 |
|
#29 | |
Member
George Pichurov
Join Date: Jul 2010
Posts: 52
Rep Power: 16 |
Quote:
Last edited by jorkolino; May 31, 2013 at 02:15. Reason: Add details |
||
January 29, 2015, 02:49 |
please suggest how to solve this error
|
#30 |
New Member
Rahul
Join Date: Jan 2015
Posts: 1
Rep Power: 0 |
--> FOAM FATAL IO ERROR:
keyword kappa is undefined in dictionary "/home/rahulps/OpenFOAM/rahulps-2.2.2/run/conjugate1/0/solid/T.boundaryField.solid_to_fluid" file: /home/rahulps/OpenFOAM/rahulps-2.2.2/run/conjugate1/0/solid/T.boundaryField.solid_to_fluid from line 41 to line 45. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 402. FOAM exitin |
|
March 10, 2015, 10:21 |
error: keyword alphaEff is undefined in dictionary
|
#31 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
Hi Foamers,
I m using openFoam 2.3.0 and the solver is buoyantBoussinesqsimpleFoam. I am simulating a room with a cube inside i have to impose heat flux boundary conditions..Therefore i applied turbulentHeatFluxTemperature bc for the patch as follows innercube { type turbulentHeatFluxTemperature; heatSource flux; //power; q uniform 100; value uniform 293.0; } Now i m getting a error as innercube keyword alphaEff is undefined in dictionary "/home/yathuru/praktikum/noniso/heat_transfer_flux/processor7/0/T.boundaryField.innercube" [7] [7] file: /home/yathuru/praktikum/noniso/heat_transfer_flux/processor7/0/T.boundaryField.innercube from line 40 to line 43. [7] [7] From function dictionary::lookupEntry(const word&, bool, bool) const [7] in file db/dictionary/dictionary.C at line 437. [7] FOAM parallel run exiting I have read in the forum that i should change kappaeff to alphaeff in th Tequ.H but it turns out the new version already has the changes implimented. so i m not sure where i m went wrong. could someone please help help me. im desperate for help. |
|
March 10, 2015, 10:23 |
|
#32 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
Hi rahul and george
i have a similar error how did u alble to solve your error coul you please help me. Thankyou regards, Naresh |
|
March 11, 2015, 04:47 |
|
#33 | |||
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 |
Quote:
You have to declare inside your BC which variable would be your alphaEff. Otherwise the BC code cannot continue. In relation with the name of the variable, it does not matter if you have defined it in the solver. So you could put Quote:
Quote:
|
||||
March 11, 2015, 06:27 |
|
#34 |
Member
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11 |
Hi augstin villa and other Foamers,
Thanks for your reply. It took me a some time to find it out and itseems nobody left any trace of the changes in new version but i m glad to share this. In openFoam version 2.3.0 the thermal diffusivity kappaeff in turbulence heatflux temperature is already replacded to alphaeff. And aditionally u have to include Cp0 Cp0 1005 in the ttransport properties. Note (no dimention for Cp0) Fore more details check turbulenceheatfluxtemperature.H hope this would help people like me who arre new to openFoam Regards, Naresh |
|
November 26, 2016, 19:31 |
|
#35 |
Senior Member
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10 |
Hi
Do you know how i can use the heat flux as Bc on a wall with a buoyantBoussinesqSimpleFoam, something like INcompressible::turbulentHeatFluxTemperature?? |
|
November 26, 2016, 19:34 |
|
#36 |
Senior Member
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10 |
i found this
https://github.com/OpenFOAM/OpenFOAM...hScalarField.H But when i search in my OF 4.1 i cant find it, and i dont know how to add it. |
|
November 27, 2016, 06:06 |
|
#37 | |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 |
Quote:
last week I have been working in the code to use the compressible::turbulentHeatFluxTemperature in a incompressible solver. I can share with you the code, but it would be tomorrow. Last edited by agustinvo; November 27, 2016 at 10:25. |
||
May 21, 2017, 08:40 |
Query
|
#38 |
Member
jeanpinto24@hotmail.com
Join Date: Feb 2017
Posts: 44
Rep Power: 9 |
I have a doubt. In my case I have to add the heat contributed by the people in my simulation. The question that comes to me when using the BC: turbulentHeatFluxTemperature will I see in my simulation the outflow of heat from the wall?
|
|
August 25, 2017, 10:05 |
|
#39 |
New Member
Ketan Ganatra
Join Date: Aug 2017
Posts: 13
Rep Power: 9 |
it is the mode that you have to define either flux or power
type compressible::turbulentHeatFluxTemperature; heatSource flux; // power [W]; flux [W/m2] q uniform 10; // heat power or flux kappa fluidThermo; // calculate kappa=alphaEff*thermo.Cp Qr none; // name of the radiative flux value uniform 300; // initial temperature value |
|
January 12, 2019, 09:51 |
|
#40 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 |
If I use wallHeatFlux to check the heat flux. Should the value be the same as the setting one in externalWallHeatFluxTemperature BC ? If the two values are different, what is the reason of it? Thank you.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Total heat transf. rate vs Total surface heat flux | Renato Sousa | FLUENT | 1 | April 14, 2020 04:27 |
Sign of Heat Flux at wall | Kyung | FLUENT | 2 | February 26, 2016 17:25 |
Variable name for heat flux | peterle | CFX | 4 | February 13, 2014 03:21 |
Heat Flux Wall Boundary Confusion. | Joee | FLUENT | 1 | August 21, 2010 13:20 |
Heat flux in ansys cfx | juliom | OpenFOAM Running, Solving & CFD | 2 | April 14, 2009 15:30 |