CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

paraFoam -block

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 16, 2014, 04:35
Default paraFoam -block
  #1
Member
 
Join Date: May 2013
Posts: 50
Rep Power: 3
seav is on a distinguished road
Hi, I have been install OpenFOAM at my new machine - Arch Linux. After executing :
Code:
blockMesh
paraFoam -block
paraview window is appearing. However I cannot check the blocks. There arent any option for it at left side of panel.

What is a problem ? Is -block option still supported ?

seav
seav is offline   Reply With Quote

Old   March 16, 2014, 05:26
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings seav,

It would be helpful to know the following information:
  1. Which OpenFOAM version are you referring to?
  2. What installation instructions did you follow?
  3. Can you show an image of what you're seeing?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 16, 2014, 11:35
Default
  #3
Member
 
Join Date: May 2013
Posts: 50
Rep Power: 3
seav is on a distinguished road
I`ve installed previous version OpenFOAM 2.2.1. In the newest 2.3.x errors are the same.

I installed it by packer, a tool for pacman. It takes source code from Arch User Repository compile it to package and install them by pacman.

Code:
 blockMesh
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.1-57f3c3617a2d
Exec   : blockMesh
Date   : Mar 16 2014
Time   : 14:38:18
Host   : "archlinux"
PID    : 2687
Case   : /home/jils/OpenFOAM/jils-2.2.1/run/tutorials/incompressible/icoFoam/cavity
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
    "/home/jils/OpenFOAM/jils-2.2.1/run/tutorials/incompressible/icoFoam/cavity/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

	Basic statistics
		Number of internal faces : 0
		Number of boundary faces : 6
		Number of defined boundary faces : 6
		Number of undefined boundary faces : 0
	Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 0.1

Writing polyMesh
----------------
Mesh Information
----------------
  boundingBox: (0 0 0) (0.1 0.1 0.01)
  nPoints: 882
  nCells: 400
  nFaces: 1640
  nInternalFaces: 760
----------------
Patches
----------------
  patch 0 (start: 760 size: 20) name: movingWall
  patch 1 (start: 780 size: 60) name: fixedWalls
  patch 2 (start: 840 size: 800) name: frontAndBack

End
Code:
paraFoam -block
No1 attach.(from left)
It comes right after execute paraFoam.

No2 attach.
After picking OpenFOAM from list.

No3 attach.
When I am looking after "show points" checkbox, as I remember that was name of this checkbox.

No4 attach.
When I am switching from Points or Wireframe to Volume in checkbox above the sketch.

Moreover I am wondering if the calculations are correct. As I remeber cavity was calculating about 1 minute on Ubuntu. Now its like blink of an eye.
Code:
icoFoam
Result : http://http://wklej.to/L002M

I am sorry for chaotic replay but I am really confused what would happend to my OpenFOAM.

seav.
Attached Images
File Type: jpg 2014-03-16-151050_1366x768_scrot.jpg (48.8 KB, 6 views)
File Type: jpg 2014-03-16-151351_1366x768_scrot.jpg (51.5 KB, 5 views)
File Type: jpg 2014-03-16-151518_1366x768_scrot.jpg (51.8 KB, 7 views)
File Type: jpg 2014-03-16-151538_1366x768_scrot.jpg (31.7 KB, 3 views)
seav is offline   Reply With Quote

Old   March 16, 2014, 12:05
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi seav,

I'm not familiar with the OpenFOAM packages made available by the Arch Linux community, but from your description, my guess is that those packages are not taking into account building ParaView from source code and then building the OpenFOAM plugins for it.
I've taken a quick look into the AUR package list available for OpenFOAM and my guess from the list is that they merely change "paraFoam" to work well for the normal results, by using the file extension ".foam" instead of ".OpenFOAM". This means that it will only use the built-in reader that ParaView has got and unfortunately it does not yet have a reader for the "blockMeshDict" files.
The other possibility is that the ParaView AUR package for previous versions did have the necessary files for the OpenFOAM AUR package to build the official plug-ins.

The way I see it, you've got a few possible ways to address this:
  1. Check the Arch Linux forums and ask for help there from the maintainers of those packages. Or directly in the comment section for the main package maintenance system: https://aur.archlinux.org/packages/openfoam/
  2. Build OpenFOAM from source code yourself, including ParaView.
  3. Attempt to fix the ParaView package at AUR to also build the development packages and then fix the OpenFOAM package to also build the official plug-ins from OpenFOAM for ParaView.
  4. Ignore the "-block" option and switch to using SwiftBlock: http://openfoamwiki.net/index.php/Contrib/SwiftBlock


As for icoFoam and the cavity tutorial, only a high resolution case of the cavity tutorial would take a minute to run. With the default tutorial settings, it should not take more than a second to run it all, unless you have a really old computer, or are running remotely or inside a virtual machine without VT turned on in the BIOS.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 16, 2014, 13:13
Default
  #5
Member
 
Join Date: May 2013
Posts: 50
Rep Power: 3
seav is on a distinguished road
I do consider your replay Bruno. I need OpenFOAM for my thesis. If OpenFOAM still calculates properly and I can customize my blockMeshDict by SwiftBlock its fine for me. I will make full compilation in free time.

Thank you for your advice, its very usefull .

seav.
seav is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixer mesh - negative volume problem jadtwo OpenFOAM Native Meshers: blockMesh 2 November 6, 2014 17:37
foamLog not solving for Ux, Uy, Uz aerospain OpenFOAM Post-Processing 5 April 18, 2012 11:01
[ICEM] Quest for seemingly simple Blocking (degenerate block) la7low ANSYS Meshing & Geometry 0 July 12, 2011 20:48
Icem Mesh to Foam jphandrigan OpenFOAM Mesh Utilities 4 March 9, 2010 03:58
blockMesh: block with 6 vertexes dani OpenFOAM 3 June 25, 2009 14:13


All times are GMT -4. The time now is 10:28.