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

foamToVTK problems

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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: 13
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: 13
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: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: 520
Rep Power: 18
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 04:45
[OpenFOAM] foamToVTK and paraFoam show different results akidess ParaView 2 October 29, 2010 06: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 04:14.