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

foamDataToFluent

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes
  • 5 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2014, 04:37
Default foamDataToFluent
  #1
Senior Member
 
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12
1988 is on a distinguished road
hello
I need to export OpenFoam 220 data to fluent for plotting axial velocity contours which I can't plot them with Paraview and I followed this instruction

http://www.cfd-online.com/OpenFOAM_D...es/1/1212.html

but It didn't solve my problem and I got this error :

--> FOAM FATAL IO ERROR:
cannot open file

file: /home/ali/OpenFOAM/ali-2.2.0/run/tutorials/incompressible/icoFoam/u/system/foamDataToFluentDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 87.

I would be so appreciate if someone give me detailed instruction .
thanks
1988 is offline   Reply With Quote

Old   March 25, 2014, 17:26
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
In /OpenFOAM-2.2.2/applications/utilities/postProcessing/dataConversion/foamDataToFluent you can find an exampe (which you have to copy into your case's system directory:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    note        "OpenFOAM to Fluent interface control dictionary";
    class       dictionary;
    object      foamDataToFluentDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

p               1;
U               2;

// ************************************************************************* //
I also used the following additional settings:
Code:
p               1;

U               2;

U.X             111;
U.Y             112;
U.Z             113;

T               3;

h               4;

k               5;

epsilon         6;

gamma           150;
sadjad.s, arvindpj, 1988 and 2 others like this.
jherb is offline   Reply With Quote

Old   March 30, 2014, 01:10
Default
  #3
Senior Member
 
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12
1988 is on a distinguished road
I got it .thanks.
It was really helpful but (.cas) file was not made and I just have (.dat) files for each time step so fluent can't open it and give me an error that (.cas) file in necessary.
1988 is offline   Reply With Quote

Old   March 30, 2014, 09:20
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
If I remember correctly, the .cas file contains the mesh. You can create it with foamMeshToFluent.

Quote:
Originally Posted by 1988 View Post
I got it .thanks.
It was really helpful but (.cas) file was not made and I just have (.dat) files for each time step so fluent can't open it and give me an error that (.cas) file in necessary.
jherb is offline   Reply With Quote

Old   March 30, 2014, 11:08
Default
  #5
Senior Member
 
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12
1988 is on a distinguished road
thanks it works
thanks for your attention and answers.
1988 is offline   Reply With Quote

Old   June 21, 2016, 09:27
Default
  #6
Member
 
Join Date: Oct 2015
Posts: 48
Rep Power: 10
masoudsh is on a distinguished road
Hi

I use foamDataToFluent and I get the uotput results in openfoam with Suffix .dat
then I bring it to CFD post but encounter to this problem :

cannot get mesh information.look likes mesh file is missing

I don't know how add mesh file to CFD post.
It's enough to put polymesh in folder that .dat existence

thanks
Masoud
masoudsh is offline   Reply With Quote

Reply

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
FoamDataToFluent dnomdec OpenFOAM Post-Processing 8 July 31, 2013 12:07
foamDataToFluent gives empty data files jcn2013 OpenFOAM Post-Processing 1 March 13, 2013 10:12
foamDataToFluent command dogan Main CFD Forum 0 January 22, 2013 13:07
foamDataToFluent greel OpenFOAM Post-Processing 0 October 6, 2011 15:38
FoamDatatoFluent BC achuneka OpenFOAM Post-Processing 4 August 16, 2008 12:21


All times are GMT -4. The time now is 08:09.