|
[Sponsors] |
November 26, 2010, 17:07 |
how to output subMesh pointer files ??
|
#1 |
Member
Ken Darcovich
Join Date: Mar 2009
Location: Ottawa, Canada
Posts: 31
Rep Power: 17 |
Back with v1.3 someone kindly modified the subsetMesh.C file to include some code which generated output files of the mapped results (cells, points, faces etc.)
The code was this: OFstream cellmap("cellMap"); cellmap << mesh().cellMap() << endl; Now, in v1.6 we get an error stating that mesh has no member .cellMap() Does anyone know the updated syntax that will output the cellMap into a file?? thanks. |
|
November 29, 2010, 10:47 |
|
#2 |
Member
Ken Darcovich
Join Date: Mar 2009
Location: Ottawa, Canada
Posts: 31
Rep Power: 17 |
since "how to" information for OF seems precious and jealously guarded, for the record, the solution to my question which was painstakingly deduced with help from colleagues is:
in subsetMesh.C (v1.6) The mesh is assigned as: const fvMesh& baseMesh = subsetter.baseMesh(); thus, in the OFsteam code, the string subsetter.cellMap() outputs as required. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF issue | MASOUD | Fluent UDF and Scheme Programming | 14 | December 6, 2012 13:39 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |