forked from deepflameCFD/deepflame-dev
-
Notifications
You must be signed in to change notification settings - Fork 62
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
1 parent
f19a074
commit 9670bc4
Showing
172 changed files
with
3,859 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+378 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/C2H2.gz
Binary file not shown.
Binary file added
BIN
+378 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/C2H3.gz
Binary file not shown.
Binary file added
BIN
+450 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/C2H4.gz
Binary file not shown.
Binary file added
BIN
+379 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/C2H5.gz
Binary file not shown.
Binary file added
BIN
+380 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/CH2CHO.gz
Binary file not shown.
Binary file added
BIN
+379 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/CH2CO.gz
Binary file not shown.
Binary file added
BIN
+378 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/CH2O.gz
Binary file not shown.
Binary file added
BIN
+379 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/CH2OH.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+378 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/HCCO.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+379 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/S-CH2.gz
Binary file not shown.
Binary file added
BIN
+379 Bytes
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/T-CH2.gz
Binary file not shown.
Binary file not shown.
40 changes: 40 additions & 0 deletions
40
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/U
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,40 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volVectorField; | ||
location "0"; | ||
object U; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (1.62 0 0); | ||
|
||
boundaryField | ||
{ | ||
boundary | ||
{ | ||
type empty; | ||
} | ||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform (1.62 0 0); | ||
} | ||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
40 changes: 40 additions & 0 deletions
40
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/Ydefault
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,40 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object Ydefault; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
boundary | ||
{ | ||
type empty; | ||
} | ||
inlet | ||
{ | ||
type fixedValue; | ||
value uniform 0; | ||
} | ||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
41 changes: 41 additions & 0 deletions
41
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/0/p
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: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object p; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [1 -1 -2 0 0 0 0]; | ||
|
||
internalField uniform 101325; | ||
|
||
boundaryField | ||
{ | ||
boundary | ||
{ | ||
type empty; | ||
} | ||
inlet | ||
{ | ||
type zeroGradient; | ||
} | ||
outlet | ||
{ | ||
type waveTransmissive; | ||
gamma 1.4; | ||
value uniform 101325; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
9 changes: 9 additions & 0 deletions
9
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/Allclean
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,9 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
echo "Cleaning log.*" | ||
rm log.* | ||
echo "Cleaning processor*" | ||
rm -r processor* | ||
echo "Cleaning polyMesh/" | ||
rm -r constant/polyMesh |
22 changes: 22 additions & 0 deletions
22
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/Allrun
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,22 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
if [ -e DNN_model.pt ] | ||
then | ||
echo "DNN_model.pt exists. Make sure correct DNN model has been used!" | ||
else | ||
echo "DNN_model.pt not exist. Downloading ..." | ||
wget https://store.aissquare.com/models/5e1232cd-c23f-489f-9db4-ee09592beeb1/DNN_model.zip | ||
unzip DNN_model.zip | ||
cp ./DNN_model/C2H4/DNN_model.pt . | ||
cp ./DNN_model/C2H4/Wu24sp.yaml . | ||
fi | ||
|
||
# Source tutorial run functions | ||
. $WM_PROJECT_DIR/bin/tools/RunFunctions | ||
|
||
application=dfLowMachFoam | ||
|
||
runApplication blockMesh | ||
runApplication decomposePar | ||
runApplication mpirun -np 4 --allow-run-as-root $application -parallel |
53 changes: 53 additions & 0 deletions
53
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/constant/CanteraTorchProperties
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,53 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class dictionary; | ||
location "constant"; | ||
object CanteraTorchProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
chemistry on; | ||
|
||
CanteraMechanismFile "Wu24sp.yaml"; | ||
|
||
transportModel "Mix"; | ||
|
||
odeCoeffs | ||
{ | ||
"relTol" 1e-6; | ||
"absTol" 1e-10; | ||
} | ||
|
||
inertSpecie "N2"; | ||
|
||
splittingStrategy off; | ||
|
||
TorchSettings | ||
{ | ||
torch on; | ||
GPU on; | ||
log on; | ||
torchModel "DNN_model.pt"; | ||
frozenTemperature 510; | ||
inferenceDeltaTime 1e-7; | ||
coresPerNode 4; | ||
} | ||
|
||
loadbalancing | ||
{ | ||
active true; | ||
log false; | ||
algorithm allAverage;//headTail; | ||
} | ||
|
||
|
||
// ************************************************************************* // |
20 changes: 20 additions & 0 deletions
20
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/constant/combustionProperties
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,20 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class dictionary; | ||
location "constant"; | ||
object combustionProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
combustionModel laminar; | ||
|
||
// ************************************************************************* // |
18 changes: 18 additions & 0 deletions
18
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/constant/thermophysicalProperties
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,18 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class dictionary; | ||
location "constant"; | ||
object thermophysicalProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
// ************************************************************************* // |
21 changes: 21 additions & 0 deletions
21
examples/dfLowMachFoam/paddle/oneD_freelyPropagation/C2H4/constant/turbulenceProperties
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,21 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | Website: https://openfoam.org | ||
\\ / A nd | Version: 7 | ||
\\/ M anipulation | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class dictionary; | ||
location "constant"; | ||
object turbulenceProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
simulationType laminar; | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.