How Coorectly Run sampleDict
Hello to all,
i have to run a post-processing extration of the U and P value. I decided to use for the first time the sampleDict. I put it in the system folrder, run the simulation and finally type the command "sample" which gives me this message Code:
sample has been superceded by the postProcess utility: Code:
postProcess -func sampleDict Code:
Create time Here my sampleDict file. Code:
type sets; |
I have the same problem. Did you find a solution?
|
Re
I think you are missing the name of your sample, and some curly braces. Try this:
my_sample { <your previously posed dict here> } It when you post process, it should put a folder called "my_sample" in the postProcessing folder. If that doesn't work, try the template below (just change the point (1 1 1) to something in your domain). Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Thanks for your help. Unfortunately, when I do this, I get the error
Code:
--> FOAM FATAL IO ERROR: Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Try running the solver. For example:
simpleFoam -postProcess Some of the function objects don't work if the required fields are not loaded (works with the -parallel option and mpi too). Check out the motorbike tutorial in tutorials/incompressible/simpleFoam/motorbike for an example of how to use some of the simple function objects. If you paste your function object in place of one of the ones used there and it doesn't run properly, the problem is in your function object. If you just run the motorbike tutorial, the function objects execute at run time because they are #include at the bottom of the controlDict. |
Thanks. It works!
Here is what I did: 1) created a file in the system folder named surfaces Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
postProcess -func surfaces |
All times are GMT -4. The time now is 15:13. |