Does the Ensight reader module
Does the Ensight reader module of OpenFOAM 1.3 support Ensight 8.x or only Ensight 7.x ?
|
Works for me with Ensight 8 -
Works for me with Ensight 8 - no changes required.
Hrv |
really?
I think you have to
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? |
Hrv,
I have just tested the
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. |
run Ensight with the flag '-re
run Ensight with the flag '-readerdbg' and check if there are any errors related to the FOAM-reader!
|
there is indeed a problem with
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? |
I cannot build the library lib
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? |
Forget about my last message!
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? |
Hey Chris this is the error me
Hey Chris this is the error message I sent to you! Do you experieance the same problem on your maschine ?
|
I have tracked down my Ensight
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? |
Does nobody have an idea how t
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. |
you reader cannot loaded into
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. |
Thanks. We haven't got it here
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) |
no! Get unresolved symbols (se
no! Get unresolved symbols (seems like libOpenFOAM is missing)
|
the variable PROJECT_LIBS is n
the variable PROJECT_LIBS is not defined in my system. I cannot find a definition for this variable?
|
It is defined inside wmake onl
It is defined inside wmake only. Check your compilation rules in $WM_DIR/rules.
|
I see. But this is variable is
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' |
Hi foamers,
I have a x86_64
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 |
No, it works well in my case..
No, it works well in my case...
Do you execute foamToEnsight on the case you want to read in EnSight? |
If you are using the Ensight d
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 http://www.cfd-online.com/OpenFOAM_D...s/mime_txt.gif bashrc Note that the above shell script assumes that the normal Ensight profile has been called before the OpenFOAM profile. /mark |
All times are GMT -4. The time now is 05:37. |