|
[Sponsors] |
December 2, 2015, 13:29 |
mirrorMesh error
|
#1 |
Member
Join Date: Dec 2015
Posts: 74
Rep Power: 11 |
Hello to everyone, I'm using OpenFoam 2.3.0. I'm facing a problem with the function mirrorMesh that should be simply to solve..
I have make a simple mesh of an half cylinder in Gambit and saved in msh format. I would like to reconstruct the entire mesh in OpenFoam by mirroring it. I initialy convert the mesh in the openfoam format using fluent3DMeshToFoam half_cil.msh And this creates the polymesh folder. Then when I try tu run the command mirrorMesh But I get the followng error: --> FOAM FATAL ERROR: request for objectRegistry region0 from objectRegistry half_cil failed available objects of type objectRegistry are 0() From function objectRegistry::lookupObject<Type>(const word&) const in file db/objectRegistry/objectRegistryTemplates.C at line 198. FOAM aborting What could be the cause of this error? I have set the mirrorMeshDict file as follow: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object mirrorMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // planeType pointAndNormal; pointAndNormalDict { basePoint (0 0 0); normalVector (0 1 0); } planeTolerance 1e-5; // ************************************************** *********************** // |
|
December 2, 2015, 16:28 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: Can you please provide a small test case so that we can reproduce this error? Because there isn't enough information in your post to deduce what is the exact error
Or at least I don't remember a similar problem ever occurring with me and mirrorMesh. |
|
December 3, 2015, 09:46 |
|
#3 |
Member
Join Date: Dec 2015
Posts: 74
Rep Power: 11 |
Thanks for the reply.
I cleaned some files in the folder, and adjusted the boundary condition in the folder 0 and now it works. I thought the mirrorMesh command wasn't related to the setting in 0 and system folder. I have some question about the command: - mirrorMesh mirrors a mesh on a given plane. It also merges the duplicated nodes on the mirror plane and removes the symmetry surfaces from the boundary list right? Other command are not necessary in order to "clean the mesh" right? - in the case I'm studying (an airplane), one of the symmetry faces on the symmetry plane is not completely planar. Indeed some cells of this face are still present after the mirrorMesh command(as shown in the image). Is there a way to adjust this nodes (they y value has to be y=0) Thanks! |
|
December 6, 2015, 12:07 |
|
#4 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings WhiteW,
Quote:
Quote:
Quote:
Bruno
__________________
|
||||
December 6, 2015, 14:18 |
|
#5 |
Member
Join Date: Dec 2015
Posts: 74
Rep Power: 11 |
Thanks wyldckat, it is all more clear now.
I'll study snappyHexMesh commands to modify the node position of the mesh. Thanks again for your help! WhiteW |
|
|
|
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 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |