CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

FoamDataToFluent

Register Blogs Community New Posts Updated Threads Search

Like Tree13Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2009, 22:52
Default Thanx gschaider
  #21
New Member
 
Syed khalid Hussain Shah Hashmi
Join Date: Jul 2009
Location: Lahore, Pakistan
Posts: 5
Rep Power: 17
khalid1059 is on a distinguished road
Thanx gschaider for the quick reply i found the solution to my problem
khalid1059 is offline   Reply With Quote

Old   September 28, 2009, 22:57
Default
  #22
New Member
 
Syed khalid Hussain Shah Hashmi
Join Date: Jul 2009
Location: Lahore, Pakistan
Posts: 5
Rep Power: 17
khalid1059 is on a distinguished road
Thanx Bernhard Gschaider for quick reply. i got u and corrected this error. One more problem i m facing is now is that "when i uses foamMeshToFluent and foamDataToFluent then get .msh and .dat files. BUT WHEN I LOAD THESE FILES RESPECTIVELY IN FLUENT 6.3.26 I M NOT ABLE TO SEE RESULTS THOUGH THESE FILES HAVE BEEN SUCCESSFULLY LOADED " ALSO IN .MSH FILES obtained by foamMeshToFluent didnt include boundary conditions. i m transferring data for dieselFoam case.plz help me out
khalid1059 is offline   Reply With Quote

Old   September 28, 2009, 23:33
Default
  #23
New Member
 
Syed khalid Hussain Shah Hashmi
Join Date: Jul 2009
Location: Lahore, Pakistan
Posts: 5
Rep Power: 17
khalid1059 is on a distinguished road
Hi hrv i m using dieselFoam tutorial on OF-1.5 and i wanna view the results on Fluent (I already have seen them on paraFoam)...now problem i m facing is that AFTER GETTING .msh and .dat files BY using foamMeshToFluent and foamDataToFluent WHEN I LOAD THESE FILES RESPECTIVELY IN FLUENT 6.3.26 I M NOT ABLE TO SEE RESULTS THOUGH THESE FILES HAVE BEEN SUCCESSFULLY LOADED. Whether additional parameters i must set to post process my case in fluent brfore loadinf it to Fluent?/?. I tried k epsilon model bedore loading .dat file on Fluent but still i didnt get results..Diesel Foam uses Euler Lagrange approach.... "

I ALSO noticd that in .MSH FILE obtained by foamMeshToFluent didnt include boundary conditions.I already have saved .msh file as .cas files but still no boundary conditions are set in (Define---->Boundary conditions).
i m doing MS process Engineering from islamabad and i am interested to post process OF results on different tools.....plz help me out
khalid1059 is offline   Reply With Quote

Old   December 11, 2009, 08:17
Default
  #24
New Member
 
P.M.Bronow
Join Date: Nov 2009
Location: Poland/Germany
Posts: 14
Rep Power: 17
PrzemekPL is on a distinguished road
Hallo,

Importing results into Fluent seems to work fine but did anyone manage to do it in CFX-postproceossor?

So far I've managed to read in mesh in CFX-Pre but no success in CFX-post.

thanks,
Przemek
rarnaunot likes this.
PrzemekPL is offline   Reply With Quote

Old   December 12, 2012, 23:09
Default
  #25
New Member
 
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14
whyingwang is on a distinguished road
hello
Here I recently tried foamDataToFluent & foamMeshToFluent.But my fluent can not read them.It told me there is not a case file.
It didn't generate any case file.
Can you tell me why?
Thanks.
whyingwang is offline   Reply With Quote

Old   January 3, 2013, 02:19
Default
  #26
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14
zaynah04 is on a distinguished road
dear everyone..

i have followed the instructions given here for the viewing of an openfoam in fluent..

I have also saved the .msh file as case in my fluent and i have finally run my .dat file..

i have my whole system red colour in display->contour->velcity.
Quote:
read_thread_data_section: invalid thread id 18.
Skipping data sub-section 2 for thread 1. Wrong size (3 != 2)
Skipping data sub-section 2 for thread 10. Wrong size (3 != 2)
read_thread_data_section: invalid thread id 11.
Skipping data sub-section 2 for thread 12. Wrong size (3 != 2)
read_thread_data_section: invalid thread id 13.
In my .dat case in fluent i notice the above.

2- why does i have a lot of .dat files? Am i not supposed to have found only 1?

i would be really grateful to anyone who answer my queries

regards
zaynah
zaynah04 is offline   Reply With Quote

Old   January 22, 2013, 13:03
Default
  #27
Member
 
Dogan
Join Date: Nov 2012
Location: Bochum/Germany
Posts: 42
Rep Power: 14
dogan is on a distinguished road
Hi everyone,

i've tried to use the command "foamDataToFluent" as described in here, and i got ".dat" files for each time step of my simulation. Afterwards, i wanted to load the last step of ".dat" files to CFX5, but i got an warning message as follows:

" Note that for files other than CFX-Solver Results, global ranges are calculated for the used variables and the currently loaded timestep only. As more timesteps are loaded, global variable ranges are adjusted dynamically. Tip: To avoid dynamic range updates, you can use local variable ranges, or turn on pre-calculation of global ranges for all timesteps and all variables in : Edit>Options>CFD-Post>Files"

once i click on OK after this warning message, then i got the error message as follows :

"SEVERE
Operation failed. (System exception: Invalid fluent case file) "

So i am thinking of that the reason of this error message is the version i use in OpenFoam or in CFX. i am using OpenFOAM 2.1.x, and CFX14.0. so my question is, does anyone of you managed to do the conversion with those mentioned versions of O.F and CFX? or do you have any idea what the mistake may be?
thanks
dogan is offline   Reply With Quote

Old   July 31, 2013, 05:38
Default Cannot define the timeSteps I want to import
  #28
Member
 
Join Date: Jul 2013
Posts: 98
Rep Power: 13
HHOS is on a distinguished road
Hello;

I am able to export the data (I use openFoam 2.2.0), but I cannot export just the last timeStep, it always transform every single timeStep.

OK, I could delete all the data I don't need, but the point is that it doesn't do what it is supposed to do... I have changed the ControldDict file, changing the startFrom to latestTime:
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 10000;
deltaT 1.0;
writeControl timeStep;
writeInterval 1000;
purgeWrite 0;
writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
graphFormat raw;
runTimeModifiable true;
I have tried also setting the startTime to 10000, but it anyway exported every timestep.

Any clue??

Thank you very much!
HHOS is offline   Reply With Quote

Old   February 25, 2014, 05:31
Default
  #29
New Member
 
Pang
Join Date: Mar 2011
Location: Denmark
Posts: 25
Rep Power: 15
kmpang is on a distinguished road
Quote:
Originally Posted by dogan View Post
Hi everyone,

i've tried to use the command "foamDataToFluent" as described in here, and i got ".dat" files for each time step of my simulation. Afterwards, i wanted to load the last step of ".dat" files to CFX5, but i got an warning message as follows:

" Note that for files other than CFX-Solver Results, global ranges are calculated for the used variables and the currently loaded timestep only. As more timesteps are loaded, global variable ranges are adjusted dynamically. Tip: To avoid dynamic range updates, you can use local variable ranges, or turn on pre-calculation of global ranges for all timesteps and all variables in : Edit>Options>CFD-Post>Files"

once i click on OK after this warning message, then i got the error message as follows :

"SEVERE
Operation failed. (System exception: Invalid fluent case file) "

So i am thinking of that the reason of this error message is the version i use in OpenFoam or in CFX. i am using OpenFOAM 2.1.x, and CFX14.0. so my question is, does anyone of you managed to do the conversion with those mentioned versions of O.F and CFX? or do you have any idea what the mistake may be?
thanks
Hi Dogan,

Did you manage to solve the problem? I could open my .cas and .dat in Fluent but I am facing the same problems that you wrote.

Please advise. Many thanks.

Best regards,
Pang
kmpang is offline   Reply With Quote

Old   November 3, 2014, 12:25
Default
  #30
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
Quote:
Originally Posted by dogan View Post
Hi everyone,

i've tried to use the command "foamDataToFluent" as described in here, and i got ".dat" files for each time step of my simulation. Afterwards, i wanted to load the last step of ".dat" files to CFX5, but i got an warning message as follows:

...

So i am thinking of that the reason of this error message is the version i use in OpenFoam or in CFX. i am using OpenFOAM 2.1.x, and CFX14.0. so my question is, does anyone of you managed to do the conversion with those mentioned versions of O.F and CFX? or do you have any idea what the mistake may be?
thanks
Hello dogan,
have you finally found an answer to your question? I am facing the same problem, I'm trying to import .dat in CFD-Post (CFX post-processor) without positive results. I get the same error you reported...I can successfully import the mesh but just the mesh without scalars...

Any suggestion?

Regards,

Andrea
Blanco is offline   Reply With Quote

Old   April 3, 2015, 07:20
Default Importing .dat in windows Fluent
  #31
New Member
 
Joris van der Ploeg
Join Date: Mar 2015
Posts: 3
Rep Power: 11
Blobs is on a distinguished road
Hi all,

I have (as far as I can tell) successfully used the foamMeshToFluent and foamDataToFluent command. More precisely I made my mesh in Ansys Mesh Modeler and saved it in ASCII format and successfully imported it to OpenFOAM (with the fluentMeshToFoam utility). This is what I have done step by step:

-Model mesh in Ansys mesh modeller, save in ASCII format.
-Import mesh in OpenFOAM (fluentMeshToFoam utility).
-Performed a seemingly successful K-Epsilon RNG simulation within the HelyxOS environment.
-Checked results in paraView (Looks pretty realistic).

Now I want to post-process my results on Win7 with Ansys CFD Post or Fluent (since that utility is available). Here is what I have tried so far:

-Export the .dat file with foamDataToFluent and exported the mesh with foamMeshToFluent to get the .msh mesh file.

Opening the .msh file in Fluent(Win7, different machine) works, I can see the mesh and it looks fine. All faces (inlet, outlet, symmetry) are defined and I set Fluent to K-Epsilon RNG so it has the correct variables available. Now when I try to import the .dat file Fluent gives the follow error:

''Warning: case and data files are inconsistent zone 10[xxxx,xxxx] data [xxxx,xxxxx]"

This error is repeated for all zones in the mesh.

Hope you guys can help! Thanks in Advance,

Joris
Blobs is offline   Reply With Quote

Old   May 11, 2016, 14:03
Default
  #32
Member
 
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11
Howard is on a distinguished road
Dear Robinp, I'm also using XiFoam and would like to convert the results to Fluent. My problem is that if I only convert the T,U,P there is no problem but when I add one species, the fluent will have problem in reading the .dat file. Do your have any idea on this problem? Thank you!
Howard is offline   Reply With Quote

Old   June 27, 2016, 18:31
Default
  #33
Member
 
Join Date: Oct 2015
Posts: 48
Rep Power: 11
masoudsh is on a distinguished road
Hi Joris

I have your problem too.
do you solve it?
please someone help me.
masoudsh is offline   Reply With Quote

Old   May 14, 2018, 03:40
Unhappy
  #34
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10
kk415 is on a distinguished road
hi Foamers

I am using foamDataToFluent for postProcessing. It works well and the last few message from terminal I can show as:

Time = 98
Converting field p
Converting field T
Converting field U

Time = 99
Converting field p
Converting field T
Converting field U

Time = 100
Converting field p
Converting field T
Converting field U

End

But when I load this data file in Fluent I can't get contour of temperature nor the wall heat flux. What could be the possible reason!!!
kk415 is offline   Reply With Quote

Old   December 14, 2020, 13:33
Default Same problem
  #35
Member
 
Rosario Arnau
Join Date: Feb 2017
Location: Spain
Posts: 57
Rep Power: 9
rarnaunot is on a distinguished road
Hi foamers,

It is an old thread but I have the same problems as you.

Quote:
Originally Posted by dogan View Post
Hi everyone,

i've tried to use the command "foamDataToFluent" as described in here, and i got ".dat" files for each time step of my simulation. Afterwards, i wanted to load the last step of ".dat" files to CFX5, but i got an warning message as follows:

" Note that for files other than CFX-Solver Results, global ranges are calculated for the used variables and the currently loaded timestep only. As more timesteps are loaded, global variable ranges are adjusted dynamically. Tip: To avoid dynamic range updates, you can use local variable ranges, or turn on pre-calculation of global ranges for all timesteps and all variables in : Edit>Options>CFD-Post>Files"

once i click on OK after this warning message, then i got the error message as follows :

"SEVERE
Operation failed. (System exception: Invalid fluent case file) "

So i am thinking of that the reason of this error message is the version i use in OpenFoam or in CFX. i am using OpenFOAM 2.1.x, and CFX14.0. so my question is, does anyone of you managed to do the conversion with those mentioned versions of O.F and CFX? or do you have any idea what the mistake may be?
thanks
I did the mesh and simulation and I would like to openthe mesh and data in CFD-Post. I did the foamMeshToFluent and foamDataToFluent .. I can see the mesh in CFX Post but I was not able to import the data results

I saved the .cas with the .msh but still unable to import the data results. Could be worng the name of the files with the time? Any guess?

Thanks,
rarnaunot is offline   Reply With Quote

Reply


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
FoamDataToFluent dnomdec OpenFOAM Post-Processing 8 July 31, 2013 12:07
Error whit foamDataToFluent matteo_gautero OpenFOAM 1 November 12, 2012 05:46
Velocity Components in foamDataToFluent flavio_pergolesi OpenFOAM Post-Processing 1 November 9, 2009 10:27
FoamDatatoFluent BC achuneka OpenFOAM Post-Processing 4 August 16, 2008 12:21
FoamDataToFluent Problem aganesan OpenFOAM Post-Processing 8 June 4, 2008 18:15


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