CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Unable to open .unv file while using ideasUnvToFoam - Foam Fatal Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2020, 05:16
Post 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
boombaala is on a distinguished road
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.
Attached Images
File Type: jpg FOAM FATAL Error.jpg (82.5 KB, 28 views)
boombaala is offline   Reply With Quote

Old   July 9, 2020, 09:10
Default
  #2
New Member
 
Join Date: Mar 2020
Posts: 1
Rep Power: 0
Berkk is on a distinguished road
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.
Berkk is offline   Reply With Quote

Old   October 3, 2020, 13:42
Default
  #3
New Member
 
Dhruv
Join Date: Aug 2020
Posts: 4
Rep Power: 5
avdhruva is on a distinguished road
I am also facing the same problem. Please update if you find any solution to this problem.
avdhruva is offline   Reply With Quote

Old   October 21, 2020, 05:01
Default Same Error
  #4
New Member
 
Tamil Nadu
Join Date: Oct 2020
Posts: 1
Rep Power: 0
Ashwin2206 is on a distinguished road
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.
Ashwin2206 is offline   Reply With Quote

Old   February 22, 2021, 11:01
Default
  #5
Senior Member
 
julien
Join Date: Dec 2018
Posts: 107
Rep Power: 7
julieng is on a distinguished road
Hello,


Same problem here.
Do you solve the problem?


Julien
julieng is offline   Reply With Quote

Old   May 4, 2022, 05:41
Default
  #6
New Member
 
Poorya Poozesh
Join Date: May 2022
Posts: 1
Rep Power: 0
Poorya09 is on a distinguished road
I have the same problem.
Please let me know if you have solved the problem...
Poorya09 is offline   Reply With Quote

Old   August 8, 2022, 21:33
Default solution
  #7
New Member
 
jeong
Join Date: Aug 2022
Posts: 1
Rep Power: 0
wjdwp38 is on a distinguished road
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.
Attached Images
File Type: jpg 11.JPG (53.4 KB, 20 views)

Last edited by wjdwp38; August 9, 2022 at 00:55.
wjdwp38 is offline   Reply With Quote

Old   November 21, 2022, 01:05
Default Place the unv along with other folders
  #8
New Member
 
Vigens Karthic VBA
Join Date: Nov 2022
Posts: 1
Rep Power: 0
Vignes Karthic VBA is on a distinguished road
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
Vignes Karthic VBA is offline   Reply With Quote

Reply

Tags
foam fatal error, ideasunvtofoam


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
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 10:35
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59


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