Backport meshes from OF 13
Is it possible to backport meshes from OF1.3 to OF1.2?
|
Sure just compile and run this
Sure just compile and run this utility in OF1.3. It will write the cells file, which is the only thing that is not in 1.3 that is required by 1.2.
int main(int argc, char *argv[]) { # include "setRootCase.H" # include "createTime.H" # include "createMesh.H" cellIOList cells ( IOobject ( "cells", runTime.timeName(), mesh, IOobject::NO_READ ), mesh.nCells() ); Pout << "Building cell list." << endl; mesh.calcCells ( cells, mesh.faceOwner(), mesh.faceNeighbour(), mesh.nCells() ); Pout << "Writing cells." << endl; cells.write(); return(0); } |
All times are GMT -4. The time now is 22:34. |