CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

turbulentHeatFluxTemperature

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By MisterX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2012, 18:02
Default turbulentHeatFluxTemperature
  #1
Member
 
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13
Nikunj.R is on a distinguished road
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.
Attached Files
File Type: gz FullCylinderWater.tar.gz (4.2 KB, 41 views)
Nikunj.R is offline   Reply With Quote

Old   July 18, 2012, 15:32
Default
  #2
Member
 
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13
Nikunj.R is on a distinguished road
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.
Nikunj.R is offline   Reply With Quote

Old   November 20, 2012, 05:29
Default
  #3
New Member
 
Markus Trompa
Join Date: Nov 2012
Location: Regensburg, Germany
Posts: 13
Rep Power: 13
MisterX is on a distinguished road
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
MisterX is offline   Reply With Quote

Old   November 20, 2012, 05:51
Default
  #4
New Member
 
Markus Trompa
Join Date: Nov 2012
Location: Regensburg, Germany
Posts: 13
Rep Power: 13
MisterX is on a distinguished road
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;
elham usefi likes this.
MisterX is offline   Reply With Quote

Old   November 20, 2012, 10:14
Default
  #5
Member
 
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13
Nikunj.R is on a distinguished road
Yea, u dont have to put dimensions for Cp0, unlike other entries in that dictionary.
Nikunj.R is offline   Reply With Quote

Old   September 12, 2014, 03:39
Default
  #6
Member
 
zohreh imani nejad
Join Date: Feb 2014
Location: gonabad
Posts: 55
Rep Power: 12
imani is on a distinguished road
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?
imani is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:37.