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

Radiation Model

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 18, 2006, 07:25
Default Hi, I am trying to program a
  #1
julienh
Guest
 
Posts: n/a
Hi,
I am trying to program a radiation model using the Gibb's method (spherical harmonics)

I used the "reactingFoam" solver, where I had a file IEqn.H with the following radiation equation :

{

fvScalarMatrix IEqn

(

fvm::laplacian(I)
- (I/(4*boltzmannCoeff)
+ pow(T,4))*(12*pow(knu,2 *boltzmannCoeff)

==
m

);

IEqn.relax();

IEqn.solve();

thermo->correct();

}

where I is the radiativ intensity I wanted to get from this equation

After the compilation, when I execute reactingFoam, I get this message :


--> FOAM FATAL ERROR : gradientInternalCoeffs cannot be called for a calculatedFvPatchField.

You are probably trying to solve for a field with a calculated or default boundary conditions.

From function calculatedFvPatchField<type>::gradientInternalCoef fs() const in file fields/fvPatchFields/basicFvPatchFields/calculated/calculatedFvPatchField.H at line 174.


In order to solve the I equation, I need of course some boundary conditions. I though the file I in the "0" directory of the case with the initial and boundary conditions was enough but it is apparently not the case.

I try to see in the code an equation file like UEqn.H or hEqn.H but I did not see how the boundary equations are coded

Could somebody give me some advices please ?

Thank you in advance

Julienh
  Reply With Quote

 


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation P1 Model with Spectral Model: Multigray A. Thellmann CFX 0 October 25, 2008 12:44
Radiation Model - Spectral Model Ray CFX 3 April 10, 2006 09:33
Help: Radiation model MANOJKUMAR FLUENT 4 November 24, 2005 02:45
How to use radiation model with porous model? jacky CFX 0 December 17, 2002 22:51
DO model for RADIATION Davide FLUENT 0 October 21, 2001 03:13


All times are GMT -4. The time now is 06:38.