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 Members List Search Today's Posts Mark Forums Read

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, 7 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

Reply

Tags
foam fatal error, ideasunvtofoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 77 May 7, 2020 04:22
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 60 April 23, 2020 10:53
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 0 August 31, 2018 05:46
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 04:36.