CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing Format & General Technical

Backport meshes from OF 13

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 6, 2006, 03:57
Default Is it possible to backport mes
  #1
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 8
stefanke is on a distinguished road
Is it possible to backport meshes from OF1.3 to OF1.2?
stefanke is offline   Reply With Quote

Old   May 8, 2006, 08:01
Default Sure just compile and run this
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
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);
}
eugene is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding meshes Tim Daly FLUENT 3 November 20, 2008 09:20
Linking two meshes Geoffroy Chaussonnet FLUENT 3 April 6, 2007 04:59
2D meshes joegi Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 May 12, 2006 04:09
y-plus and meshes Ben Cho FLUENT 0 March 16, 2006 17:04
CFD Meshes Serge Monteix Main CFD Forum 0 May 28, 2001 12:55


All times are GMT -4. The time now is 20:03.