|
[Sponsors] |
July 31, 2007, 07:35 |
Thanks Mattijs, I post the pro
|
#1 |
New Member
María
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 12
Rep Power: 17 |
Thanks Mattijs, I post the problem here.
I have ran a case with two meshes, which are located in: -case/constant/region1/polyMesh and -case/constant/region2/polyMesh I tried to postprocess the results using foamToVTK: - foamToVTK . <casename> -mesh region1 Then the following ERROR apears: << Create mesh for time = constant --> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh" From function Time::findInstance(const word& dir, const word& name) in file db/Time/findInstance.C at line 133. FOAM exiting >> The point, is that the file "points" exist but in "constant/region1/polyMesh" and"constant/region2/polyMesh". I'm using OpenFOAM 1.4. I would appreciate any idea to solve the problem Thanks in advance. María. |
|
July 31, 2007, 10:24 |
Bit of a regression bug. In po
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Bit of a regression bug. In postProcessing/dataConversion/foamToVTK/foamToVTK.C
replace # include "createMesh.H" with Info<< "Create mesh for time = " << runTime.timeName() << nl << endl; fvMesh mesh ( IOobject ( meshName, runTime.timeName(), runTime, IOobject::MUST_READ ) ); and recompile (wclean; wmake) |
|
September 7, 2007, 07:48 |
Hi!
Thanks Mattijs. We have
|
#3 |
New Member
María
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 12
Rep Power: 17 |
Hi!
Thanks Mattijs. We have changed what you recommend me with some modifications. Now it works. We replaced: # include "createMesh.H" with: Info<<"Create mesh for time="<< runTime.timeName()<<nl<<endl; fvMesh mesh ( IOobject ( meshName, meshDir, //runTime.timeName(), runTime, IOobject::MUST_READ ) ); Where meshDir is as follows: word meshDir = runTime.timeName(); if (args.options().found("mesh")) { meshName = args.options()["mesh"]; fvPath = fvPath/meshName; meshDir.append("/"); meshDir.append(meshName); } Thanks! María |
|
September 19, 2007, 03:25 |
Hi Mattijs
Just as new user
|
#4 |
New Member
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 17 |
Hi Mattijs
Just as new user of OpenFoam, would you please let me know, where should i go to find the postProcessing/dataConversion/foamToVTK/foamToVTK.C ? and provide changes? I have the same problem as: -> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh" From function Time::findInstance(const word& dir, const word& name) in file db/Time/findInstance.C at line 133. FOAM exiting I read your suggestion to solve this problem and i would please to ask you about that matter. Many Thanks |
|
September 19, 2007, 04:39 |
>where should i go to find
|
#5 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
>where should i go to find
cd $WM_PROJECT_INST_DIR find . -name foamToVTK.C Or http://foam.sourceforge.net/doc/Guides-a4/UserGuide.pdf section 3.6 This problem is fixed in 1.4.1. |
|
October 29, 2007, 13:41 |
Dear Mattijs
Appreciat abou
|
#6 |
New Member
Armin Hosseinian
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 17
Rep Power: 17 |
Dear Mattijs
Appreciat about your answer. sorry for delay to send a feedback of your command . Many Thanks Armin |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FoamToVTK and MayaVi | alexandrepereira | OpenFOAM Post-Processing | 57 | August 11, 2008 05:15 |
[OpenFOAM] FoamToVTK Animation with Paraview 3 | podallaire | ParaView | 5 | October 9, 2007 08:26 |
FoamToVTK output names | hartinger | OpenFOAM Post-Processing | 2 | March 29, 2007 07:49 |
[OpenFOAM] FoamToVTK problem | oevermann | ParaView | 6 | July 11, 2006 16:10 |
[OpenFOAM] FoamToVTK error with OF 13 | melanie | ParaView | 1 | May 22, 2006 05:40 |