-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
2,412 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
# Source tutorial clean functions | ||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions | ||
|
||
# Remove surface, features and solution | ||
#rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 | ||
#rm -f constant/triSurface/*.eMesh > /dev/null 2>&1 | ||
#rm -rf constant/polyMesh > /dev/null 2>&1 | ||
#rm -rf processor* > /dev/null 2>&1 | ||
rm -rf 0 | ||
cleanCase | ||
rm system/blockMeshDict | ||
#------------------------------------------------------------------------------ |
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,42 @@ | ||
/*--------------------------------*- 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 CO2.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 $f_CO2; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
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,41 @@ | ||
/*--------------------------------*- 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 CO2.liquid; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 0.0; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
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,42 @@ | ||
/*--------------------------------*- 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.0; | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform $f_N2; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
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,41 @@ | ||
/*--------------------------------*- 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]; | ||
|
||
internalField uniform 273.15; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
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,41 @@ | ||
/*--------------------------------*- 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]; | ||
|
||
internalField uniform 287.15; | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
type fixedValue; | ||
value $internalField; | ||
} | ||
|
||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
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,49 @@ | ||
/*--------------------------------*- 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; | ||
//massFlowRate $mflowRateGas; | ||
//rho thermo:rho.gas; | ||
//value $internalField; | ||
type fixedValue; | ||
value uniform (0 $uGasPhase 0); | ||
} | ||
|
||
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,49 @@ | ||
/*--------------------------------*- 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]; | ||
|
||
#include "${FOAM_CASE}/constant/globalVars" | ||
|
||
internalField uniform (0 $uLiqPhase 0); | ||
|
||
boundaryField | ||
{ | ||
#includeEtc "caseDicts/setConstraintTypes" | ||
|
||
inlet | ||
{ | ||
//type flowRateInletVelocity; | ||
//massFlowRate $mflowRateLiq; | ||
//rho thermo:rho.liquid; | ||
//value $internalField; | ||
type fixedValue; | ||
value uniform (0 $uLiqPhase 0); | ||
} | ||
outlet | ||
{ | ||
type pressureInletOutletVelocity; | ||
phi phi.liquid; | ||
value $internalField; | ||
} | ||
walls | ||
{ | ||
type noSlip; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
42 changes: 42 additions & 0 deletions
42
OFsolvers/tutorial_cases/coflowing_column/IC/0/Ydefault.gas
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,42 @@ | ||
/*--------------------------------*- 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 zeroGradient; | ||
} | ||
|
||
walls | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.