|
[Sponsors] |
May 18, 2006, 07:25 |
Hi,
I am trying to program a
|
#1 |
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 |
|
|
|
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 |