Renamed U_ and T_ to boundaryU_ and boundaryT_.

Moved all fields and field reading into the DsmcCloud, all calculation and
resetting to single functions for all fields.

Changed constructors so that no fields are supplied to the solver called from
dsmcFoam and an initialisation dictionary is supplied by dsmcInitialise.
This commit is contained in:
graham
2009-07-17 18:17:26 +01:00
parent 103cd27ef5
commit 85d7852fc3
11 changed files with 433 additions and 575 deletions

View File

@ -44,9 +44,21 @@ int main(int argc, char *argv[])
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
IOdictionary dsmcInitialiseDict
(
IOobject
(
"dsmcInitialiseDict",
mesh.time().system(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
Info<< "Initialising dsmc for Time = " << runTime.timeName() << nl << endl;
dsmcCloud dsmc("dsmc", mesh);
dsmcCloud dsmc("dsmc", mesh, dsmcInitialiseDict);
label totalMolecules = dsmc.size();