forked from deepflameCFD/deepflame-dev
-
Notifications
You must be signed in to change notification settings - Fork 63
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 #506 from pkuLmq/master
integrate lagrangian source term in dfLowMachFoam and modify test
- Loading branch information
Showing
81 changed files
with
2,111 additions
and
3 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
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
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 @@ | ||
Info<< "\nConstructing reacting cloud" << endl; | ||
basicSprayCloud parcels | ||
( | ||
"sprayCloud", | ||
rho, | ||
U, | ||
g, | ||
slgThermo | ||
); |
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
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
26 changes: 26 additions & 0 deletions
26
examples/dfLowMachFoam/fgm/twoD_SandiaD_DeePFGM/constant/sprayCloudProperties
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,26 @@ | ||
/*--------------------------------*- 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 binary; | ||
class dictionary; | ||
location "constant"; | ||
object SprayCloudProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
solution | ||
{ | ||
active false; | ||
coupled false; | ||
transient no; | ||
cellValueSourceCorrection off; | ||
} | ||
|
||
// ************************************************************************* // |
22 changes: 22 additions & 0 deletions
22
examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/constant/g
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 @@ | ||
/*--------------------------------*- 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 binary; | ||
class uniformDimensionedVectorField; | ||
location "constant"; | ||
object g; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -2 0 0 0 0]; | ||
value (0 -9.81 0); | ||
|
||
|
||
// ************************************************************************* // |
26 changes: 26 additions & 0 deletions
26
examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/constant/sprayCloudProperties
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,26 @@ | ||
/*--------------------------------*- 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 binary; | ||
class dictionary; | ||
location "constant"; | ||
object SprayCloudProperties; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
solution | ||
{ | ||
active false; | ||
coupled false; | ||
transient no; | ||
cellValueSourceCorrection off; | ||
} | ||
|
||
// ************************************************************************* // |
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 not shown.
Binary file not shown.
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 |
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,11 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
# Source tutorial run functions | ||
. $WM_PROJECT_DIR/bin/tools/RunFunctions | ||
|
||
application=dfSprayFoam | ||
|
||
runApplication blockMesh | ||
runApplication decomposePar | ||
runApplication mpirun -np 4 --allow-run-as-root $application -parallel |
1 change: 1 addition & 0 deletions
1
examples/dfLowMachFoam/notorch/threeD_aachenBomb/C7_oneStep.yaml
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 @@ | ||
../../../mechanisms/C7H16/C7_oneStep.yaml |
51 changes: 51 additions & 0 deletions
51
examples/dfLowMachFoam/notorch/threeD_aachenBomb/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,51 @@ | ||
/*--------------------------------*- 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 "C7_oneStep.yaml"; | ||
|
||
transportModel "Mix"; | ||
|
||
odeCoeffs | ||
{ | ||
"relTol" 1e-6; | ||
"absTol" 1e-10; | ||
} | ||
|
||
inertSpecie "N2"; | ||
|
||
splittingStrategy off; | ||
|
||
TorchSettings | ||
{ | ||
torch off; | ||
GPU off; | ||
log off; | ||
torchModel ""; | ||
coresPerNode 4; | ||
} | ||
|
||
loadbalancing | ||
{ | ||
active true; | ||
log false; | ||
algorithm allAverage;//headTail; | ||
} | ||
|
||
|
||
// ************************************************************************* // |
20 changes: 20 additions & 0 deletions
20
examples/dfLowMachFoam/notorch/threeD_aachenBomb/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; | ||
|
||
// ************************************************************************* // |
22 changes: 22 additions & 0 deletions
22
examples/dfLowMachFoam/notorch/threeD_aachenBomb/constant/g
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 @@ | ||
/*--------------------------------*- 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 binary; | ||
class uniformDimensionedVectorField; | ||
location "constant"; | ||
object g; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -2 0 0 0 0]; | ||
value (0 -9.81 0); | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.