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

forcecoeffs with icoFoam... No postProcessing directory

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2016, 17:49
Default forcecoeffs with icoFoam... No postProcessing directory
  #1
New Member
 
Murtaza Abbas
Join Date: Nov 2015
Posts: 5
Rep Power: 2
MurtazaAbbas is on a distinguished road
Hi all,

I had tried to revive an old thread but I thought it may be best starting a new one.

I'm trying to solve the flow around a cylinder problem and I have modified the ControlDict with the forces and forcecoeffs function objects, so I can output the drag and lift coefficients.

When I run the solver, I get the following error:

--> FOAM FATAL IO ERROR:
wrong token type - expected word, found on line 18 the punctuation token '['

file: /home/murtaza/OpenFOAM/murtaza-3.0.1/run/courseWork/part1/constant/transportProperties.nu at line 18.

From function operator>>(Istream&, word&)
in file primitives/strings/word/wordIO.C at line 74.

The model still runs if I undo the changes to the ControlDict, so I'm sure it has nothing to do with the transportProperties.

Any help would be apprieciated
Thanks in advance.
MurtazaAbbas is offline   Reply With Quote

Old   February 9, 2016, 09:49
Default
  #2
New Member
 
Murtaza Abbas
Join Date: Nov 2015
Posts: 5
Rep Power: 2
MurtazaAbbas is on a distinguished road
SOLVED: In the transport properties file, the definition of nu needed to looked something like:

"nu nu[0 2 -1 0 0 0 0]"

I had missed out the second nu :P
MurtazaAbbas is offline   Reply With Quote

Reply

Tags
forcecoeffs, forces, functionobject

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
Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 225 August 25, 2015 19:43
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 82 November 25, 2014 14:16
Swak4Foam funkyDoCalc with OF2.3 massflow NiFl OpenFOAM 8 March 24, 2014 21:06
OpenFoam install script Error during paraFoam installation SePe OpenFOAM Installation 10 June 19, 2010 15:15
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01


All times are GMT -4. The time now is 02:00.