Skip to content
Snippets Groups Projects

Integration feature numerics

Merged Sergio Ferraris requested to merge integration-feature-numerics into develop
Compare and
17 files
+ 990
11
Preferences
Compare changes
Files
17
@@ -14,23 +14,36 @@ volScalarField T
@@ -14,23 +14,36 @@ volScalarField T
);
);
Info<< "Reading transportProperties\n" << endl;
Info<< "Reading diffusivity DT\n" << endl;
IOdictionary transportProperties
volScalarField DT
(
(
IOobject
IOobject
(
(
"transportProperties",
"DT",
runTime.constant(),
runTime.timeName(),
mesh,
mesh,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::READ_IF_PRESENT,
IOobject::NO_WRITE
IOobject::AUTO_WRITE
)
),
 
mesh,
 
dimensionedScalar(dimViscosity, Zero)
);
);
if (!DT.headerOk())
Info<< "Reading diffusivity DT\n" << endl;
{
IOdictionary transportProperties
dimensionedScalar DT("DT", dimViscosity, transportProperties);
(
 
IOobject
 
(
 
"transportProperties",
 
runTime.constant(),
 
mesh,
 
IOobject::MUST_READ_IF_MODIFIED,
 
IOobject::NO_WRITE
 
)
 
);
 
DT = dimensionedScalar("DT", dimViscosity, transportProperties);
 
}
#include "createFvOptions.H"
#include "createFvOptions.H"