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

Need Help with "reconstructPar - time"

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 3, 2011, 15:03
Default Need Help with "reconstructPar - time"
  #1
New Member
 
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 6
WolfgangS. is on a distinguished road
Hi !

I simulate the flow over a circular cylinder (simpleFoam) and i want only the solution of the "walls"-patch in a defined timeinterval.

The timeinterval is defined with "reconstructPar -time".
The walls-solution will be transferred with "foamToVTK".

For example:
"
...
reconstructPar - time 8001:8009
...
foamToVTK -noInternal -excludePatches "( inlet outlet sides lowerUpper )"

"

The foamToVTK works fine, but the timeinterval doesn´t work:


"
Finalising parallel run

Usage: reconstructPar [-zeroTime] [-fields "(list of fields)"]
[-latestTime] [-time ranges] [-constant] [-noZero]
[-noLagrangian] [-case dir] [-region name] [-help] [-doc] [-srcDoc]

Wrong number of arguments, expected 0 found 2
Invalid option: -


FOAM exiting
"

Can somebody help me pleace?

Thanks and best regards,

Wolfgang
WolfgangS. is offline   Reply With Quote

Old   February 4, 2011, 04:09
Default
  #2
New Member
 
L.Tuominen
Join Date: Jul 2010
Posts: 8
Rep Power: 7
tuominen is on a distinguished road
Quote:
Originally Posted by WolfgangS. View Post
Hi !

For example:
"
...
reconstructPar - time 8001:8009
...
foamToVTK -noInternal -excludePatches "( inlet outlet sides lowerUpper )"

"

The foamToVTK works fine, but the timeinterval doesn´t work:


"
Finalising parallel run

Usage: reconstructPar [-zeroTime] [-fields "(list of fields)"]
[-latestTime] [-time ranges] [-constant] [-noZero]
[-noLagrangian] [-case dir] [-region name] [-help] [-doc] [-srcDoc]

Wrong number of arguments, expected 0 found 2
Invalid option: -


FOAM exiting
"

Can somebody help me pleace?

Thanks and best regards,

Wolfgang
You have space between "-" and "time". Correct form is "-time".
tuominen is offline   Reply With Quote

Old   February 4, 2011, 04:15
Default
  #3
New Member
 
Wolfgang Strauss
Join Date: Nov 2010
Location: Germany / Bavaria / Eichstätt
Posts: 15
Rep Power: 6
WolfgangS. is on a distinguished road
hi tuominen

sorry it´s wrong here in the forum. you are right it must be -time.

I used "-time" in the simulation. Is there a file or timeinterval-definition i have to add in my OpenFOAM-structure?
WolfgangS. is offline   Reply With Quote

Old   February 4, 2011, 14:23
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
mturcios777 will become famous soon enough
I'm not overly familiar with parallel cases, but the what error message do you get when you run the command

Code:
reconstructPar -time 8001:8009
?

The error message you have posted points to the issue raised by tuominen. reconstructPar depends on files like decomposeParDict and controlDict, but if you were able to run the case in parallel in the first place all those files should be there already.
mturcios777 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
"particles traveling time" vs. "particle time" John CFX 3 December 17, 2009 15:54


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