|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
DDB
Join Date: Jan 2013
Posts: 12
Rep Power: 2 ![]() |
Hi all,
I followed the instructions in this thread to overcome the compilation problems can not complie fluentDataToFoam in OF2.1.1 I have already generated the OF mesh using fluent3DMeshToFoam. However, when I run fluentDataToFoam I get the error: Code:
--> FOAM FATAL IO ERROR:
cannot find file
file: /home/.../constant/polyMesh/zoneToPatchName at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.
FOAM exiting
Any help gratefully received! |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,278
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi DDB,
Can you create a simple test case and share it so that I (or anyone else) can try to replicate the same error!? Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
DDB
Join Date: Jan 2013
Posts: 12
Rep Power: 2 ![]() |
I'd love to, but I don't have access to fluent anymore :-(
I did some cases at uni a few years ago & now I want to work on them in OF, but I am not at uni now and I certainly cannot afford the fluent fees! |
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,278
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi DDB,
Very well, then lets reverse engineer this thing. First I'm going to use the tutorial "incompressible/icoFoam/cavity" as basis for creating the simple Fluent dataset:
Now for converting stuff back from Fluent to OpenFOAM:
A few notes of caution:
Bruno
__________________
|
|
|
|
|
|
|
|
|
#5 |
|
New Member
DDB
Join Date: Jan 2013
Posts: 12
Rep Power: 2 ![]() |
Bruno, you are an OF guru! Thank you so much!
I had no issues at all with the cavity problem, following the steps as you outlined, however I ran into some issues with my old fluent files. The msh file is easier to find info for the zoneToPatchName than the cas file, but searching for "(39 (" found the stuff ok. (For my reference when I come back to this, change the number in the zoneToPatchName to correspond to the number of patches! 13 is not unique!) I have changed the startTime in system/controlDict, but the data only writes to the 0 folder (whereas following your example there was no issue in writing to whatever folder I chose). I haven't had a chance to look at the boundary conditions yet, but your help so far has been amazing, thank you :-) |
|
|
|
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Nov 2012
Posts: 143
Rep Power: 2 ![]() |
Hello Bruno,
Your procedures listed are veru useful. I did the fluentDataToFoam but the following error: Create time Machine config: 600012484888 Grid size: nCells = 5984008 nFaces = 12248025 nPoints = 1156110 00Grid size: nCells = 1 nFaces = 25 nPoints = 1 --> FOAM FATAL IO ERROR: wrong token type - expected int, found on line 1 the punctuation token '(' file: IStringStream.sourceFile at line 1. From function operator>>(Istream&, int&) in file primitives/ints/int/intIO.C at line 68. FOAM exiting Does it mean the format of the dat files are not correct? Quote:
|
||
|
|
|
||
|
|
|
#7 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,278
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi hz283,
Follow my example with the tutorial case and then compare the file formats. I say this because I can't figure out what's wrong just from your error message So you'll have to compare the files yourself! ![]() Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Nov 2012
Posts: 143
Rep Power: 2 ![]() |
Hi Bruno,
Thank you so much for your continuous help. best H |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
| Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 19:42 |
| Solve single but higher order equation by OF 1.6 suffering Problem | alundilong | OpenFOAM Programming & Development | 0 | December 23, 2010 13:53 |
| natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
| Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |