CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

CGNS converters available

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

Like Tree6Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   December 10, 2008, 17:40
Default Hello Bastien, Can you see
  #21
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello Bastien,

Can you see the BC information in the CGNS file using a third-party software like adfviewer from the cgnsTools?

One possible explanation is that your in-house program cannot handle unstructured mesh.

As for the conversion back to OpenFOAM, have you tried doing this back and forth conversion without going through your in-house software?

Can you share your CGNS file and/or your OpenFOAM case?

Martin
mbeaudoin is offline   Reply With Quote

Old   December 13, 2008, 01:25
Default Hello Martin, Thank you so m
  #22
New Member
 
srikara's Avatar
 
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 7
srikara is on a distinguished road
Hello Martin,
Thank you so much for the help. I will install the automake package and try to install the libraries again.

Thank you once again.
Srikara
srikara is offline   Reply With Quote

Old   December 23, 2008, 00:40
Default Hello Martin, I installed au
  #23
New Member
 
srikara's Avatar
 
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 7
srikara is on a distinguished road
Hello Martin,
I installed automake and ran the ./configure command and ./Allclean commands which work perfectly. But when I run the ./Allwmake command I get a message saying " No rule to make target base.lo required by libcgnsoo3.la".
I searched on other linux forums for an answer. I found out I had a few other packages missing as well. But nothing seems to be working. I have already spent a week trying to find a solution. Do you know if I am missing any other package or do I have to modify the ./Allwmake script? I am just posting the last 20 lines of my session file here:

+ make

cd . && /bin/sh /home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0/config/mis sing --run autoheader

rm -f stamp-h1

touch config.h.in

make all-recursive

make[1]: Entering directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0'

Making all in src

make[2]: Entering directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0/src'

make[2]: *** No rule to make target `base.lo', needed by `libcgnsoo3.la'. Stop.

make[2]: Leaving directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0'

make: *** [all] Error 2

+ make install

Making install in src

make[1]: Entering directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0/src'

make[1]: *** No rule to make target `base.lo', needed by `libcgnsoo3.la'. Stop.

make[1]: Leaving directory `/home/smahishi/OpenFOAM/smahishi-1.5/TurboMachinery/src/libcgnsoo_3.0/src'

make: *** [install-recursive] Error 1

+ popd

Could you please help me out with this?

Thank you,
Srikara
srikara is offline   Reply With Quote

Old   January 27, 2009, 13:32
Default I am a researcher uses OF-1.4.
  #24
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
I am a researcher uses OF-1.4.1, and I w'd like installig CGNSCONVERTER , but, I didn't know if this website is applicable for this or not ,
http://openfoamwiki.net/index.php/Si...GNS_Converters
because i find in it OF-1.5:
still I followed the command lines, but when I type. / Allwmake of 2.2, I receive the following message:

make[1]: entrant dans le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
cc -DPROTOTYPE -O2 -I../common -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5 -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5/adf -c adfwish.c
adfwish.c:15:16: error: tk.h: Aucun fichier ou répertoire de ce type
adfwish.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c: In function 'main':
adfwish.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c:65: error: 'Tcl_Interp' undeclared (first use in this function)
adfwish.c:65: error: (Each undeclared identifier is reported only once
adfwish.c:65: error: for each function it appears in.)
adfwish.c:65: error: 'interp' undeclared (first use in this function)
adfwish.c:78: error: 'Tcl_AppInit' undeclared (first use in this function)
adfwish.c: In function 'Tcl_AppInit':
adfwish.c:103: error: expected declaration specifiers before 'Tcl_Interp'
adfwish.c:105: error: 'TCL_ERROR' undeclared (first use in this function)
adfwish.c:111: error: 'Tk_SafeInit' undeclared (first use in this function)
adfwish.c:152: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
adfwish.c:153: error: 'TCL_OK' undeclared (first use in this function)
make[1]: *** [adfwish.o] Erreur 1
make[1]: quittant le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
make: *** [prog-adfviewer] Erreur 2
----- adfviewer -----
make[1]: entrant dans le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
installing shell scripts to /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/bin
cc -DPROTOTYPE -O2 -I../common -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5 -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5/adf -c adfwish.c
adfwish.c:15:16: error: tk.h: Aucun fichier ou répertoire de ce type
adfwish.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c: In function 'main':
adfwish.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c:65: error: 'Tcl_Interp' undeclared (first use in this function)
adfwish.c:65: error: (Each undeclared identifier is reported only once
adfwish.c:65: error: for each function it appears in.)
adfwish.c:65: error: 'interp' undeclared (first use in this function)
adfwish.c:78: error: 'Tcl_AppInit' undeclared (first use in this function)
adfwish.c: In function 'Tcl_AppInit':
adfwish.c:103: error: expected declaration specifiers before 'Tcl_Interp'
adfwish.c:105: error: 'TCL_ERROR' undeclared (first use in this function)
adfwish.c:111: error: 'Tk_SafeInit' undeclared (first use in this function)
adfwish.c:152: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
adfwish.c:153: error: 'TCL_OK' undeclared (first use in this function)
make[1]: *** [adfwish.o] Erreur 1
make[1]: quittant le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
make: *** [install-adfviewer] Erreur 2


Don't forget to add the following directory to your path in order to access the CGNS Tools:
/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/bin
~/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5
hamdi@nrj1pc75:~/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5$ Best regards.

can any body say me which wrong!
hamcer is offline   Reply With Quote

Old   January 27, 2009, 17:57
Default Bonjour Hamdi, Basically, y
  #25
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Bonjour Hamdi,

Basically, you are missing the dev package for Tcl/Tk on your system.

>>> adfwish.c:15:16: error: tk.h: Aucun fichier ou répertoire de ce type


Tcl/Tk is necessary for compiling the cgnstools, which are quite handy to have around when playing with CGNS files.

Martin
mbeaudoin is offline   Reply With Quote

Old   January 28, 2009, 16:30
Default Thank you for your reply and h
  #26
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Thank you for your reply and help;
i did what you said to me , I have installed Tcl/Tk on my system, it runs fifty Ok ,but, i still have this message when i do this command line in section 2.3:

cd $WM_PROJECT_USER_DIR/TurboMachinery/src/cgnstools_2.5
tar -zxvf ./cgnstools-2-5-2.tar.gz
./Allwmake
....
....
...
Don't forget to add the following directory to your path in order to access the CGNS Tools:
/home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstools/plat forms/linux64GccDPOpt/bin
~/OpenFOAM/Hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5

Thank you
Hamdi
hamcer is offline   Reply With Quote

Old   January 28, 2009, 17:25
Default This is not an error message.
  #27
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
This is not an error message.

It means that the cgnstools applications (adfviewer, etc) are installed under this directory.

Configure your PATH accordingly if you plan on using the cgnstools.

Otherwise, just forget about it.

Martin
mbeaudoin is offline   Reply With Quote

Old   January 29, 2009, 05:03
Default Thanks for this reply, I Ch
  #28
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Thanks for this reply,

I Chose to forget about it,
but, in section 3 when I type ./Allrun , I have this message :
./Allrun: line 8: cgnsToFoam: command not found
Can't open constant/polyMesh/boundary: No such file or directory at -e line 3.
Running simpleFoam...


--> FOAM FATAL ERROR : Cannot find file "points" in directory "constant/polyMesh"

From function Time::findInstance(const word& dir, const word& name)
in file db/Time/findInstance.C at line 133.

FOAM exiting

Done.
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : blockMesh .. case
Date : Jan 29 2009
Time : 09:49:46
Host : nrj0pc238
PID : 24061
Root : ..
Case : case
Nprocs : 1
Create time


Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty

Check block mesh topology

Basic statistics
Number of internal faces : 3
Number of boundary faces : 18
Number of defined boundary faces : 18
Number of undefined boundary faces : 0

Checking patch -> block consistency

Creating block offsets

Creating merge list .

Creating points

Creating cells

Creating patches

Creating mesh from block mesh

Default patch type set to empty

Creating merge patch pairs


Writing polyMesh

end
Running simpleFoam...
./Allrun: line 14: foamToCGNS: command not found
Done.
ln: création d'un lien symbolique `mesh.cgns' vers `../test2/case/ConversionCGNS/*.cgns': Le fichier existe.
./Allrun: line 10: cgnsToFoam: command not found
Running simpleFoam...
Done.
[Hamdi@nrj0pc238 cgnsConverters]$

although the script ./Allrun exists in $WM_PROJECT_USER_DIR/TurboMachinery/tutorials/cgnsConverters folder

Thanks again.
Hamdi
hamcer is offline   Reply With Quote

Old   January 29, 2009, 12:29
Default Hello Hamdi. Well, it looks
  #29
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello Hamdi.

Well, it looks like cgnsToFoam is not available, meaning that the compilation of cgnsToFoam failed somehow.

Would you mind sending me the complete output generated when trying to compile cgnsToFoam?

Email is fine.

Martin
mbeaudoin is offline   Reply With Quote

Old   January 29, 2009, 13:06
Default Thanks for reply cd $WM_PRO
  #30
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Thanks for reply

cd $WM_PROJECT_USER_DIR/TurboMachinery/applications
./Allclean
./Allwmake

this gives:

[Hamdi@nrj0pc238 applications]$ ./Allwmake
+ cd utilities
+ wmake all
make[1]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh »
make[2]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn »
make[3]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /props »
make[3]: Rien à faire pour « application ».
make[3]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /props »
make[3]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp »
make[4]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/props »
make[4]: Rien à faire pour « application ».
make[4]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/props »
make[4]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/prop-base »
make[4]: Rien à faire pour « application ».
make[4]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/prop-base »
make[4]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/text-base »
make[4]: Rien à faire pour « application ».
make[4]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp/text-base »
make[3]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /tmp »
make[3]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /prop-base »
make[3]: Rien à faire pour « application ».
make[3]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /prop-base »
make[3]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /text-base »
make[3]: Rien à faire pour « application ».
make[3]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn /text-base »
make[2]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/.svn »
make[2]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/conv ersion »
make[3]: entrant dans le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/conv ersion/cgnsToFoam »
SOURCE=cgnsToFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -W -Wno-unused-parameter -Wno-old-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/Hamdi/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/Hamdi/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -I/home/Hamdi/OpenFOAM/OpenFOAM-1.4.1/src/dynamicMesh/lnInclude -I/home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/co nversion/cgnsToFoam/../../../../../src/cgnslib_2.5/platforms/linux64GccDPOpt/inc lude -I/home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/co nversion/cgnsToFoam/../../../../../src/libcgnsoo_3.0/platforms/linux64GccDPOpt/i nclude -IlnInclude -I. -I/home/Hamdi/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -DOPENFOAM_VERSION=141 -c $SOURCE -o Make/linux64GccDPOpt/cgnsToFoam.o
cgnsToFoam.C:43:35: error: pointVolInterpolation.H: Aucun fichier ou répertoire de ce type
FoamReplaceChar.H:32: warning: 'std::string FoamReplaceChar(const std::string&, char, char)' defined but not used
make[3]: *** [Make/linux64GccDPOpt/cgnsToFoam.o] Erreur 1
make[3]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/conv ersion/cgnsToFoam »
make[2]: *** [cgnsToFoam] Erreur 2
make[2]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh/conv ersion »
make[1]: *** [conversion] Erreur 2
make[1]: quittant le répertoire « /home/Hamdi/OpenFOAM/Hamdi-1.4.1/TurboMachinery/applications/utilities/mesh »
make: *** [mesh] Erreur 2

Hamdi
hamcer is offline   Reply With Quote

Old   January 29, 2009, 15:14
Default Hello Hamdi, >>> cgnsToFoam
  #31
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello Hamdi,

>>> cgnsToFoam.C:43:35: error: pointVolInterpolation.H: Aucun fichier ou répertoire de ce type

You need to adjust the file cgnsToFoam/Make/options when compiling for OpenFOAM 1.4.1.

The necessary adjustment is documented in the file cgnsToFoam/Make/options.

I have just made some modification to section "2.4 Compiling the CGNS converters" on the Wiki page so this information will be easier to find for now on.

Sorry about that one.

Martin
mbeaudoin is offline   Reply With Quote

Old   January 30, 2009, 09:54
Default Hello Martin! Thanks for th
  #32
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Hello Martin!

Thanks for this help, I followed what you writen in Wiki, and now it works well.

Thanks again.

Hamdi
hamcer is offline   Reply With Quote

Old   February 10, 2009, 19:12
Default Hi foamers! I installed the
  #33
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Hi foamers!

I installed the CGNSconvertor in redhat succefully (of course with wiki web) , but, now I'm installing it in ubuntu 8.10 32 bit in my laptop , and I have had an error when I compiled the companion libraries :

+ wmake libso OpenFoamTurbo
wmakeLnInclude: linking include files to /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/OpenFoamTurbo/lnInclude

Making dependency list for source file finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DfixedValu eFvPatchFields.C
Making dependency list for source file finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRawData.C
SOURCE=finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1Dfi xedValueFvPatchFields.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/profile1DfixedValueFvPatchFields.o
SOURCE=finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DRa wData.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/hamdi/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/profile1DRawData.o
'/home/hamdi/OpenFOAM/hamdi-1.5/lib/linuxGccDPOpt/libOpenFoamTurbo.so' is up to date.
+ pwd
+ CGNSLIBHOME=/home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5
+ [ -e /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5 -a ! -r /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms/linuxGcc DPOpt/lib/libcgns_2.5.a ]
+ pushd /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5
./Allwmake: 1: pushd: not found
+ ./configure --prefix=/home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms /linuxGccDPOpt
./Allwmake: 1: ./configure: not found
+ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
+ mkdir -p /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms/linuxGcc DPOpt/include
+ mkdir -p /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms/linuxGcc DPOpt/lib
+ make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
+ ln -s /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms/linuxGcc DPOpt/lib/libcgns.a /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5/platforms/linuxGcc DPOpt/lib/libcgns_2.5.a
+ popd
./Allwmake: 1: popd: not found
+ pwd
+ LIBCGNSOOHOME=/home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/libcgnsoo_3.0
+ [ -e /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/libcgnsoo_3.0 -a ! -r /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/libcgnsoo_3.0/platforms/linuxG ccDPOpt/lib/libcgnsoo3.a ]
+ pushd /home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/libcgnsoo_3.0
./Allwmake: 1: pushd: not found
+ ./bootstrap
./Allwmake: 1: ./bootstrap: not found
+ ./configure --prefix=/home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/libcgnsoo_3.0/platfor ms/linuxGccDPOpt --with-CGNSLIBHOME=/home/hamdi/OpenFOAM/hamdi-1.5/TurboMachinery/src/cgnslib_2.5 /platforms/linuxGccDPOpt
./Allwmake: 1: ./configure: not found
+ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
+ make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
+ popd
./Allwmake: 1: popd: not found

Thanks in advance for help.
hamcer is offline   Reply With Quote

Old   February 10, 2009, 22:03
Default My mistake, pushd and popd are
  #34
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
My mistake, pushd and popd are not available for /bin/sh under Ubuntu.

The fix is now available on openfoam-extend.

Just do a "svn update" of your local copy of the TurboMachinery Breeder project.

Martin
mbeaudoin is offline   Reply With Quote

Old   February 20, 2009, 14:07
Default hi ! Martin, It has a few d
  #35
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
hi ! Martin,

It has a few days when I put a question about an Pelton injector (nozzle), you can see :

http://www.cfd-online.com/cgi-bin/Op...cus/discus.cgi. but I didn't recieved any answer.

In fact I looking for a case which talking about a twophasic flow in axisymetric geometry preprocessing with a RANS turbulence.

some ideas will be welcome.

Hamdi.
hamcer is offline   Reply With Quote

Old   February 20, 2009, 23:29
Default Hamdi, This thread is about
  #36
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hamdi,

This thread is about the CGNS converters.

Please stop cross-posting or hijaking threads like this, you are just injecting noise into the Forum.

And no, I cannot help you with your twophasic case.

Martin
mbeaudoin is offline   Reply With Quote

Old   February 21, 2009, 10:18
Default hello! Martin I apologize t
  #37
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
hello! Martin

I apologize to all foamers to this question that I asked, I was really stick, and my thanks to you for the support that you have done for me to install the CGNS converter few days ago, the converter is installed in centos5. 2 (redhat)
I apologize again.

Hamdi.
hamcer is offline   Reply With Quote

Old   February 26, 2009, 15:10
Default Hello Martin! I returned on d
  #38
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Hello Martin!
I returned on debian to install the CGNSFOAM converter, I done what you told me there are a few days (I typed "svn update") but I always receive the following message when I compile the libraries of the converter (if I made mistakes that because I have'nt a great experience in lunix):

~/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstools ~/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5
loading cache ./config.cache
checking if gcc is requested... no
checking for cc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking if compiler supports prototyping... yes
checking for object suffix... (cached) o
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking if debugging is enabled... no
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if CGNS directory was specified... ../../cgnslib_2.5
checking if system was specified... no
checking if 64bit support is requested... no
checking cgsystem... LINUX
checking if cutting plane is requested... yes
checking if mesh boundaries is requested... yes
checking for matherr in -lm... (cached) yes
checking return type of signal handlers... (cached) void
checking if ADFH directory was specified... not used
checking how to run the C preprocessor... (cached) cc -E
checking for X... (cached) libraries , headers
checking if Tcl directory was specified... no
checking if Tk directory was specified... no
checking for installed version of Tk... /usr/lib
checking for GL/gl.h... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking if multi-platform support is requested... no
checking where to install executables... /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/bin
checking where to install Tcl scripts... /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/share/cgnstools
checking whether make sets ${MAKE}... (cached) yes
Makefile already exists - renamed to Makefile.bak
make.defs already exists - renamed to make.defs.bak
cgconfig already exists - renamed to cgconfig.bak
creating ./config.status
creating Makefile
creating make.defs
creating cgconfig
----- adfviewer -----
make[1]: entrant dans le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
cc -DPROTOTYPE -O2 -I../common -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5 -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5/adf -c adfwish.c
adfwish.c:15:16: error: tk.h: Aucun fichier ou répertoire de ce type
adfwish.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c: In function 'main':
adfwish.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c:65: error: 'Tcl_Interp' undeclared (first use in this function)
adfwish.c:65: error: (Each undeclared identifier is reported only once
adfwish.c:65: error: for each function it appears in.)
adfwish.c:65: error: 'interp' undeclared (first use in this function)
adfwish.c:78: error: 'Tcl_AppInit' undeclared (first use in this function)
adfwish.c: In function 'Tcl_AppInit':
adfwish.c:103: error: expected declaration specifiers before 'Tcl_Interp'
adfwish.c:105: error: 'TCL_ERROR' undeclared (first use in this function)
adfwish.c:111: error: 'Tk_SafeInit' undeclared (first use in this function)
adfwish.c:152: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
adfwish.c:153: error: 'TCL_OK' undeclared (first use in this function)
make[1]: *** [adfwish.o] Erreur 1
make[1]: quittant le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
make: *** [prog-adfviewer] Erreur 2
----- adfviewer -----
make[1]: entrant dans le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
installing shell scripts to /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/bin
cc -DPROTOTYPE -O2 -I../common -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5 -I/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnslib_2.5/adf -c adfwish.c
adfwish.c:15:16: error: tk.h: Aucun fichier ou répertoire de ce type
adfwish.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c: In function 'main':
adfwish.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
adfwish.c:65: error: 'Tcl_Interp' undeclared (first use in this function)
adfwish.c:65: error: (Each undeclared identifier is reported only once
adfwish.c:65: error: for each function it appears in.)
adfwish.c:65: error: 'interp' undeclared (first use in this function)
adfwish.c:78: error: 'Tcl_AppInit' undeclared (first use in this function)
adfwish.c: In function 'Tcl_AppInit':
adfwish.c:103: error: expected declaration specifiers before 'Tcl_Interp'
adfwish.c:105: error: 'TCL_ERROR' undeclared (first use in this function)
adfwish.c:111: error: 'Tk_SafeInit' undeclared (first use in this function)
adfwish.c:152: error: 'TCL_GLOBAL_ONLY' undeclared (first use in this function)
adfwish.c:153: error: 'TCL_OK' undeclared (first use in this function)
make[1]: *** [adfwish.o] Erreur 1
make[1]: quittant le répertoire « /home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/adfviewer »
make: *** [install-adfviewer] Erreur 2


Don't forget to add the following directory to your path in order to access the CGNS Tools:
/home/users/hamdi/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5/cgnstool s/platforms/linuxGccDPOpt/bin
~/OpenFOAM/hamdi-1.4.1/TurboMachinery/src/cgnstools_2.5


Thanks in advance.

Hamdi.
hamcer is offline   Reply With Quote

Old   February 27, 2009, 12:09
Default Hamdi, You already asked th
  #39
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hamdi,

You already asked the exact same question one month ago, and I already provided you with the answer.

Just scroll back a little bit....

Martin
mbeaudoin is offline   Reply With Quote

Old   February 27, 2009, 13:06
Default Hi, Martin Thanks for repply
  #40
Member
 
hamdi
Join Date: Mar 2009
Posts: 72
Rep Power: 7
hamcer is on a distinguished road
Hi, Martin
Thanks for repply

Yes I already installed tcl/tk, in debian and ubuntu by: "apt-get install " command, but, I still have the errors, I think I should do modifications in Allwmake file! I don't know!
I have not had this pb in redhat (centos).

Thanks.
hamcer 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
CGNS Prateek CFX 3 September 22, 2008 06:58
CGNS help vipin Main CFD Forum 1 June 28, 2008 10:59
CGNS help vipin CFX 0 June 6, 2008 04:01
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34
CGNS Steven Beale Phoenics 1 September 14, 2002 06:41


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