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

Getting dependent values for CVs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2003, 08:41
Default I would like to know, if it i
  #1
Rasmus Gjesing (Gjesing)
Guest
 
Posts: n/a
I would like to know, if it is possible in the post-proccesing phase, to get e.g. the stress or temperature in a CV, only by clicking on it or something similar. So far I have used the graph functionality, but I would like to know the "exact" numerical value.
  Reply With Quote

Old   January 23, 2003, 09:10
Default Which postprocessor are you u
  #2
Niklas Nordin (Niklas)
Guest
 
Posts: n/a
Which postprocessor are you using?
  Reply With Quote

Old   January 23, 2003, 09:24
Default I am using OpenDX(dxFoam) whi
  #3
Rasmus Gjesing (Gjesing)
Guest
 
Posts: n/a
I am using OpenDX(dxFoam) which follows with the FOAM 2.1 release.
  Reply With Quote

Old   January 23, 2003, 09:29
Default Unfortunately no such facility
  #4
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
Unfortunately no such facility is easily available in DX. I don't know whether other postprocessors provide this information.

In foam2.1 there is a command line utility 'lineSample' which can answer these questions for you. It needs a 'lineSampleDict' dictionary in the system/ directory of the case where you specify coordinates of the sampling lines, the fields to sample and the interpolation to use. It outputs a Matlab format file in a Matlab/ directory.

Below an example where I get a value somewhere at the top-right of the lid-driven cavity.

Note that this utility is currently under a drastic rewrite for Foam2.2

// lineSample dictionary

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

version 0.5;
format ascii;

root "/users/tfd/ljus/foam/run";
case "channel1";
instance "system";
local "";

class dictionary;
object sampleDict;


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// cell: use only cell-centre value; constant over cell
// cellPoint: use cell-centre and vertex values
// cellPointFace: use cell-centre, vertex and face values
interpolationSchemes
{
p cellPoint;
U cellPoint;
}

/*
format of the sampling line:





*/
samplingLines
(
(0.099 0.099 0.005) (0.0991 0.099 0.005) 2
zero
"y"
"full"
);

scalarFields
(
p
);

vectorFields
(
U
);

// ************************************************** *********************** //
  Reply With Quote

Old   January 28, 2003, 13:33
Default If you want to monitor a loca
  #5
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
If you want to monitor a location during running you can also add 'probes' to your application. See e.g. the oodles application. The probe locations are specified in a constant/probeLocations dictionary and every time step the value at each of the locations will be written to a probes/ directory.
  Reply With Quote

Old   February 3, 2003, 08:35
Default Thank you very much for your
  #6
Rasmus Gjesing (Gjesing)
Guest
 
Posts: n/a
Thank you very much for your help!
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ensight - node values -cell values leo FLUENT 1 May 12, 2010 09:47
Time Dependent Temperature Dependent BC Analysis RP Main CFD Forum 1 March 28, 2008 02:22
node values or cell values? aPpA FLUENT 0 November 10, 2006 09:56
time dependent MRF ? olivier Main CFD Forum 1 April 1, 2005 11:28
two dependent properies Neser CFX 0 February 20, 2005 18:33


All times are GMT -4. The time now is 01:24.