CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Technical] Backport meshes from OF 13

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2006, 03:57
Default Backport meshes from OF 13
  #1
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
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: 21
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:52.