ENH: molecularDynamics now using new InteractionLists.

This commit is contained in:
graham
2010-04-29 20:14:54 +01:00
parent 3e19b35b22
commit 23b5edd02d
28 changed files with 376 additions and 4829 deletions

View File

@ -39,6 +39,20 @@ int main(int argc, char *argv[])
# include "createTime.H"
# include "createMesh.H"
Info<< "\nReading field U\n" << endl;
volVectorField U
(
IOobject
(
"U",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);
potential pot(mesh);
moleculeCloud molecules(mesh, pot);

View File

@ -39,6 +39,20 @@ int main(int argc, char *argv[])
# include "createTime.H"
# include "createMesh.H"
Info<< "\nReading field U\n" << endl;
volVectorField U
(
IOobject
(
"U",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);
potential pot(mesh);
moleculeCloud molecules(mesh, pot);