CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Need Help with "reconstructPar - time" (https://www.cfd-online.com/Forums/openfoam/84619-need-help-reconstructpar-time.html)

WolfgangS. February 3, 2011 14:03

Need Help with "reconstructPar - time"
 
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

tuominen February 4, 2011 03:09

Quote:

Originally Posted by WolfgangS. (Post 293514)
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".

WolfgangS. February 4, 2011 03:15

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?

mturcios777 February 4, 2011 13:23

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.


All times are GMT -4. The time now is 23:19.