mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Templated MolecularCloud.
This commit is contained in:
@ -12,6 +12,23 @@
|
||||
mesh
|
||||
);
|
||||
|
||||
potential pot(mesh);
|
||||
word cloudName("polyatomicCloud");
|
||||
|
||||
polyatomicCloud molecules(mesh, pot);
|
||||
potential pot
|
||||
(
|
||||
mesh,
|
||||
IOdictionary
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
cloudName + "Properties",
|
||||
mesh.time().constant(),
|
||||
mesh,
|
||||
IOobject::MUST_READ_IF_MODIFIED,
|
||||
IOobject::NO_WRITE,
|
||||
false
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
polyatomicCloud molecules(cloudName, mesh, pot);
|
||||
|
||||
Reference in New Issue
Block a user