|
[Sponsors] |
Error "CGNS coordinates are not su2double precision" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 16, 2016, 12:43 |
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 |
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. 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 |
|
May 17, 2016, 10:51 |
|
#2 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 12 |
Which version of cgns lib you compiled? I use 3.2.1 and I had no problem in loading grids.
|
|
May 17, 2016, 11:09 |
|
#3 |
Member
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 12 |
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. |
|
May 30, 2016, 05:30 |
|
#4 |
New Member
Abhinandan Kumar Singh
Join Date: Apr 2016
Location: Germany
Posts: 4
Rep Power: 10 |
Hey,
I am also facing the same problem while loading my CGNS mesh file. what can be done further |
|
May 30, 2016, 07:11 |
|
#5 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10 |
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 ? |
|
May 30, 2016, 08:42 |
|
#6 |
New Member
Abhinandan Kumar Singh
Join Date: Apr 2016
Location: Germany
Posts: 4
Rep Power: 10 |
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 } -------------------------------------------------------- |
|
May 30, 2016, 08:51 |
|
#7 |
New Member
Join Date: Dec 2013
Location: Italy
Posts: 29
Rep Power: 12 |
Hi,
can you link the grid and configuration file? Which grid generator was used? |
|
Tags |
cgns error su2double |
|
|
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 |