|
[Sponsors] |
April 20, 2011, 11:33 |
|
#21 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
hmm ... don't know.
but i think that's a problem, couse you can not decline some thermophysicalProperties for a solid. Just for fluids you can declare it. good question. I 'm trying on a case today afternoon (chtMulti) with one fluid and solid region. Hope i can calculate the wallFlux with the post tool. i ll give an replay about it. see you later. Tobi |
|
April 21, 2011, 06:36 |
|
#22 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Question:
how did you successful start wallHeatFlux on the fluid region? you put every file into another folder or? And generate a "virtual" case for you post tool? -> i did a simulation yesterday with one fluid and solid region. Solved it an put every fluid file in another folder. After using wallHeatFluxLaminar i got those message: Code:
--> FOAM FATAL IO ERROR: Unknown patchField type compressible::turbulentTemperatureCoupledBaffleMixed for patch type directMappedWallValid patchField types are : 42 ( advective buoyantPressure calculated cyclic directMapped directionMixed then i changed the patchField type to directMapped with the tool changeDictionary. After that i got the message Code:
--> FOAM FATAL ERROR: compound has already been transfered from token on line 20 the empty compound of type List<scalar> From function token::transferCompoundToken() in file lnInclude/token.C at line 95. FOAM aborting How did you get your wallHeatFlux in you fluid region? Did you use another wallHeatFlux - post Tool? regards Tobi |
|
April 21, 2011, 10:39 |
|
#23 |
Member
Nicolas
Join Date: Apr 2011
Location: Biarritz / France
Posts: 33
Rep Power: 15 |
I've tried the wallHeatFluxRho utility from a previous post in this thread, and I've copied all files from fluid zone to a new directory (0, 5000, constant, system) in which I use the utility.
Hope this helps you. |
|
April 27, 2011, 08:14 |
|
#27 |
Member
Nicolas
Join Date: Apr 2011
Location: Biarritz / France
Posts: 33
Rep Power: 15 |
Here is what I get in the console:
Code:
caelinux@caelinux-desktop:~/OpenFOAM/caelinux-1.7.0/Freyssinet3/air$ wallHeatFluxRho /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.0 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.7.0-113391ee57bd Exec : wallHeatFluxRho Date : Apr 27 2011 Time : 13:11:10 Host : caelinux-desktop PID : 25175 Case : /home/caelinux/OpenFOAM/caelinux-1.7.0/Freyssinet3/air nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Time = 0 Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> Reading/calculating face flux field phi Selecting RAS turbulence model laminar Wall heat fluxes [W] fluid_air_to_solid_cable 0 fluid_air_to_solid_beton 0 Time = 5000 Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> Reading/calculating face flux field phi Selecting RAS turbulence model laminar Wall heat fluxes [W] fluid_air_to_solid_cable -981.77797 fluid_air_to_solid_beton -1298.0191 End Nicolas |
|
August 8, 2011, 04:53 |
|
#28 |
New Member
Ishan
Join Date: Jan 2011
Posts: 13
Rep Power: 15 |
Hi Ulrich Heck,
I did the same thing as told by you. But I am getting following error - .......................... Create mesh for time = 0 Time = 0 Selecting thermodynamics package ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>> --> FOAM FATAL ERROR: Not implemented From function basicThermo::h() in file basicThermo/basicThermo.C at line 259. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Foam::basicThermo::h() in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libbasicThermophysicalModels.so" #3 in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/wallHeatFluxRho" #4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #5 in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/wallHeatFluxRho" Aborted .............. Please Help Regards, Ishan |
|
August 9, 2011, 16:12 |
Wallheatfluxrho
|
#29 |
New Member
Ishan
Join Date: Jan 2011
Posts: 13
Rep Power: 15 |
Hi,
I tried solution given above for calculating heat flux in rhoCentralFoam. But it gives following error- .... Create time Create mesh for time = 0 Time = 0 Selecting thermodynamics package ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>> --> FOAM FATAL ERROR: Not implemented From function basicThermo::h() in file basicThermo/basicThermo.C at line 259. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Foam::basicThermo::h() in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libbasicThermophysicalModels.so" #3 in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/wallHeatFluxRho" #4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #5 in "/home/ishan/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linuxGccDPOpt/wallHeatFluxRho" Aborted ................... Please Help!! Regards, Ishan |
|
October 3, 2011, 11:43 |
convective heat transfer?
|
#30 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Hello everyone,
I would like to have the convective heat transfer on a wall patch. Following from the definition: alpha = wallHeatFlux / (T_wall-T_ref). This can be obtained with the use of ParaFoam, see here. What about if I modify wallHeatFluxLaminar in order to calculate alpha at the end of my simulation? This is what I would do: Code:
forAll(wallAlphaCoeff.boundaryField(), patchi) { wallAlphaCoeff.boundaryField()[patchi] = wallHeatFlux.boundaryField()[patchi] /(T.boundaryField()[patchi] - Tref); } Code:
dimensionedScalar Tref ( transportProperties.lookup("Tref") );
Code:
forAll(wallAlphaCoeff.boundaryField(), patchi) if T.boundaryField()[patchi] == Tref wallAlphaCoeff.boundaryField()[patchi] = 0.0; else { wallAlphaCoeff.boundaryField()[patchi] = wallHeatFlux.boundaryField()[patchi] /(T.boundaryField()[patchi] - Tref); } mad |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample Utility not working in OpenFoam 1.6 | titio | OpenFOAM Post-Processing | 6 | November 15, 2014 19:04 |
problem with sampling Utility in openFOAM 1.6 | carmir | OpenFOAM Post-Processing | 10 | February 26, 2014 03:00 |
How to compile a new utility | rudy | OpenFOAM | 4 | October 1, 2011 23:48 |
wallHeatFlux BC not constant after restart | eelcovv | OpenFOAM Running, Solving & CFD | 26 | May 25, 2011 00:11 |
Sample Utility not working in OpenFoam 1.6 | titio | OpenFOAM Post-Processing | 0 | February 5, 2010 13:12 |