|
[Sponsors] |
Unable to open .unv file while using ideasUnvToFoam - Foam Fatal Error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2020, 06:16 |
Unable to open .unv file while using ideasUnvToFoam - Foam Fatal Error
|
#1 |
New Member
Karan Shah
Join Date: Apr 2020
Posts: 1
Rep Power: 0 |
Greetings, I am a new OpenFoam user with background in Mechanical Design. I am using OpenFoam 19.12 on Windows 10.
Here, I am trying to perform a CFD on a Propeller Fan by following a tutorial. I have mesh in .unv file (that I created on Salome) that I want to convert to the foam format to be able to perform CFD. However, I am getting an Error saying (See attached Picture) --> FOAM FATAL ERROR: Cannot Open "File ___.unv" From function int main(int, char**) in file ideasUnvToFoam.C at line 673. The problem is, I am unsure how to interpret this error and what steps I should take to learn how to solve such errors and move forward. I have done some research by reading the "OpenFoam User Guide Version 7", and also tried googling and looking up some of the similar forum questions. However, I couldn't figure out what to make of this error and go ahead. I would really appreciate any help. Thank you in advanced. P.S. I humbly apologize if this type of error is basic, but I am not really strong with this programming language. |
|
July 9, 2020, 10:10 |
|
#2 |
New Member
Join Date: Mar 2020
Posts: 1
Rep Power: 0 |
Hello,
I have same problem and I guess this problem exists for new OpenFOAM users. The difference is that I am using OpenFOAM on Ubuntu 18.04 LTS on Windows 10. But, "From function int main(int, char**) in file ideasUnvToFoam.C at line 673" error is exactly the same here. I just changed something in mesh quality as first thing that comes to mind. But, I could not solve this problem. This error came from the line below. " int main(int argc, char *argv[]) { argList::addNote ( "Convert I-Deas unv format to OpenFOAM" ); argList::noParallel(); argList::addArgument(".unv file"); argList::addBoolOption ( "dump", "Dump boundary faces as boundaryFaces.obj (for debugging)" ); #include "setRootCase.H" #include "createTime.H" const fileName ideasName = args[1]; IFstream inFile(ideasName); if (!inFile.good()) { FatalErrorInFunction << "Cannot open file " << ideasName << exit(FatalError); } " I will check on my boundary faces and mesh quality, again. If I could find a way to solve, I will let you know. By the way, did you solve it ? Thanks in advance. |
|
October 3, 2020, 14:42 |
|
#3 |
New Member
Dhruv
Join Date: Aug 2020
Posts: 4
Rep Power: 6 |
I am also facing the same problem. Please update if you find any solution to this problem.
|
|
October 21, 2020, 06:01 |
Same Error
|
#4 |
New Member
Tamil Nadu
Join Date: Oct 2020
Posts: 1
Rep Power: 0 |
I am also facing the same error, where the system displays Fatal Error as the unv file cannot be opened.
Please do let me know if you have resolved this error and if so, how it was done. |
|
February 22, 2021, 12:01 |
|
#5 |
Senior Member
julien
Join Date: Dec 2018
Posts: 107
Rep Power: 7 |
Hello,
Same problem here. Do you solve the problem? Julien |
|
May 4, 2022, 06:41 |
|
#6 |
New Member
Poorya Poozesh
Join Date: May 2022
Posts: 1
Rep Power: 0 |
I have the same problem.
Please let me know if you have solved the problem... |
|
August 8, 2022, 22:33 |
solution
|
#7 |
New Member
jeong
Join Date: Aug 2022
Posts: 1
Rep Power: 0 |
I solved this problem.
delete files at Groups of volumes of object browser in salome. you have to leave groups of faces only. or you dont have to copy and paste unv file to your linux folder. Use copy command in linux terminal. Last edited by wjdwp38; August 9, 2022 at 01:55. |
|
November 21, 2022, 02:05 |
Place the unv along with other folders
|
#8 |
New Member
Vigens Karthic VBA
Join Date: Nov 2022
Posts: 1
Rep Power: 0 |
Hi guys I had the same problem when I placed my Mesh.unv file inside the constant folder and tried the ideasUnvToFoam from outside.
I solved it by placing the .unv file outside that is along with 0, constant and system folder |
|
Tags |
foam fatal error, ideasunvtofoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
SimpleFoam cannot open include file | Marija | OpenFOAM Running, Solving & CFD | 1 | October 28, 2020 11:35 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |