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

Ensight

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2006, 07:08
Default Does the Ensight reader module
  #21
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
Does the Ensight reader module of OpenFOAM 1.3 support Ensight 8.x or only Ensight 7.x ?
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 07:34
Default Works for me with Ensight 8 -
  #22
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Works for me with Ensight 8 - no changes required.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 6, 2006, 07:50
Default really? I think you have to
  #23
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 09:07
Default Hrv, I have just tested the
  #24
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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.
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 10:02
Default run Ensight with the flag '-re
  #25
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
run Ensight with the flag '-readerdbg' and check if there are any errors related to the FOAM-reader!
stefanke is offline   Reply With Quote

Old   August 6, 2006, 12:52
Default there is indeed a problem with
  #26
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 16:55
Default I cannot build the library lib
  #27
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 17:03
Default Forget about my last message!
  #28
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 6, 2006, 17:07
Default Hey Chris this is the error me
  #29
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
Hey Chris this is the error message I sent to you! Do you experieance the same problem on your maschine ?
stefanke is offline   Reply With Quote

Old   August 9, 2006, 13:20
Default I have tracked down my Ensight
  #30
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 10, 2006, 09:49
Default Does nobody have an idea how t
  #31
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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.
chris1980 is offline   Reply With Quote

Old   August 11, 2006, 01:53
Default you reader cannot loaded into
  #32
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
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.
stefanke is offline   Reply With Quote

Old   August 12, 2006, 08:09
Default Thanks. We haven't got it here
  #33
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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)
mattijs is offline   Reply With Quote

Old   August 12, 2006, 08:21
Default no! Get unresolved symbols (se
  #34
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
no! Get unresolved symbols (seems like libOpenFOAM is missing)
stefanke is offline   Reply With Quote

Old   August 12, 2006, 08:34
Default the variable PROJECT_LIBS is n
  #35
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
the variable PROJECT_LIBS is not defined in my system. I cannot find a definition for this variable?
stefanke is offline   Reply With Quote

Old   August 12, 2006, 09:00
Default It is defined inside wmake onl
  #36
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
It is defined inside wmake only. Check your compilation rules in $WM_DIR/rules.
mattijs is offline   Reply With Quote

Old   August 12, 2006, 09:20
Default I see. But this is variable is
  #37
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
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'
stefanke is offline   Reply With Quote

Old   February 28, 2007, 04:55
Default 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
matteoc is on a distinguished road
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
matteoc is offline   Reply With Quote

Old   February 28, 2007, 05:18
Default 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
fra76 is on a distinguished road
No, it works well in my case...
Do you execute foamToEnsight on the case you want to read in EnSight?
fra76 is offline   Reply With Quote

Old   February 28, 2007, 06:07
Default If you are using the Ensight d
  #40
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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
olesen is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 01:44.