|
[Sponsors] |
July 16, 2012, 18:02 |
turbulentHeatFluxTemperature
|
#1 |
Member
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13 |
Hello All!
I am trying to implement the trubulent heat flux temperature BC in my model. I think, I have successfully recompiled the BuoyanBoussinesqPimpleFoam solver to be able to use the above BC (as described in this discussion: http://www.cfd-online.com/Forums/ope...oussinesq.html). When running a test case with the recompiled solver, I am getting following error. FOAM FATAL IO ERROR: wrong token type - expected Scalar, found on line 36 the word 'Cp0' file: /home/eri/OpenFOAM/eri-2.1.1/run/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/FullCylinderWater/constant/transportProperties::Cp0 at line 36. From function operator>>(Istream&, Scalar&) in file lnInclude/Scalar.C at line 91. FOAM exiting Attached below are the files i used. Any help will be greatly appreciated. Thanks, Nikunj. |
|
July 18, 2012, 15:32 |
|
#2 |
Member
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13 |
Hello!
I have finally got that BC to work... The solver is working without any error. However, when viewing the result in paraFoam, despite settin the flux/ power to 1MW, the heat flux BC is not being reflected. The simulation doesn't show any temperature profile if the initial temperature of heat flux BC is set equal to the ambient temperature, even with such a high flux/ power value. If anyone has any idea about how to go about it, please guide. Thanks, Nikunj. |
|
November 20, 2012, 05:29 |
|
#3 |
New Member
Markus Trompa
Join Date: Nov 2012
Location: Regensburg, Germany
Posts: 13
Rep Power: 13 |
Hey there,
I have a similiar problem implementing turbulentHeatFluxTemperature BC in buoyantBoussinesqPimpleFoam. I got exactly the same error. --> FOAM FATAL IO ERROR: wrong token type - expected Scalar, found on line 36 the word 'Cp0' file: /home/standard/OpenFOAM/standard-2.1.1/run/work/grid/basic/constant/transportProperties::Cp0 at line 36. From function operator>>(Istream&, Scalar&) in file lnInclude/Scalar.C at line 91. How did you solve this problem? In advance thank you very much. Markus |
|
November 20, 2012, 05:51 |
|
#4 |
New Member
Markus Trompa
Join Date: Nov 2012
Location: Regensburg, Germany
Posts: 13
Rep Power: 13 |
Ok i fixed the problem on my own.
Just had to change the entry in transportProperties from Cp0 Cp0 [0 2 -2 -1 0 0 0] 1005; To Cp0 1005; |
|
November 20, 2012, 10:14 |
|
#5 |
Member
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13 |
Yea, u dont have to put dimensions for Cp0, unlike other entries in that dictionary.
|
|
September 12, 2014, 03:39 |
|
#6 |
Member
zohreh imani nejad
Join Date: Feb 2014
Location: gonabad
Posts: 55
Rep Power: 12 |
hi dear nikunj.r
i have a similar problem like you i dont have temperature distribution in air !!! my temperature in all of room is initial conditon for air!! what should i do? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|