mfEqn indentation and jlc, vlc, nlc AUTO_WRITE => NO_WRITE

This commit is contained in:
ignis 2018-01-21 05:43:10 +09:00
parent f8b83b579e
commit cb57fe5a57
2 changed files with 10 additions and 11 deletions

View file

@ -1,12 +1,10 @@
// mixture fraction equation
fvScalarMatrix mfEqn
(
fvm::div(phi, mf)
- fvm::laplacian((1/Sc)*turbulence->mut(), mf) //let 1/Sc = 1.47
);
mfEqn.relax();
mfEqn.relax();
mfEqn.solve();
mfEqn.solve();

View file

@ -117,8 +117,9 @@ forAll(Y, i)
}
fields.add(thermo.he());
/***************************************************************/
//SLFM-related Fields
// SLFM-related fields
Info<<"Creating field mf, mfVar, SDR\n"<<endl;
volScalarField mf //mixture fraction
@ -169,7 +170,7 @@ volScalarField jlc //eta-index, lower
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
IOobject::NO_WRITE
),
mesh,
dimensionedScalar("jlc", dimless, 0.0)
@ -211,7 +212,7 @@ volScalarField vlc //var-index, lower
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
IOobject::NO_WRITE
),
mesh,
dimensionedScalar("vlc", dimless, 0.0)
@ -253,7 +254,7 @@ volScalarField nlc //sdr-index, lower
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
IOobject::NO_WRITE
),
mesh,
dimensionedScalar("nlc", dimless, 0.0)