-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from NREL/airlift
added airlift tutorial case
- Loading branch information
Showing
42 changed files
with
3,638 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object water.liquid; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 1; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.liquid; | ||
inletValue $internalField; | ||
value $internalField; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object N2.gas; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 1; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform 0.77; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.gas; | ||
inletValue uniform 0; | ||
value uniform 1; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object O2.gas; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 0.0; | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform 0.23; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.gas; | ||
inletValue uniform 0; | ||
value uniform 0; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object T.gas; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 1 0 0 0]; | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
internalField uniform $T0; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.gas; | ||
inletValue $internalField; | ||
value $internalField; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object T.liquid; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 1 0 0 0]; | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
internalField uniform $T0; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type zeroGradient; // As the inlet is only gas we can use zerograd for T.liq | ||
// type fixedValue; | ||
// value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.liquid; | ||
inletValue $internalField; | ||
value $internalField; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volVectorField; | ||
object U.gas; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (0 0 0); | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type flowRateInletVelocity; | ||
volumetricFlowRate $V_flowRate; | ||
} | ||
|
||
outlet | ||
{ | ||
type pressureInletOutletVelocity; | ||
phi phi.gas; | ||
value $internalField; | ||
} | ||
|
||
walls | ||
{ | ||
type slip; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2; | ||
format ascii; | ||
class volVectorField; | ||
object U.liquid; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (0 0 0); | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
outlet | ||
{ | ||
type pressureInletOutletVelocity; | ||
phi phi.liquid; | ||
value $internalField; | ||
} | ||
walls | ||
{ | ||
type noSlip; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 9 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
format ascii; | ||
class volScalarField; | ||
object Ydefault.gas; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 0.0; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform 0.0; | ||
} | ||
|
||
outlet | ||
{ | ||
type inletOutlet; | ||
phi phi.gas; | ||
inletValue $internalField; | ||
value $internalField; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.