|
[Sponsors] |
October 19, 2005, 09:32 |
Hi,
I am trying to run a sli
|
#1 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
Hi,
I am trying to run a slightly modified version of oodles (added some equations) in parallel and I want to be able to monitor the values of some variables that I am solving for at certain locations in the grid. I see that I have to define a probeLocation file, to start with, besides adding in the createProbes.H the corresponding variables. I guess that at every timestep they values are written in some directory (called "probes"?). Now, I have a couple of questions: 1: probeLocations should consist of (x,y,z) coordinates in my domain or what? i.e something like: FoamFile { version 2.0; format ascii; root ""; case ""; instance ""; local ""; class dictionary; object probeLocations; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // probeLocations ( (-4.2426406871192857 -4.2426406871192857 0.00001) (4.2426406871192857 -4.2426406871192857 0.00001) (4.2426406871192857 4.2426406871192857 0.00001) (-4.2426406871192857 4.2426406871192857 0.00001) ); // ************************************************** *********************** // 2: I don't seem to be able to create the probes (sub)directory except by hand a nothing gets written into it. Is there a switch in some dictionary that tells Foam to write at the probes? I need this to check on something strange that happens in the course of the run (at least for my interests) and I would like to have instantaneous values at some points to compare. Please help and thanks in advance, Radu |
|
October 20, 2005, 05:52 |
1. looks good. Compare to the
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
1. looks good. Compare to the oodles tutorial case.
2. does oodles dump correctly? |
|
October 20, 2005, 07:57 |
1. I thought so.
2. No, oodle
|
#3 |
Member
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17 |
1. I thought so.
2. No, oodles, to start with, (or my oodles in Foam1.2) does not have anything in probeLocations file and no probes directory either. channelOodles has, but it does not write anything into it at runtime. I did a short run to test it, as in my controlDict reads: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application channelOodles; startFrom startTime; startTime 0; stopAt endTime; endTime 10; deltaT 0.2; writeControl timeStep; writeInterval 10; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; ...One more thing: I checked channelOodles in the serial version ( meaning one processor) and it worked allright, as in it did print the values of U and p at the location indicated. BTW, I am using LAM. Cheers, Radu |
|
|
|