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

How to open two case in paraview?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2009, 23:18
Default How to open two case in paraview?
  #1
New Member
 
Gy WANG
Join Date: May 2009
Posts: 1
Rep Power: 0
bowlderyu is on a distinguished road
Hello,all.
I am learning the tutorials by User Guide of OpenFOAM-1.5, but now a problem appears as discribed in the thread title.

I want to open the cases of cavity and cavityFine simultaneously. As metioned in the user guide, page 33, "For example, to load the cavityFIne case the file would be created by typing at the command prompt:....."
Here, does the command prompt mean the terminal?

But when I type the "cd..." and "touch" command, and then run "paraview", click "open" menu, the directory tree appears. But when I click the cavityFine.foam, the message appears "terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
aborted"

It's very appreciated to you for detail explaination.

I compiled OpenFOAM1.5 in debian lenny, with an error:
Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : ../src/configure
4.3.2
Minimum required: 4.2.0

gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.20 /bin/tar
icoFoam 1.5 ...AM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------

I don't know it is ok or not. But the cavity case works well.
bowlderyu is offline   Reply With Quote

Old   May 27, 2009, 03:25
Default
  #2
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
Quote:
Originally Posted by bowlderyu View Post
But when I click the cavityFine.foam, the message appears "terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
aborted"
There are other threads on the forum dealing with this. I'd suggest you also look there for more details. In short, however, opening cases with a ".foam" ending selects the OpenFOAM reader supplied with VTK. This reader is broken but there is a replacement from Takuya that does work (see wiki and/or other threads for details). Opening cases with an ".OpenFOAM" ending (eg, via paraFoam) selects the library-based reader supplied with the OpenFOAM distribution and should work without problems.
Finally, I'd suggest that you use the 1.5.x from the git repository - it contains a number of important bug fixes.
olesen is offline   Reply With Quote

Old   June 2, 2009, 05:20
Default Simple multiple region paraFoam wrapper
  #3
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
cliffoi is on a distinguished road
I've just dealt with the same issue myself. The wiki gives two suggestions to do this.
http://openfoamwiki.net/index.php/Ho...rocMultiregion
Based on the second option I put together a bash script which will allow you to open multiple region cases using a single command, e.g.

paraFoamMultiMesh . conjugateHeat solid1 fluid1 solid2 ...

The script is for OF version 1.4.1-dev with paraview 2.4.4 but it might save you some time or at least give you a starting point.
Attached Files
File Type: gz paraFoamMultiMesh.tar.gz (924 Bytes, 31 views)
cliffoi 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
Can't open Case and DATA File chern FLUENT 6 April 19, 2016 12:08
Performance of GGI case in parallel hannes OpenFOAM Running, Solving & CFD 26 August 3, 2011 04:07
[OpenFOAM] Paraview in Prallel (server-client) prapanj ParaView 11 September 24, 2010 08:12
icoFsiFoam case needed vivekcfd OpenFOAM 1 May 6, 2009 14:41
[OpenFOAM] ParaFoam cannot open icoFoam/cavity case Bob ParaView 1 April 2, 2009 05:34


All times are GMT -4. The time now is 04:11.