ENH: Adding solar radiation modelling and tutorial changes

This commit is contained in:
sergio
2015-11-02 11:54:27 -08:00
parent 867d0b09c1
commit eedbd182d1
124 changed files with 8733 additions and 1081 deletions

View File

@ -0,0 +1,62 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object G;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 0 -3 0 0 0 0];
internalField uniform 0;
boundaryField
{
maxY
{
type calculated;
value uniform 0;
}
minX
{
type calculated;
value uniform 0;
}
maxX
{
type calculated;
value uniform 0;
}
minY
{
type calculated;
value uniform 0;
}
maxZ
{
type calculated;
value uniform 0;
}
air_to_floor
{
type calculated;
value uniform 0;
}
air_to_solid
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,62 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object IDefault;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 0 -3 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
maxY
{
type greyDiffusiveRadiation;
value uniform 0;
}
minX
{
type greyDiffusiveRadiation;
value uniform 0;
}
maxX
{
type greyDiffusiveRadiation;
value uniform 0;
}
minY
{
type greyDiffusiveRadiation;
value uniform 0;
}
maxZ
{
type greyDiffusiveRadiation;
value uniform 0;
}
air_to_floor
{
type greyDiffusiveRadiation;
value uniform 0;
}
air_to_solid
{
type greyDiffusiveRadiation;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,62 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object Qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 0 -3 0 0 0 0];
internalField uniform 0;
boundaryField
{
maxY
{
type calculated;
value uniform 0;
}
minX
{
type calculated;
value uniform 0;
}
maxX
{
type calculated;
value uniform 0;
}
minY
{
type calculated;
value uniform 0;
}
maxZ
{
type calculated;
value uniform 0;
}
air_to_floor
{
type calculated;
value uniform 0;
}
air_to_solid
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,79 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 300;
boundaryField
{
maxY
{
type inletOutlet;
value uniform 300;
inletValue uniform 300;
}
minX
{
type inletOutlet;
value uniform 300;
inletValue uniform 300;
}
maxX
{
type inletOutlet;
value uniform 300;
inletValue uniform 300;
}
minY
{
type inletOutlet;
value uniform 300;
inletValue uniform 300;
}
maxZ
{
type inletOutlet;
value uniform 300;
inletValue uniform 300;
}
air_to_floor
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
inletValue uniform 300;
Tnbr T;
kappa fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
}
air_to_solid
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
inletValue uniform 300;
Tnbr T;
kappa fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,74 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0/air";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 0.1 0 0 );
boundaryField
{
maxY
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
phi phi;
}
minX
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
phi phi;
}
maxX
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
phi phi;
}
minY
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
phi phi;
}
maxZ
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
phi phi;
}
air_to_floor
{
type fixedValue;
value uniform ( 0 0 0 );
phi phi;
}
air_to_solid
{
type fixedValue;
value uniform ( 0 0 0 );
phi phi;
}
region0_to_floor_floor_zone
{
type fixedValue;
value uniform ( 0 0 0 );
}
}
// ************************************************************************* //

View File

@ -0,0 +1,64 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
maxY
{
type calculated;
value uniform 0;
}
minX
{
type calculated;
value uniform 0;
}
maxX
{
type calculated;
value uniform 0;
}
minY
{
type calculated;
value uniform 0;
}
maxZ
{
type calculated;
value uniform 0;
}
air_to_floor
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
}
air_to_solid
{
type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,69 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 0.01;
boundaryField
{
maxY
{
type inletOutlet;
value uniform 0.01;
inletValue uniform 0.01;
}
minX
{
type inletOutlet;
value uniform 0.01;
inletValue uniform 0.01;
}
maxX
{
type inletOutlet;
value uniform 0.01;
inletValue uniform 0.01;
}
minY
{
type inletOutlet;
value uniform 0.01;
inletValue uniform 0.01;
}
maxZ
{
type inletOutlet;
value uniform 0.01;
inletValue uniform 0.01;
}
air_to_floor
{
type epsilonWallFunction;
value uniform 0.01;
inletValue uniform 0.01;
}
air_to_solid
{
type epsilonWallFunction;
value uniform 0.01;
inletValue uniform 0.01;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,69 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.1;
boundaryField
{
maxY
{
type inletOutlet;
value uniform 0.1;
inletValue uniform 0.1;
}
minX
{
type inletOutlet;
value uniform 0.1;
inletValue uniform 0.1;
}
maxX
{
type inletOutlet;
value uniform 0.1;
inletValue uniform 0.1;
}
minY
{
type inletOutlet;
value uniform 0.1;
inletValue uniform 0.1;
}
maxZ
{
type inletOutlet;
value uniform 0.1;
inletValue uniform 0.1;
}
air_to_floor
{
type kqRWallFunction;
value uniform 0.1;
inletValue uniform 0.1;
}
air_to_solid
{
type kqRWallFunction;
value uniform 0.1;
inletValue uniform 0.1;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,68 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
maxY
{
type calculated;
value uniform 0;
}
minX
{
type calculated;
value uniform 0;
}
maxX
{
type calculated;
value uniform 0;
}
minY
{
type calculated;
value uniform 0;
}
maxZ
{
type calculated;
value uniform 0;
}
air_to_floor
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
}
air_to_solid
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,62 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ];
internalField uniform 100000;
boundaryField
{
maxY
{
type calculated;
value uniform 100000;
}
minX
{
type calculated;
value uniform 100000;
}
maxX
{
type calculated;
value uniform 100000;
}
minY
{
type calculated;
value uniform 100000;
}
maxZ
{
type calculated;
value uniform 100000;
}
air_to_floor
{
type calculated;
value uniform 100000;
}
air_to_solid
{
type calculated;
value uniform 100000;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,104 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/air";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ];
internalField uniform 100000;
boundaryField
{
maxY
{
type totalPressure;
value $internalField;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
minX
{
type totalPressure;
value $internalField;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
maxX
{
type totalPressure;
value $internalField;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
minY
{
type totalPressure;
value $internalField;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
maxZ
{
type totalPressure;
value $internalField;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
air_to_floor
{
type fixedFluxPressure;
value uniform 100000;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
air_to_solid
{
type fixedFluxPressure;
value uniform 100000;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,83 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/floor";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 300;
boundaryField
{
maxY
{
type zeroGradient;
value uniform 300;
}
minX
{
type zeroGradient;
value uniform 300;
}
maxX
{
type zeroGradient;
value uniform 300;
}
minY
{
type zeroGradient;
value uniform 300;
}
minZ
{
type externalWallHeatFluxTemperature;
value uniform 300;
kappa solidThermo;
Ta uniform 313;
h uniform 1000000;
thicknessLayers ( 1 2 );
kappaLayers ( 100 200 );
kappaName none;
}
floor_to_domain3
{
type zeroGradient;
value uniform 300;
}
floor_to_air
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
Tnbr T;
kappa solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
}
floor_to_solid
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
Tnbr T;
kappa solidThermo;
QrNbr none;
Qr none;
kappaName none;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,67 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/floor";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
boundaryField
{
maxY
{
type calculated;
value uniform 0;
}
minX
{
type calculated;
value uniform 0;
}
maxX
{
type calculated;
value uniform 0;
}
minY
{
type calculated;
value uniform 0;
}
minZ
{
type calculated;
value uniform 0;
}
floor_to_domain3
{
type calculated;
value uniform 0;
}
floor_to_air
{
type calculated;
value uniform 0;
}
floor_to_solid
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,52 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev-OpenCFD |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/solid";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 300;
boundaryField
{
solid_to_domain3
{
type fixedValue;
value uniform 300;
}
solid_to_air
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
Tnbr T;
kappa solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
}
solid_to_floor
{
type compressible::turbulentTemperatureRadCoupledMixed;
value uniform 300;
Tnbr T;
kappa solidThermo;
QrNbr none;
Qr none;
kappaName none;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,42 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0/solid";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
boundaryField
{
solid_to_domain3
{
type calculated;
value uniform 0;
}
solid_to_air
{
type calculated;
value uniform 0;
}
solid_to_floor
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //