Skip to content

Commit

Permalink
Added the iff case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoumey committed Feb 23, 2021
1 parent c90201f commit 52a7255
Show file tree
Hide file tree
Showing 35 changed files with 81,679 additions and 0 deletions.
20,057 changes: 20,057 additions & 0 deletions testCases/01_infinitelyFastFlame/0/C

Large diffs are not rendered by default.

20,057 changes: 20,057 additions & 0 deletions testCases/01_infinitelyFastFlame/0/Cx

Large diffs are not rendered by default.

20,057 changes: 20,057 additions & 0 deletions testCases/01_infinitelyFastFlame/0/Cy

Large diffs are not rendered by default.

20,057 changes: 20,057 additions & 0 deletions testCases/01_infinitelyFastFlame/0/Cz

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions testCases/01_infinitelyFastFlame/0/T
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
".*"
{
type calculated;
value uniform 300;
}
}

// ************************************************************************* //
30 changes: 30 additions & 0 deletions testCases/01_infinitelyFastFlame/0/U
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
".*"
{
type calculated;
value uniform (0 0 0);
}
}

// ************************************************************************* //
30 changes: 30 additions & 0 deletions testCases/01_infinitelyFastFlame/0/p
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 1e5;

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

// ************************************************************************* //
30 changes: 30 additions & 0 deletions testCases/01_infinitelyFastFlame/0/p_rgh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 1e5;

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

// ************************************************************************* //
29 changes: 29 additions & 0 deletions testCases/01_infinitelyFastFlame/0/uniform/time
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "0/uniform";
object time;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

value 0;

name "0";

index 0;

deltaT 1.183432e-05;

deltaT0 1.183432e-05;


// ************************************************************************* //
16 changes: 16 additions & 0 deletions testCases/01_infinitelyFastFlame/Allclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory

# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions

cleanCase
rm -rf VTK
rm -rf constant/cellToRegion constant/polyMesh/sets
rm -rf 0/flame
rm -rf 0/solid
rm -f 0/cellToRegion
rm -rf constant/flame/polyMesh
rm -rf constant/solid/polyMesh

#------------------------------------------------------------------------------
50 changes: 50 additions & 0 deletions testCases/01_infinitelyFastFlame/Allrun
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory


# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

runApplication blockMesh
runApplication topoSet
runApplication splitMeshRegions -cellZonesOnly -overwrite

# remove fluid fields from solid regions (important for post-processing)
for i in solid
do
rm -f 0*/$i/{nut,alphat,epsilon,k,U,p_rgh}
done


for i in flame solid
do
runApplication -s $i changeDictionary -region $i
done


#-- Run on single processor
#runApplication `getApplication`

# Decompose
runApplication decomposePar -allRegions

# Run
runParallel `getApplication`

# Reconstruct
runApplication reconstructPar -allRegions


echo
echo "creating files for paraview post-processing"
echo
paraFoam -touchAll

#echo
#echo "Converting output to VTK..."
##echo
#for i in flame solid
#do
# foamToVTK -region $i
#done
#------------------------------------------------------------------------------
20 changes: 20 additions & 0 deletions testCases/01_infinitelyFastFlame/constant/flame/g
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedVectorField;
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -2 0 0 0 0];
value (0.0 0.0 0.0); // (0 -9.81 0);

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

radiation off;

radiationModel none;


// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "flame/thermophysicalProperties";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
equationOfState rhoConst; //perfectGas;
specie specie;
energy sensibleEnthalpy;
}

mixture
{
specie
{
molWeight 28.9;
}
thermodynamics
{
Cp 1162.2;
Hf 0;
}
equationOfState
{
rho 0.947;
}
transport
{
mu 1.8e-05;
Pr 0.7;
}
}

// ************************************************************************* //
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

simulationType laminar;

// ************************************************************************* //
24 changes: 24 additions & 0 deletions testCases/01_infinitelyFastFlame/constant/regionProperties
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object regionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

regions
(
fluid (flame)
solid (solid)
);

// ************************************************************************* //
Loading

0 comments on commit 52a7255

Please sign in to comment.