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

ProbeLocations

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 19, 2005, 08:32
Default Hi, I am trying to run a sli
  #1
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
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
r2d2 is offline   Reply With Quote

Old   October 20, 2005, 04:52
Default 1. looks good. Compare to the
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
1. looks good. Compare to the oodles tutorial case.

2. does oodles dump correctly?
mattijs is offline   Reply With Quote

Old   October 20, 2005, 06:57
Default 1. I thought so. 2. No, oodle
  #3
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 96
Rep Power: 8
r2d2 is on a distinguished road
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
r2d2 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



All times are GMT -4. The time now is 03:25.