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

DxFoam reader update

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2007, 11:25
Default Thanks for the response, using
  #21
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Thanks for the response, using the manuals I could figure things out. We also got only a couple of Tecplot licenses and more and more people are going to use those. Although Tecplot works perfectly using macros and scripting for postprocessing a lot of data (unsteady 3D), I am interested in using a good alternative.

Alright, I typed: dxFoam simple in the $FOAM_RUN/tutorials/icoFoam dir and it loads the cavity case (indeed the first one its encounters).

When I press the 'execute once' button (to get the image window, according to the manual) I get the following error:

ERROR: Image: AutoAxes: Invalid data: cannot open font fixed

How can I solve this?

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   February 24, 2007, 11:31
Default Hm, that is strange, but you c
  #22
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hm, that is strange, but you can disable the AutoAxes: double click on the "Image" control (the green rectangle on which it is written Image), then go to Options and disable AutoAxes.


Dragos
dmoroian is offline   Reply With Quote

Old   February 26, 2007, 11:14
Default mmm, strange. I start using: d
  #23
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
mmm, strange. I start using: dxFoam simple, and immediately it fails to open a directory (does not says which one its expecting).
After that the editor is opened, the image button is present, but I am not able to click on it (to disable the autoaxes).

Could the problem be caused by the fact that I am using version 4.4.0. I got problems installing 4.4.4 (binary as well as from source).

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   February 27, 2007, 07:14
Default Problems solved: I had to fix
  #24
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Problems solved: I had to fix the path in ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/apps/dxFoam/bashrc

How can I visualise the grid on a few patches, I dont want to see the internal grid.

Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   February 27, 2007, 10:27
Default In the simple.net, there is a
  #25
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
In the simple.net, there is a ShowBoundary module which shows all the boundaries of the computational domain. If you add a ShowConnections to it, then it will print the mesh on the boundaries:{ShowConnections}

Dragos
simple.net
dmoroian is offline   Reply With Quote

Old   February 27, 2007, 15:54
Default Allright thanks. I find workin
  #26
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Allright thanks. I find working with openDX not very easy and straightforward. Right now I managed to use the postFoam.net and simple.net macro files, but the first is very complex, while simple.net only has a little number of options.

1) How do you extend simple.net? By coding or by creating extra blocks in the editor?

2) How do I show the grid on a selection of patches. What kind of block do I have to create in the editor for that?

Thanks,
Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   February 28, 2007, 06:22
Default Hello Frank, 1) The easiest w
  #27
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hello Frank,
1) The easiest way to change a net is through the visual editor (add green rectangles in the window), but you can also edit directly the net file using a simple text editor.
2) The information about names of boundaries is not, as far as I know, included in the reader. If you want to select different surfaces, you can use modules Mark->Include->Unmark, which enable you to get only the boundaries you need based on different criteria (dimension for instance). In the attached image, I selected only the mesh on the upper boundary:
dmoroian is offline   Reply With Quote

Old   February 28, 2007, 07:29
Default Thanks, I begin to understand
  #28
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18
lr103476 is on a distinguished road
Thanks, I begin to understand the way openDX works. I need to show the mesh on a moving object, using the dimension to include/exclude does not work for that purpose. Tecplot is far more userfriendly, but I need polyhedrals at mesh coarsening regions.

Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   February 28, 2007, 07:59
Default If you have any other way of i
  #29
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
If you have any other way of identifying the object you want to plot (like a flag on the cell for instance), than you can use that instead of the dimension.
Until now, I did not find a tecplot feature that could not be at least simulated by opendx.

Dragos
dmoroian is offline   Reply With Quote

Old   June 8, 2007, 15:44
Default Hrv: What modifications do I n
  #30
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Hrv: What modifications do I need to make to get dxFoamExec compiled on OF 1.4. It appears that lots of tetDecomp* include files are needed?
msrinath80 is offline   Reply With Quote

Old   June 12, 2007, 10:30
Default Hello again everyone! Has anyo
  #31
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Hello again everyone! Has anyone managed to get dxFoamExec running in OpenFOAM 1.4? If so, I would appreciate if you could share the procedure you followed. Thanks in advance!
msrinath80 is offline   Reply With Quote

Old   July 10, 2007, 11:11
Default Hi FoamWorld, There seems t
  #32
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 17
ed_teller is on a distinguished road
Hi FoamWorld,

There seems to be some kind of Prob with dxFoamExec in release version of OF 1.3...

I follow the instructions in this post, i dowload dxFoamExec_HJ_21Feb2007.tgz from the link above, unpack it in ~/../utilities/postprocessing/graphics/dx or whatever, replace lagrangianSubDir by lagrangian, and comment out lines 234-254 in foamChangeTime.C, finally when i type wmake in the ../dxFoamExec directory, the compilation starts, but ends up prematurely with a cryptic message... Obviously that dxFoam simple never finds the path to dxFoamExec that is not built...

What am i doing wrong here...?

Thanks everyone.. :-)
ed_teller is offline   Reply With Quote

Old   July 16, 2007, 09:40
Default Hello World, I definitely w
  #33
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 17
ed_teller is on a distinguished road
Hello World,

I definitely would like to set OpenDX working w/ OpenFOAM, since some of its postprocessing features are more developed than ParaView, but somehow i am missing something in the sequence that i used to try to get dxFoamExec "wmaked" under Novell Suse 10.1... could somebody out there help me pls...?

Thanks

Alexandre
ed_teller is offline   Reply With Quote

Old   July 16, 2007, 10:06
Default Hrv: Have you had time to try
  #34
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Hrv: Have you had time to try and port dxFoamexec to OF 1.4? Any help is appreciated. Thanks!
msrinath80 is offline   Reply With Quote

Old   August 10, 2007, 08:32
Default Hi all, I am just trying to
  #35
Senior Member
 
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17
tehache is on a distinguished road
Hi all,

I am just trying to get into using dx with openfoam.
The link to dxFoamExec Hrvoje posted above does not work for me. I also had a look at http://powerlab.fsb.hr/ped/kturbo/OpenFOAM, but could not find a dxFoam. Is it perhaps included somewhere else?
(did not mention I also did not find it in my OpenFOAM1.4 installation..)

Any hints?

Thank you!

Thomas
tehache is offline   Reply With Quote

Old   August 10, 2007, 17:39
Default Thomas, it's a little complica
  #36
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Thomas, it's a little complicated. dxFoam was present in one of the ancient releases 1.1 or 1.2. So you need some sources from those versions. Then you combine with dxFoamExec after building OpenDX with shared library support so that you can use dxFoam. I've done it in OpenFOAM 1.3. Since some of the tetdecomposition stuff has been removed from 1.4 dxFoamExec will not build without modifications. I have not had the inspiration to get it to work on 1.4 yet. Maybe I will try again this weekend. Will keep you posted.
msrinath80 is offline   Reply With Quote

Old   August 10, 2007, 17:50
Default Don't waste too much effort -
  #37
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Don't waste too much effort - I've got a working version for 1.4 and 1.4. release. This also applies to the tet-FEM mesh motion (much faster now) and various other bits and bobs.

For starters, \attach(dxFoamExec.tgz,dxFoamExec.tgz)

Enjoy,

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

Old   August 10, 2007, 17:51
Default Woops, try again: http://w
  #38
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Woops, try again:

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

Old   September 11, 2007, 18:25
Default Hrv, I've stumbled into a prob
  #39
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Hrv, I've stumbled into a problem with OF 1.4.1: Here is the transcript:

[madhavan@tohirdhurd dxFoamExec]$ wmake
Making dependency list for source file dxFoamExec.c
Making dependency list for source file createDxConnections.C
could not open file tetPolyMesh.H for source file createDxConnections.C
Making dependency list for source file dxDatabase.C
could not open file tetPolyMesh.H for source file dxDatabase.C
Making dependency list for source file dxFoamExecInit.C
Making dependency list for source file foamGet.C
could not open file tetPointFields.H for source file foamGet.C
Making dependency list for source file foamCreateDatabase.C
could not open file tetPolyMesh.H for source file foamCreateDatabase.C
Making dependency list for source file foamReadMesh.C
could not open file tetPolyMesh.H for source file foamReadMesh.C
Making dependency list for source file dxFvMesh.C
could not open file tetPolyMesh.H for source file dxFvMesh.C
Making dependency list for source file dxFvMeshMove.C
could not open file tetPolyMesh.H for source file dxFvMeshMove.C
Making dependency list for source file foamNearestTime.C
Making dependency list for source file foamChangeTime.C
could not open file tetPolyMesh.H for source file foamChangeTime.C
Making dependency list for source file createDxPositions.C
could not open file tetPolyMesh.H for source file createDxPositions.C
Making dependency list for source file createDxMesh.C
could not open file tetPolyMesh.H for source file createDxMesh.C
Making dependency list for source file createDxField.C
Making dependency list for source file foamReadSTL.C
Making dependency list for source file foamReadField.C
could not open file tetPolyMesh.H for source file foamReadField.C
could not open file tetPointFields.H for source file foamReadField.C
Making dependency list for source file foamReadVolScalarField.C
could not open file tetPolyMesh.H for source file foamReadVolScalarField.C
could not open file tetPointFields.H for source file foamReadVolScalarField.C
Making dependency list for source file foamReadSurfaceScalarField.C
could not open file tetPolyMesh.H for source file foamReadSurfaceScalarField.C
could not open file tetPointFields.H for source file foamReadSurfaceScalarField.C
Making dependency list for source file foamReadLagrangianScalarField.C
could not open file tetPolyMesh.H for source file foamReadLagrangianScalarField.C
could not open file tetPointFields.H for source file foamReadLagrangianScalarField.C
Making dependency list for source file foamReadPointScalarField.C
could not open file tetPolyMesh.H for source file foamReadPointScalarField.C
could not open file tetPointFields.H for source file foamReadPointScalarField.C
Making dependency list for source file foamReadTetPointScalarField.C
could not open file tetPolyMesh.H for source file foamReadTetPointScalarField.C
could not open file tetPointFields.H for source file foamReadTetPointScalarField.C
Making dependency list for source file foamIndexCells.C
could not open file tetPolyMesh.H for source file foamIndexCells.C
could not open file tetPointFields.H for source file foamIndexCells.C
Making dependency list for source file foamGetSet.C
could not open file tetPolyMesh.H for source file foamGetSet.C
could not open file tetPointFields.H for source file foamGetSet.C
Making dependency list for source file foamIndexPatches.C
could not open file tetPolyMesh.H for source file foamIndexPatches.C
could not open file tetPointFields.H for source file foamIndexPatches.C
Making dependency list for source file foamFeatureLines.C
could not open file tetPolyMesh.H for source file foamFeatureLines.C
Making dependency list for source file foamShowConnections.C
could not open file tetPolyMesh.H for source file foamShowConnections.C
could not open file tetPointFields.H for source file foamShowConnections.C
Making dependency list for source file createLagrangianField.C
could not open file tetPolyMesh.H for source file createLagrangianField.C
Making dependency list for source file featureLines.C
SOURCE=dxFoamExec.c ; gcc -m64 -Dlinux64 -DDP -Wall -march=opteron -O3 -fno-gcse -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/lagrangian/basic/lnInclude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/tetDecompositionFiniteElement/lnInc lude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -Dlinux -I/home/madhavan/OpenFOAM/linux64/dx/include -I/usr/X11R6/include -IlnInclude -I. -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/dxFoamExec.o
SOURCE=createDxConnections.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/lagrangian/basic/lnInclude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/tetDecompositionFiniteElement/lnInc lude -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -Dlinux -I/home/madhavan/OpenFOAM/linux64/dx/include -I/usr/X11R6/include -IlnInclude -I. -I/home/madhavan/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/createDxConnections.o
In file included from createDxConnections.C:31:
dxFvMesh.H:69:25: error: tetPolyMesh.H: No such file or directory
In file included from createDxConnections.C:31:
dxFvMesh.H:132: error: ISO C++ forbids declaration of 'tetPolyMesh' with no type
dxFvMesh.H:132: error: expected ';' before '*' token
dxFvMesh.H:286: error: ISO C++ forbids declaration of 'tetPolyMesh' with no type
dxFvMesh.H:286: error: expected ';' before '&' token
createDxConnections.C:947: error: expected `;' at end of input
createDxConnections.C:947: error: expected `}' at end of input
dxFvMesh.H:284: error: expected unqualified-id at end of input
dxFvMesh.H:284: error: expected `}' at end of input
make: *** [Make/linux64GccDPOpt/createDxConnections.o] Error 1

Can I somehow deactivate all the tetdecomp-related stuff to get dxFoamExec to build?
msrinath80 is offline   Reply With Quote

Old   September 12, 2007, 06:30
Default Well, I've got much better:
  #40
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Well, I've got much better:

Just check out the dev version from SVN and you not only get the dxFoam reader, but also all of the tet FEM stuff (with full functionality), moving mesh solvers, finite area, working topological changes etc etc.

The announcement was done yesterday: The OpenFOAM extensions project.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Chemkin reader stefanke OpenFOAM Pre-Processing 28 March 8, 2022 10:16
A reader for cavityOpenFOAM alex OpenFOAM Running, Solving & CFD 11 April 2, 2009 09:57
DxFoam postFoam on mac bigphil OpenFOAM Post-Processing 0 March 13, 2009 06:09
DxFoam crash outputting gif mike_jaworski OpenFOAM Post-Processing 3 January 2, 2008 05:55
[OpenFOAM] Reader should I visualize t%3d0 tj22 ParaView 1 June 30, 2006 10:16


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