CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Using incident radiation (G) in the solver

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

LinkBack Thread Tools Display Modes
Old   June 1, 2011, 08:56
Lightbulb Using incident radiation (G) in the solver
New Member
Mostafa Moghaddami
Join Date: Oct 2009
Posts: 13
Rep Power: 7
Mostafa is on a distinguished road
Dear all,

I have some problems while generating a new solver base on the icoFOAM in OpenFOAM 1.7.0.
At first, I have added the radiation model and two species transport equations (YH2O2 and YOHr) to the icoFOAM. Up to this step the solver worked correctly and provided reasonable results. Then I wanted to use incident radiation (G or G_) as a part of the source term of the species transport equations. But I got this error:

In file included from WUVrad.C:118:
chemicalComponents.H: In function ‘int main(int, char**)’:
chemicalComponents.H:7: error: ‘G’ was not declared in this scope
It seems that the G (incident radiation) is a private scalerfield in the radiation models.
I wonder if there is anyway to use the incident radiation (G) as a parameter in my solver?

The files of the solver are attached.

Any help would be appreciated.

Attached Files
File Type: zip (8.2 KB, 12 views)
Mostafa is offline   Reply With Quote


incident radiation, modeling

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM Running, Solving & CFD 17 December 3, 2014 20:41
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM 0 April 4, 2010 18:06
Question about radiation Flying CFX 0 January 12, 2005 21:32
radiation source-modeling people in room? CFX5.7User CFX 0 November 10, 2004 15:32

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