Skip to content

Commit

Permalink
Merge pull request #472 from DongWangChina/master
Browse files Browse the repository at this point in the history
PatchFuncInjection & flareFGM model: checkout before running & flareFGM model: load omega_YiNames from combustionProperties
  • Loading branch information
DongWangChina authored Apr 21, 2024
2 parents 7594b8d + d39ccb0 commit 233d6f3
Show file tree
Hide file tree
Showing 51 changed files with 1,321 additions and 158 deletions.
2 changes: 1 addition & 1 deletion applications/solvers/dfHighSpeedFoam/createFields.H
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const word combModelName(mesh.objectRegistry::lookupObject<IOdictionary>("combus
Info << "Combustion Model Name is confirmed as "<< combModelName << endl;


if (combModelName != "flareFGM")
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
chemistry->correctThermo();
Info<< "At initial time, min/max(T) = " << min(T).value() << ", " << max(T).value() << endl;
Expand Down
4 changes: 2 additions & 2 deletions applications/solvers/dfLowMachFoam/createFields.H
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ chemistry->setEnergyName("ha");
chemistry->updateEnergy();


if (combModelName != "flareFGM")
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
chemistry->correctThermo();
Info<< "At initial time, min/max(T) = " << min(T).value() << ", " << max(T).value() << endl;
Expand All @@ -115,7 +115,7 @@ volScalarField K("K", 0.5*magSqr(U));

multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;

if(combModelName!="flareFGM")
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
forAll(Y, i)
{
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfLowMachFoam/dfLowMachFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ int main(int argc, char *argv[])
end = std::clock();
time_monitor_U += double(end - start) / double(CLOCKS_PER_SEC);

if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM")
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
start = std::clock();
#ifdef GPUSolver_
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfSprayFoam/createFields.H
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const label inertIndex(chemistry->species()[inertSpecie]);
chemistry->setEnergyName("ha");
chemistry->updateEnergy();

if (combModelName != "flareFGM" && combModelName != "DeePFGM")
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
chemistry->correctThermo();
Info<< "At initial time, min/max(T) = " << min(T).value() << ", " << max(T).value() << endl;
Expand Down
2 changes: 1 addition & 1 deletion applications/solvers/dfSprayFoam/dfSprayFoam.C
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int main(int argc, char *argv[])
{
#include "UEqn.H"

if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" )
if(combModelName!="ESF" && combModelName!="flareFGM" && combModelName!="DeePFGM" && combModelName!="FSD")
{
#include "YEqn.H"
#include "EEqn.H"
Expand Down
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/CO.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/CO2.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Cp.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/H2O.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Ha.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Hf.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/T.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/U.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Wt.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Z.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Zcvar.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Zcvar_s.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Zvar.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/Zvar_s.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/alphat.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/c.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/c_s.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/chi_Z.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/chi_Zc.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/chi_c.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/cvar.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/cvar_s.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/epsilon.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/k.gz
Binary file not shown.
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/nut.gz
Binary file not shown.
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/omega_c.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/p.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/phi.gz
Binary file not shown.
Binary file modified examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/1/rho.gz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ value 1;

name "1";

index 17469;
index 17498;

deltaT 5.7162129e-05;
deltaT 5.7362135e-05;

deltaT0 5.7162129e-05;
deltaT0 5.7362135e-05;


// ************************************************************************* //
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ PaSRCoeffs
}

flareFGMCoeffs
{
{
nOmega_Yis 1;
omega_YiNames (CH4);
scaledPV true;
combustion true;
solveEnthalpy true;
Expand Down
Loading

0 comments on commit 233d6f3

Please sign in to comment.