CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

plot3DToFoam: converting backstep grids from NASA's website

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 4, 2013, 07:39
Default plot3DToFoam: converting backstep grids from NASA's website
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I am trying to convert some Plot3D meshes into the OpenFOAM format. What I am doing is to download some meshes from, for example,
HTML Code:
http://turbmodels.larc.nasa.gov/backstep_grids.html
and to convert them using

Code:
plot3dToFoam name-of-the-mesh
But I get this error:

Code:
zampini@pc-zampini:~/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test$ plot3dToFoam  backstep5_1levdn.p2dfmt
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.0
Exec   : plot3dToFoam backstep5_1levdn.p2dfmt
Date   : Nov 04 2013
Time   : 12:30:12
Host   : "pc-zampini"
PID    : 22448
Case   : /home/zampini/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading 4 blocks
block 0 nx:257 ny:257 nz:97
block 1 nx:257 ny:385 nz:449


--> FOAM FATAL IO ERROR: 
wrong token type - expected int, found on line 4 the doubleScalar -130

file: backstep5_1levdn.p2dfmt at line 4.

    From function operator>>(Istream&, int&)
    in file primitives/ints/int/intIO.C at line 68.

FOAM exiting

zampini@pc-zampini:~/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test$
or this one:
Code:
zampini@pc-zampini:~/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test$ plot3dToFoam backstep5_0levdn.p2dfmt
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.0
Exec   : plot3dToFoam backstep5_0levdn.p2dfmt
Date   : Nov 04 2013
Time   : 12:25:43
Host   : "pc-zampini"
PID    : 22264
Case   : /home/zampini/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading 4 blocks
block 0 nx:513 ny:513 nz:193
block 1 nx:513 ny:769 nz:897
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
Annullato
zampini@pc-zampini:~/Documenti/PhD/corsi/physicsAndNumericalModellingOfTurbulentFlows/test$
Could anyone help, please?

Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   December 18, 2014, 17:04
Default
  #2
New Member
 
Mateus Peixoto
Join Date: Dec 2014
Posts: 5
Rep Power: 2
adoledin is on a distinguished road
Hi Samuele,

Did you solve the problem?
adoledin is offline   Reply With Quote

Old   January 2, 2015, 17:51
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear Adoledin,

indeed, what I did was to generate a new mesh similar to the one available in the link I post in my first message.

Sorry!
samiam1000 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
Does the grids topology matters? Anna Tian Main CFD Forum 11 August 19, 2014 02:20


All times are GMT -4. The time now is 05:50.