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

Error "CGNS coordinates are not su2double precision"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2016, 12:43
Default Error "CGNS coordinates are not su2double precision"
  #1
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 12
kmandar is on a distinguished road
Hi all,

I am trying to run SU2 with a CGNS grid. I am getting the following error, although the CGNS grid has coordinates in double precision:

Code:
CGNS coordinates are not su2double precision.
Does anyone know the reason for this and how to correct it?

I have compiled release 4.1.1 with the following features:
- parallel support
- CGNS support
- AD with --enable-autodiff --enable-direct-diff

I do not get any error with SU2 gird, but I do get one with a CGNS grid.

Any direction or hint will be useful.

Thanks,
Mandar
kmandar is offline   Reply With Quote

Old   May 17, 2016, 10:51
Default
  #2
New Member
 
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 12
Jiba is on a distinguished road
Which version of cgns lib you compiled? I use 3.2.1 and I had no problem in loading grids.
Jiba is offline   Reply With Quote

Old   May 17, 2016, 11:09
Default
  #3
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 12
kmandar is on a distinguished road
I am using CGNS version 3.3.0 (the current stable version).

Since I did not have a fortran 2003 compliant compiler, I compiled it with the option --without-fortran. However, I did not have any compile or build issues for CGNS. Also some of my other CGNS grids work just fine.
kmandar is offline   Reply With Quote

Old   May 30, 2016, 05:30
Default
  #4
New Member
 
Abhinandan Kumar Singh
Join Date: Apr 2016
Location: Germany
Posts: 4
Rep Power: 10
AbhinandanSingh is on a distinguished road
Hey,
I am also facing the same problem while loading my CGNS mesh file.
what can be done further
AbhinandanSingh is offline   Reply With Quote

Old   May 30, 2016, 07:11
Default
  #5
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hey guys,

first of all the error message is of course not correct. it should be "double" instead of "su2double", search and replace error Anyway, like already mentioned, could you try to use version 3.2.1 of the cgns library ?
talbring is offline   Reply With Quote

Old   May 30, 2016, 08:42
Default
  #6
New Member
 
Abhinandan Kumar Singh
Join Date: Apr 2016
Location: Germany
Posts: 4
Rep Power: 10
AbhinandanSingh is on a distinguished road
hey,
the error is same when tried with version 3.2.1 of the cgns library.
------------------------------------------------------------------------------------
Reading the CGNS file: WindTurbines_14.cgns.
CGNS file contains 1 database(s).
Database 1, Base: 1 zone(s), cell dimension of 2, physical dimension of 2.
Zone 1, Zone: 73594 vertices, 72799 cells, 73594 boundary vertices.
Reading grid coordinates.
Number of coordinate dimensions is 2.
Loading CoordinateX values into linear partitions.


!!! Error !!!
CGNS coordinates are not su2double precision.
Now exiting...
------------------------------------------------------------------------------
The current error is produced by the next lines in geometry_structure.cpp:

--------------------------------------------------------

if (datatype != RealDouble) {
printf("\n\n !!! Error !!!\n" );
printf(" CGNS coordinates are not su2double precision.\n");
printf(" Now exiting...\n\n");
#ifndef HAVE_MPI
exit(EXIT_FAILURE);
#else
MPI_Abort(MPI_COMM_WORLD,1);
MPI_Finalize();
#endif
}

--------------------------------------------------------
AbhinandanSingh is offline   Reply With Quote

Old   May 30, 2016, 08:51
Default
  #7
New Member
 
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 12
Jiba is on a distinguished road
Hi,

can you link the grid and configuration file? Which grid generator was used?
Jiba is offline   Reply With Quote

Reply

Tags
cgns error su2double


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
Coordinates conversion from cyclindrical to S1 Rotary surface coordinates yzeyue Main CFD Forum 2 March 17, 2015 04:03
[General] Spherical Coordinates Bing ParaView 0 June 10, 2014 07:58
Where to find airfoils with more coordinates pts? KB Main CFD Forum 2 March 23, 2008 23:18
Coordinate's tranformation tommy FLUENT 0 February 13, 2004 02:19
Calculation in cylindrical coordinates Franz Wingelhofer CFX 0 December 28, 1999 07:46


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