From 7b32179221e0b8091ebcc5f6a8bec8497c797c11 Mon Sep 17 00:00:00 2001 From: minzhang0929 <78373564+minzhang0929@users.noreply.github.com> Date: Fri, 24 Mar 2023 12:14:22 +0800 Subject: [PATCH 1/2] update EDC case to PaSR --- .../constant/combustionProperties | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/constant/combustionProperties b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/constant/combustionProperties index 13bf4db6..a9bfbd28 100755 --- a/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/constant/combustionProperties +++ b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/constant/combustionProperties @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -combustionModel EDC; +combustionModel PaSR;//EDC; PaSR EDCCoeffs { @@ -24,7 +24,34 @@ EDCCoeffs PaSRCoeffs { - Cmix 0.03; + mixingScale + { + type globalScale;//globalScale,kolmogorovScale,geometriMeanScale,dynamicScale + + globalScaleCoeffs + { + Cmix 0.01; + } + + dynamicScaleCoeffs + { + ChiType algebraic;//algebraic; transport + } + + } + + chemistryScale + { + type globalConvertion;//formationRate,globalConvertion + + globalConvertionCoeffs + { + fuel CH4; + oxidizer O2; + } + + } + } // ************************************************************************* // From 3f756ca9819c9ad8bd7fc51fbd85f245edaee27a Mon Sep 17 00:00:00 2001 From: minzhang0929 <78373564+minzhang0929@users.noreply.github.com> Date: Mon, 27 Mar 2023 17:07:20 +0800 Subject: [PATCH 2/2] Add files via upload --- .../twoD_SandiaD_EDC_Trans/0/Chi | 69 +++++++++++++++++++ .../dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Z | 69 +++++++++++++++++++ .../twoD_SandiaD_EDC_Trans/0/Zvar | 69 +++++++++++++++++++ 3 files changed, 207 insertions(+) create mode 100644 examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Chi create mode 100644 examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Z create mode 100644 examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Zvar diff --git a/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Chi b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Chi new file mode 100644 index 00000000..4fe7defe --- /dev/null +++ b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Chi @@ -0,0 +1,69 @@ +/*--------------------------------*- 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 Chi; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + wallTube + { + type zeroGradient; + } + + outlet + { + type zeroGradient; + } + + inletPilot + { + type fixedValue; + value uniform 0.0; + } + + inletAir + { + type fixedValue; + value uniform 0; + } + + wallOutside + { + type zeroGradient; + } + + inletCH4 + { + type fixedValue; + value uniform 0.0; + } + + frontAndBack_pos + { + type wedge; + } + + frontAndBack_neg + { + type wedge; + } +} + + +// ************************************************************************* // diff --git a/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Z b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Z new file mode 100644 index 00000000..a7338046 --- /dev/null +++ b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Z @@ -0,0 +1,69 @@ +/*--------------------------------*- 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 Z; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + wallTube + { + type zeroGradient; + } + + outlet + { + type zeroGradient; + } + + inletPilot + { + type fixedValue; + value uniform 0.0; + } + + inletAir + { + type fixedValue; + value uniform 0; + } + + wallOutside + { + type zeroGradient; + } + + inletCH4 + { + type fixedValue; + value uniform 0.1561; + } + + frontAndBack_pos + { + type wedge; + } + + frontAndBack_neg + { + type wedge; + } +} + + +// ************************************************************************* // diff --git a/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Zvar b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Zvar new file mode 100644 index 00000000..8b2160bb --- /dev/null +++ b/examples/dfLowMachFoam/twoD_SandiaD_EDC_Trans/0/Zvar @@ -0,0 +1,69 @@ +/*--------------------------------*- 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 Zvar; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 0 0 0 0]; + +internalField uniform 0.0; + +boundaryField +{ + wallTube + { + type zeroGradient; + } + + outlet + { + type zeroGradient; + } + + inletPilot + { + type fixedValue; + value uniform 0.0; + } + + inletAir + { + type fixedValue; + value uniform 0; + } + + wallOutside + { + type zeroGradient; + } + + inletCH4 + { + type fixedValue; + value uniform 0; + } + + frontAndBack_pos + { + type wedge; + } + + frontAndBack_neg + { + type wedge; + } +} + + +// ************************************************************************* //