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

Writing one fields as VTK

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 12, 2014, 18:57
Default Writing one fields as VTK
  #1
New Member
 
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Posts: 21
Rep Power: 4
mmmn036 is on a distinguished road
Hello,

I just wanted to write one field as VTK format using -

foamToVTK -fields U

But I am getting the following error:

--> FOAM FATAL IO ERROR:
incorrect first token, expected <int> or '(', found on line 0 the word 'U'

file: IStringStream.sourceFile at line 0.

From function operator>>(Istream&, HashTable<T, Key, Hash>&)
in file /home/manjure/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/HashTableIO.C at line 206.

FOAM exiting


Does anyone have that kind of problem?

Thanks
MMMN
mmmn036 is offline   Reply With Quote

Old   May 12, 2014, 21:08
Default
  #2
New Member
 
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Posts: 21
Rep Power: 4
mmmn036 is on a distinguished road
I got it...it should be

foamToVTK -fields '(U)'
mmmn036 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
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 11:25
an odd(at least for me!) reconstructPar error on a field immortality OpenFOAM Running, Solving & CFD 3 June 3, 2013 22:36
How to Mix AIR and WATER Elvis1991 FLUENT 10 March 28, 2012 12:40
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 09:15
Problem writing Legacy VTK file raptor3x OpenFOAM Paraview & paraFoam 1 June 23, 2009 16:10


All times are GMT -4. The time now is 03:54.