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

[Other] plot3DToFoam: converting backstep grids from NASA's website

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2013, 06:39
Default plot3DToFoam: converting backstep grids from NASA's website
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
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, 16:04
Default
  #2
New Member
 
Mateus Peixoto
Join Date: Dec 2014
Posts: 11
Rep Power: 11
adoledin is on a distinguished road
Hi Samuele,

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

Old   January 2, 2015, 16:51
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
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


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
Purpose and Map of this forum Tobi OpenFOAM Community Contributions 0 September 19, 2017 05:52
NASA's grids not working on SU2 gittagawa SU2 4 August 12, 2017 19:41
How to get su2 meshes from NASA's plot3D/cgns grids OVS SU2 4 February 29, 2016 12:07
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 09:48.