|
[Sponsors] |
April 15, 2009, 09:44 |
reconstructpar -region
|
#1 |
New Member
Per Nilsson
Join Date: Mar 2009
Location: Lund, Sweden
Posts: 21
Rep Power: 17 |
I have a case which is first decomposed to 6 processors and then split into 3 regions.
The mesh is moving in all three regions, but the topology is constant. One region is called "plate". To reconstruct the case, I first run reconstructParMesh -region plate That reconstructs the mesh for plate in 0/plate/polyMesh. Then, when I try to reconstruct the fields, using reconstructPar -region plate it works fine for time 0 (as expected), but later for time 0.01 I get this error: -------------------------- Time = 0.01 cannot open file file: /home/workdisc/FIV2/Fall2/OpenFOAM/c2p4nw/processor0/0.01/plate/plate/polyMesh/points at line 0. From function regIOobject::readStream(const word&) in file db/regIOobject/regIOobjectRead.C at line 66. FOAM exiting --------------------------- The region name, "plate", is twice in the path. ? Therefore I removed "regionPrefix/" from line 220 in processorMeshes.C. Now reconstructPar "works", but maybe the reconstructed data is written on the original (undeformed) mesh from time step 0. Is the twofold occurrence of the region name in the path a bug? Have I got it right? What could you do instead? |
|
April 16, 2009, 05:45 |
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Sounds like a bug. Can you post a simple testcase?
|
|
April 23, 2009, 14:52 |
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Hi borrbyper,
your fix looks correct. The regionName is already the name of the mesh so will already be handled correctly 'under the hood'. thanks, Mattijs |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gambit HEX core method gives unwanted 2D region | KK | FLUENT | 1 | February 4, 2008 10:31 |
Rotating region of a centr. pump - Counter R wall | Emre | CFX | 0 | September 20, 2007 10:58 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
separation region in corner flows submitted to curvature effects | Stephane | Main CFD Forum | 2 | July 13, 1998 20:06 |