|
[Sponsors] |
April 4, 2016, 14:36 |
refineMesh Error
|
#1 |
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
Hi,
I'm trying to use the utility refineMesh but I've faced with this error : Code:
Create polyMesh for time = 0 Mesh edge statistics: x aligned : number:390150 minLen:0.36 maxLen:0.36 y aligned : number:385050 minLen:0.36 maxLen:0.36 z aligned : number:385050 minLen:0.36 maxLen:0.36 other : number:0 minLen:1e+15 maxLen:-1e+15 Refining according to refineMeshDict --> FOAM FATAL IO ERROR: cannot find file file: /home/mohsen/Desktop/case18_MEXICO1/-overwrite at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting thanks guys |
|
December 13, 2016, 16:26 |
|
#2 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 |
Hi,
the error message clearly states that the file /home/mohsen/Desktop/case18_MEXICO1/-overwrite is missing. Since you didn't provide the whole call to refineMesh I can provide an assumption only: You're probably using some kind of script to call refineMesh which contains some errors. Instead of assembling the correct path to refineMeshDict the script appends the -overwrite option without any separating spaces. Cutter |
|
March 1, 2018, 21:57 |
|
#3 | |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Quote:
Code:
refineMesh -dict system/refineMeshDict -overwrite |
||
March 1, 2018, 22:07 |
|
#4 |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Btw, I am facing a problem in refineMesh based on refineMeshDict. i had successfully refine it without adding option -dict, but i want to refine more for the surface and surrounding region.
I run refineMesh -dict system/refineMeshDict as following: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: plus | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // set carExtCS; coordinateSystem global; globalCoeffs { tan1 (1 0 0); tan2 (0 1 0); tan3 (0 0 1); } directions ( tan1 tan2 tan3 ); useHexTopology yes; geometricCut no; writeMesh no; // ************************************************************************* // and got this errors code. (too long to post, so i cut some of it) Code:
--> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84049 centre:(0.625 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84050 centre:(0.675 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84051 centre:(0.725 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84052 centre:(0.775 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84053 centre:(0.725 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84054 centre:(0.775 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84055 centre:(0.825 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84056 centre:(0.875 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84057 centre:(0.825 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84058 centre:(0.875 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84059 centre:(0.925 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84060 centre:(0.975 2.525 2.675) is in two zones:noCarIntCZ and --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84085 centre:(1.525 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84086 centre:(1.575 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84087 centre:(1.625 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84088 centre:(1.675 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84089 centre:(1.625 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84090 centre:(1.675 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84091 centre:(1.725 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84092 centre:(1.775 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84093 centre:(1.725 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84094 centre:(1.775 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84095 centre:(1.825 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84096 centre:(1.875 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84097 centre:(1.825 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84098 centre:(1.875 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84099 centre:(1.975 2.525 2.625) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84100 centre:(1.975 2.575 2.625) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84101 centre:(1.925 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84102 centre:(1.975 2.525 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84103 centre:(1.925 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84104 centre:(1.975 2.575 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84105 centre:(0.425 2.675 2.625) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84106 centre:(0.425 2.625 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84107 centre:(0.475 2.625 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84108 centre:(0.425 2.675 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84109 centre:(0.475 2.675 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84110 centre:(0.525 2.625 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. ............................................... --> FOAM Warning : From function void Foam::polyTopoChange::addMesh(const Foam::polyMesh&, const labelList&, const labelList&, const labelList&, const labelList&) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2360 Cell:84335 centre:(1.975 2.875 2.675) is in two zones:noCarIntCZ and carExtCZ This is not supported. Continuing with first zone only. Writing refined cells (79488) to cellSet "0.02/polyMesh/sets/refinedCells" Writing map from new to old cell to "/home/ang/OpenFOAM/jhTutorial/pimpleDyMfoam/NewblockMRefined1_deletedCarRefinedSurf/0.02/polyMesh/cellMap" Mesh edge statistics: x aligned : number:710148 minLen:0.025 maxLen:0.05 y aligned : number:725484 minLen:0.025 maxLen:0.05 z aligned : number:718226 minLen:0.025 maxLen:0.05 other : number:0 minLen:1e+15 maxLen:-1e+15 End I checked the total cells and thr's additional cells compared to that before refineMesh. So, i assume it was refined. But I cant understand what's the probem reported as above. I am totally run out of idea May i get some help here? i would be grateful if there is advice for me. Thanks a lot Last edited by jiahui_93; March 1, 2018 at 23:25. |
|
Tags |
error, refine mesh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |