|
[Sponsors] |
[mesh manipulation] RefineMesh Error and Foam warning |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 2, 2018, 00:25 |
RefineMesh Error and Foam warning
|
#1 |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Hi everyone, may I seek for some advice? 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 |
|
March 3, 2018, 05:32 |
|
#2 | |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
The accompanying message is just a warning, not an error. So, the refinement took place. However, you should read the messages more carefully, for example:
Quote:
|
||
March 3, 2018, 08:35 |
|
#3 | |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Quote:
Yes, i had assigned same cells twice in different cell zone Is it i can only assign the same cell for once, n cannot assign twice (in 2 different cell zone)? Thanks |
||
March 3, 2018, 10:39 |
|
#4 |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
It is definitely possible to assign a particular region to two zones, in fact, some times it is a necessary part of your problem (e.g. rotating + temperature control)! Having said that, you should be a little careful when it comes to defining boundary conditions, etc. using these zones so as to ensure consistency in your case. Usually this will not be an issue if you follow the physics of your problem.
|
|
March 3, 2018, 12:32 |
|
#5 | |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Quote:
Extreme value of field data Thanks 😊 |
||
|
|