|
[Sponsors] |
August 6, 2006, 07:08 |
Does the Ensight reader module
|
#21 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Does the Ensight reader module of OpenFOAM 1.3 support Ensight 8.x or only Ensight 7.x ?
|
|
August 6, 2006, 07:34 |
Works for me with Ensight 8 -
|
#22 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Works for me with Ensight 8 - no changes required.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
August 6, 2006, 07:50 |
really?
I think you have to
|
#23 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
really?
I think you have to change the Ensight enviroment variables in the OpenFOAM shell script for Ensight i.e: ENSIGHT7_READER=$FOAM_LIBBIN -> ENSIGHT8_READER=$FOAM_LIBBIN Am I wrong? |
|
August 6, 2006, 09:07 |
Hrv,
I have just tested the
|
#24 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Hrv,
I have just tested the Ensight read module but with no success. According to the OF-userguide there should be a OpenFOAM-entry in the format section of the Ensight-GUI but there is no entry like this. All enviroment variables are defined (according to OF-userguide) so I have no clue what is going wrong. |
|
August 6, 2006, 10:02 |
run Ensight with the flag '-re
|
#25 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
run Ensight with the flag '-readerdbg' and check if there are any errors related to the FOAM-reader!
|
|
August 6, 2006, 12:52 |
there is indeed a problem with
|
#26 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
there is indeed a problem with a unresolved symbol that's why Ensight cannot open the reader (libuserd-foam.so).
There is something wrong with my lPstream. I assume this is probably caused due some compiler mixtures! I have switched to the Intel Compiler but the compiling-script of OF compiles LAM with the system default compiler (in my case GNU gcc 3.3.3). Can anybody comment my statement? |
|
August 6, 2006, 16:55 |
I cannot build the library lib
|
#27 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
I cannot build the library libuserd-foam which is need for the Ensight reader module. The following errors showed up:
/usr/lib/crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:98: undefined reference to `main' Make/linuxGcc4DPOpt/libuserd.o(.text+0x29d9): In function `USERD_get_gold_part_build_info': : undefined reference to `Foam::fvMesh::boundary() const' Make/linuxGcc4DPOpt/libuserd.o(.text+0x516a): In function `USERD_set_filenames': : undefined reference to `Foam::fvMesh::fvMesh(Foam::IOobject const&)' Make/linuxGcc4DPOpt/libuserd.o(.gnu.linkonce.t._ZNK4Foam12fvPatchField INS_6Tenso rIdEEE4typeEv+0x21): In function `Foam::fvPatchField<foam::tensor<double> >::type() const': : undefined reference to `Foam::fvPatchField<foam::tensor<double> >::typeName' Make/linuxGcc4DPOpt/libuserd.o(.gnu.linkonce.t._ZNK4Foam12fvPatchField INS_6Vecto rIdEEE4typeEv+0x21): In function `Foam::fvPatchField<foam::vector<double> >::type() const': : undefined reference to `Foam::fvPatchField<foam::vector<double> >::typeName' Make/linuxGcc4DPOpt/libuserd.o(.gnu.linkonce.t._ZNK4Foam14GeometricFie ldINS_6Vec torIdEENS_12fvPatchFieldENS_7volMeshEE4typeEv+0x11 ): In function `Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>::type() const': : undefined reference to `Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>::typeName' Make/linuxGcc4DPOpt/libuserd.o(.gnu.linkonce.t._ZNK4Foam8particleINS_1 5passivePa rticleEE4typeEv+0x11): In function `Foam::particle<foam::passiveparticle>::type() const': . and lot more . Any suggestions? |
|
August 6, 2006, 17:03 |
Forget about my last message!
|
#28 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Forget about my last message!
I build successful libuserd-foam but Ensight still shows an error: initializing user defined readers ***>>>---------------------------------- ***>>> failed to find or open reader: /home/stefanke/OpenFOAM/OpenFOAM-1.3/lib/linuxI32DPOpt/libuserd-foam.so ***>>> dlerror() returns /home/stefanke/OpenFOAM/OpenFOAM-1.3/lib/linuxI32DPOpt/lam-7.1.1/libPstream.so: undefined symbo l: __gxx_personality_v0 Any ideas? |
|
August 6, 2006, 17:07 |
Hey Chris this is the error me
|
#29 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
Hey Chris this is the error message I sent to you! Do you experieance the same problem on your maschine ?
|
|
August 9, 2006, 13:20 |
I have tracked down my Ensight
|
#30 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
I have tracked down my Ensight problem but it is still unresolved:
This is the debug output of Ensight: failed to find or open reader: libuserd-foam.so dlerror() returns libOpenFOAM.so: undefined symbol: cplus_demangle Any suggestions? |
|
August 10, 2006, 09:49 |
Does nobody have an idea how t
|
#31 |
Member
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Does nobody have an idea how to solve my problem?
Note: the libuserd-foam.so was successfully build and is present in the lib directory. |
|
August 11, 2006, 01:53 |
you reader cannot loaded into
|
#32 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
you reader cannot loaded into Ensight because the function 'cplus_demange()' could not be found. Please relink the reader by the library 'libiberty' providing this function.
Modify your 'ensight76FoamExec/Make/options' and add the following entry to LIB_LIBS: -liberty This should fix your problem! Mattijs, could you please fix this in the official release. |
|
August 12, 2006, 08:09 |
Thanks. We haven't got it here
|
#33 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks. We haven't got it here so can you test if
LIB_LIBS = \ -lfiniteVolume \ -llagrangian \ -lfoamUtil \ $(PROJECT_LIBS) works? (PROJECT_LIBS should be -lOpenFOAM -liberty -ldl on Linux) |
|
August 12, 2006, 08:21 |
no! Get unresolved symbols (se
|
#34 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
no! Get unresolved symbols (seems like libOpenFOAM is missing)
|
|
August 12, 2006, 08:34 |
the variable PROJECT_LIBS is n
|
#35 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
the variable PROJECT_LIBS is not defined in my system. I cannot find a definition for this variable?
|
|
August 12, 2006, 09:00 |
It is defined inside wmake onl
|
#36 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
It is defined inside wmake only. Check your compilation rules in $WM_DIR/rules.
|
|
August 12, 2006, 09:20 |
I see. But this is variable is
|
#37 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
I see. But this is variable is emtpy for all rules!
btw: I think the name of the directory 'ensight76FoamExec' is not right any more since the reader module works with Ensight 8 as well. So perhaps you might swith this name to 'ensightFoamExec' |
|
February 28, 2007, 04:55 |
Hi foamers,
I have a x86_64
|
#38 |
New Member
matteo cerutti
Join Date: Mar 2009
Location: Florence, Tuscany, Italy
Posts: 10
Rep Power: 17 |
Hi foamers,
I have a x86_64 machine and I 've installed Ensight. It works quite well, but, when trying importing OF data, it doesn't recognizes the format of those data! Anybody has a such problem? thanks in advance Matteo |
|
February 28, 2007, 05:18 |
No, it works well in my case..
|
#39 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
No, it works well in my case...
Do you execute foamToEnsight on the case you want to read in EnSight? |
|
February 28, 2007, 06:07 |
If you are using the Ensight d
|
#40 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
If you are using the Ensight direct reader, you'll have a problem when you use 32bit OpenFOAM and 64bit Ensight. The only solution is to explicitly set CEI_ARCH to a 32bit version.
Attached is an updated version of the apps/ensightFoam/bashrc that should help bashrc Note that the above shell script assumes that the normal Ensight profile has been called before the OpenFOAM profile. /mark |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A questions about Ensight 8.2 | alan | EnSight | 2 | December 19, 2012 14:52 |
Ensight | Jo | Siemens | 1 | May 12, 2010 09:45 |
Using Ensight anyone? | vivek | FLUENT | 1 | May 12, 2010 09:40 |
Ensight Povray | Fab | EnSight | 1 | April 17, 2007 14:54 |
Export to ensight! | Anders Jönson | Siemens | 2 | March 29, 2000 07:03 |