CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

ideasUnvToFoam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2023, 14:01
Angry ideasUnvToFoam error
  #1
New Member
 
Antônio Valadares de Vasconcelos Costa
Join Date: May 2023
Posts: 3
Rep Power: 3
antoniovalos is on a distinguished road
I am trying to run a turbulent flow in a pipe, but I am getting some problems to run the mesh conversion using the command ideasUnvToFoam

I runned this command:
~$ ideasUnvToFoam innerFlow.unv

The conversion terminated with this following error:
Adding cell and face zones
Face Zone obstacle 3882
ideasUnvToFoam: ideasUnvToFoam.C:1287: int main(int, char**): Assertion `nouveau > -1' failed.
Aborted


I already tryed to remesh many times with the same refinement, coarser refinement and finer refinement, but I always get the same error.

I tryed different versions and different distributions of OpenFOAM, always terminating with the same error.

How to find out the cause of this error?
antoniovalos is offline   Reply With Quote

Old   June 1, 2023, 11:15
Default re: ideasUnvToFoam error
  #2
New Member
 
Sam
Join Date: Mar 2017
Posts: 3
Rep Power: 9
__sam__ is on a distinguished road
Well you can look at the source code here:

https://github.com/OpenFOAM/OpenFOAM...ToFoam.C#L1287

And we can see it's in a for loop that variable "nouveau" is declared with the value of -1. For face zones labels, the values should be positive, so the fact that you're seeing -1 it means the label has not been set, so your face zone "obstacle" is not being loaded correctly.

I don't know much about the file format - but to me it looks like your mesh might have some issues. Do you need the faceZones to be constructed at this stage or could you leave them out of the ideas unv format and produce them at the OpenFOAM level once you have your polyMesh? You could define your "obstacle" afterwards using the topoSet command
__sam__ is offline   Reply With Quote

Reply

Tags
.unv file, ideasunvtofoam, mesh conversion, mmesh generation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[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


All times are GMT -4. The time now is 20:23.