|
[Sponsors] |
May 6, 2006, 03:57 |
Backport meshes from OF 13
|
#1 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
Is it possible to backport meshes from OF1.3 to OF1.2?
|
|
May 8, 2006, 08:01 |
Sure just compile and run this
|
#2 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
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); } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapping (interpolation) between two meshes | Ebrahim | OpenFOAM Programming & Development | 2 | June 15, 2020 13:31 |
[ANSYS Meshing] How to make ICEM meshes of different bodies automatically become one part? | Sean Ling | ANSYS Meshing & Geometry | 0 | May 17, 2016 12:47 |
How can I put the data of adpated meshes on the original unadapted meshes? | xh110120 | FLUENT | 2 | March 11, 2016 02:00 |
Weird results on Cavity and unstructured meshes | x86_64leon | OpenFOAM Running, Solving & CFD | 12 | March 1, 2016 19:44 |
Hex and Tet meshes - simplefoam comparison | danvica | OpenFOAM Running, Solving & CFD | 10 | January 4, 2013 01:18 |