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

foamDataToFluent

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

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Display Modes
Old   March 23, 2014, 04:37
Default foamDataToFluent
  #1
Member
 
Ali reza
Join Date: Mar 2014
Posts: 95
Rep Power: 3
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: 291
Rep Power: 9
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;
1988 likes this.
jherb is offline   Reply With Quote

Old   March 30, 2014, 01:10
Default
  #3
Member
 
Ali reza
Join Date: Mar 2014
Posts: 95
Rep Power: 3
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, 08:20
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 291
Rep Power: 9
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, 10:08
Default
  #5
Member
 
Ali reza
Join Date: Mar 2014
Posts: 95
Rep Power: 3
1988 is on a distinguished road
thanks it works
thanks for your attention and answers.
1988 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FoamDataToFluent dnomdec OpenFOAM Post-Processing 8 July 31, 2013 11: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 14:38
FoamDatatoFluent BC achuneka OpenFOAM Post-Processing 4 August 16, 2008 11:21


All times are GMT -4. The time now is 03:44.