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

foamToVTK problems

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 8, 2013, 20:21
Default foamToVTK problems
  #1
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 5
Grimoli is on a distinguished road
Guys,how do I use the command foamtoVTK??When I'm using it at the chtMultiRegionSimpleFoam tutorial,the temperature option doesnt work,and when i put it to work,it doesnt work at all.Do I have to use the command as : foamToVTK topAir as example??PLease I need some help
Grimoli is offline   Reply With Quote

Old   March 9, 2013, 12:55
Default
  #2
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 6
czhao86 is on a distinguished road
Quote:
Originally Posted by Grimoli View Post
Guys,how do I use the command foamtoVTK??When I'm using it at the chtMultiRegionSimpleFoam tutorial,the temperature option doesnt work,and when i put it to work,it doesnt work at all.Do I have to use the command as : foamToVTK topAir as example??PLease I need some help
If you want to show results about particles,
after the XXXFoam command,
just run 'foamToVTK'
then a folder named 'VTK' will be created
you can use paraview to load geometry VTK and lagrangian VTK, and check the results.
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   March 9, 2013, 14:17
Default
  #3
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 5
Grimoli is on a distinguished road
i tried it,but it wasnt working at all,it seems i have to change something at some dict or whatever
Grimoli is offline   Reply With Quote

Old   March 10, 2013, 17:07
Default
  #4
Member
 
Davide D.
Join Date: Oct 2012
Location: Birmingham (UK)
Posts: 44
Rep Power: 5
dav.dap83 is on a distinguished road
Can you write the error message?
dav.dap83 is offline   Reply With Quote

Old   March 10, 2013, 17:18
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Grimoli: Have you tried running the following command?
Code:
foamToVTK -help
If you want to export to VTK the "topAir" region, you can run:
Code:
foamToVTK -region topAir
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 15, 2013, 06:53
Default
  #6
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 10
samiam1000 is on a distinguished road
Dear Bruno,

I did as you suggested but I get this error:

Code:
lab@lab-laptop:/media/My world/PCMPacks/steadyNoFlux$ foamToVTK -allPatches -ascii -region fluid
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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   : foamToVTK -allPatches -ascii -region fluid
Date   : Nov 15 2013
Time   : 11:46:21
Host   : "lab-laptop"
PID    : 4907
fileName::stripInvalid() called for invalid fileName /media/Myworld/PCMPacks/steadyNoFlux
    For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)
lab@lab-laptop:/media/My world/PCMPacks/steadyNoFlux$
samiam1000 is offline   Reply With Quote

Old   November 15, 2013, 16:46
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Samuele,

OpenFOAM hates spaces in folder names. In this case, the folder name "My world" is invalid for OpenFOAM to use.

Best regards,
Bruno
__________________
wyldckat 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
Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 03:45
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
foamToVTK and paraFoam show different results akidess OpenFOAM Post-Processing 2 October 29, 2010 05:36
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 06:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 12:00


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