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

icoFoam won't run while Paraview is running

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2015, 07:03
Default icoFoam won't run while Paraview is running
  #1
New Member
 
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 11
MikeHersee is on a distinguished road
Hi, I've just (eventually) successfully installed OpenFOAM having never used it or any other CFD software previously, or even Linux to anything other than a trivial extent before. (But why not start on a new operating system with the most complex application possible, eh? What could possibly go wrong?) Anyway, I'm following the first OpenFOAM tutorial at http://openfoam.org/docs/user/cavity.php#x5-40002.1 .

I've worked my way round the fact that the 'Display' tab doesn't exist anymore in Paraview and has been absorbed into the 'properties' tab, and I believe I've successfully updated the thing that gets updated when you click on 'Accept', whatever it is. But when I go back to the terminal window and type icoFoam, it just sits there until I exit from paraview. ie, it appears that there is a record or file lock preventing IcoFoam from running. This isn't apparently what is supposed to happen, as according to the tutorial, icoFoam is supposed to run and update the data that Paraview is looking at, if I've understood it correctly.

When I exit paraview, icofoam suddenly takes off and spews a load of data at the terminal window that looks like a successful run. But when I go back into paraview, I can't seem to work out how to get at the data it has apparently produced.

I'm running a fresh installation of Linux Mint 17.1, which is based on Ubuntu 14.04, and OpenFOAM 2.3.1 with Paraview 4.1, all installed according to the instructions. Any help very much appreciated.
MikeHersee is offline   Reply With Quote

Old   January 4, 2015, 08:00
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Your confusion comes from the fact that terminal will echo what you're typing while paraview is running but won't execute what you've typed until you exit paraview.

So to resolve this "issue", you can a) send running paraview in background (using Ctrl-Z shortcut and bg command), or b) run paraFoam using

Code:
$ paraFoam &
this will send paraview in background from the very beginning, or c) execute paraFoam in separate terminal.
alexeym is offline   Reply With Quote

Old   January 6, 2015, 06:06
Default
  #3
New Member
 
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 11
MikeHersee is on a distinguished road
Thanks Alexey, that has worked. Still can't get the data to be displayed, but that's a different issue now, apparently due to differences in version of paraview, that the instructions don't answer....
MikeHersee 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
[General] Running Paraview parallel Tobi ParaView 10 January 25, 2023 12:15
OpenFOAM 2.2.1 on OpenSUSE 10.3 on Cluster? CFDnewbie147 OpenFOAM Installation 12 September 23, 2013 14:04
paraView in shell mode (python script running) Prosiaczek OpenFOAM 2 March 19, 2012 08:54
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52
Problem running paraFoam paraview command not found spdracer22 OpenFOAM Pre-Processing 2 December 7, 2005 06:32


All times are GMT -4. The time now is 06:35.