CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   chtMultiRegionSimpleFoam (http://www.cfd-online.com/Forums/openfoam/92745-chtmultiregionsimplefoam.html)

javad814 September 23, 2011 16:38

chtMultiRegionSimpleFoam
 
hello
I'm trying to understand the example OpenFOAM/reza-2.0.0/run/tutorials/heatTransfer/chtMultiReionSimpleFoam/multiRegionHeaterRadiation/ specifically the new Radiation model (view Factor) .
i have some questions in this example.
what are the parameters G , IDefult ,Qr ?
these three parameters are used in some files , below is one of these files .
the file name is changeDictionaryDict.
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object changeDictionaryDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dictionaryReplacement
{
U
{
internalField uniform (0.1 0 0);
boundaryField
{
".*"
{
type fixedValue;
value uniform (0 0 0);
}
minX
{
type fixedValue;
value uniform ( 0.1 0 0 );
}
maxX
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( 0.1 0 0 );
}
}
}

T
{
internalField uniform 300;
boundaryField
{
".*"
{
type zeroGradient;
}

minX
{
type fixedValue;
value uniform 300;
}
maxX
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}

"topAir_to_.*"
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
K basicThermo;
QrNbr none;
Qr Qr;
KName none;
value uniform 300;
}
}
}

epsilon
{
internalField uniform 0.01;
boundaryField
{
".*"
{
type compressible::epsilonWallFunction;
value uniform 0.01;
}

minX
{
type fixedValue;
value uniform 0.01;
}
maxX
{
type inletOutlet;
inletValue uniform 0.01;
value uniform 0.01;
}
}
}

k
{
internalField uniform 0.1;
boundaryField
{
".*"
{
type compressible::kqRWallFunction;
value uniform 0.1;
}

minX
{
type fixedValue;
value uniform 0.1;
}
maxX
{
type inletOutlet;
inletValue uniform 0.1;
value uniform 0.1;
}
}
}

p_rgh
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value uniform 1e5;
}

maxX
{
type fixedValue;
value uniform 1e5;
}
}
}

p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}

maxX
{
type calculated;
value uniform 1e5;
}
}
}

Qr
{
internalField uniform 0;
boundaryField
{
".*"
{
type greyDiffusiveRadiationViewFactor;
emissivityMode lookup;
Qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}

"topAir_to_.*"
{
type greyDiffusiveRadiationViewFactor;
emissivityMode solidThermo;
Qro uniform 0;
value uniform 0;
}
}
}

G
{
internalField uniform 0;
boundaryField
{
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
}

"topAir_to_.*"
{
type MarshakRadiation;
T T;
emissivityMode solidThermo;
value uniform 0;
}
}
}

IDefault
{
internalField uniform 0;
boundaryField
{
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
Qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}

"topAir_to_.*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode solidThermo;
Qro uniform 0;
value uniform 0;
}
}
}
}

// ************************************************** *********************** //

mirko September 26, 2011 13:30

Quote:

Originally Posted by javad814 (Post 325416)
hello
I'm trying to understand the example OpenFOAM/reza-2.0.0/run/tutorials/heatTransfer/chtMultiReionSimpleFoam/multiRegionHeaterRadiation/ specifically the new Radiation model (view Factor) .
i have some questions in this example.
what are the parameters G , IDefult ,Qr ?
these three parameters are used in some files , below is one of these files .
the file name is changeDictionaryDict.

... stuff deleted

*********** //

The doxygen documentation is your friend.

These three variables are in the fvDOM radiation model (Qr is also in the viewFactor among others).

See the files fvDOM.H and radiativeIntensityRay.H


All times are GMT -4. The time now is 07:25.