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

probeLocations, data of patch?point?cell?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2017, 23:33
Default probeLocations, data of patch?point?cell?
  #1
New Member
 
Xiaoxue Shen
Join Date: Aug 2016
Posts: 8
Rep Power: 9
xiaoxue is on a distinguished road
Dear everyone, I recently use foam-extend-3.1 to simulate fluid-structure interaction problem, and I met a little problem when add functions/probes/probeLocations to controlDict file (to probe pressure field and solid displacement field); the location where data should be acquired is
(0.5 0.5 0)
(0.5 0.5 0.5)
(0.5 0.5 1)
(0.5 0.5 1.003)
(0.5 0.5 2.003)
(0 0 0)
(0 0 2.003),
but the data were wrong, and when changed to locations that are near these points, changing (0.5 0.5 0) to (0.499 0.499 0.001) for example, it seems to work. I went through the probe.C file and it can probe data on patch, cell, and point in my point of view. So I was wondering which one it is (patch, cell, and point) that this function works on.

Functions in controlDict file are listed below.
functions
(
probes
{
// Type of functionObject
type probes;

// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
region region0;
// Additional entries for OF 1.6.x
enabled true;
outputControl timeStep;
outputInterval 1;

// Locations to be probed. runTime modifiable!
probeLocations
(
/* (0.499 0.499 0.001)
(0.499 0.499 0.499)
(0.499 0.499 0.99)
(0.499 0.499 1.004)
(0.499 0.499 2.002)
(0.001 0.001 0.001)
(0.001 0.001 2.002)
*/
(0.5 0.5 0)
(0.5 0.5 0.5)
(0.5 0.5 1)
(0.5 0.5 1.003)
(0.5 0.5 2.003)
(0 0 0)
(0 0 2.003)
);

// Fields to be probed. runTime modifiable!
fields
(
p
);
}

probes_solid
{
// Type of functionObject
type probes;

// Where to load it from (if not already in solver)
//functionObjectLibs ("libsampling.so");
region solid;
// Additional entries for OF 1.6.x
enabled true;
outputControl timeStep;
outputInterval 1;

// Locations to be probed. runTime modifiable!
probeLocations
(
// (0.49 0.49 1.002)
(0.5 0.5 1.003)
);

// Fields to be probed. runTime modifiable!
fields
(
Usolid
);
}
);


The pressure field when using the previous locations, please that in figure1;
The pressure field when using the latter locations, please that in figure2;
Attached Images
File Type: jpg figure2.jpg (112.8 KB, 21 views)
File Type: jpg figure1.jpg (97.8 KB, 19 views)
File Type: png figure3.png (129.5 KB, 14 views)
xiaoxue is offline   Reply With Quote

Reply

Tags
foam-extend 3.1, probelocatons


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
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 07:31
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 08:27
Data Produced From Fine Marine Cant Match with The Experimental Data PeiSan Fidelity CFD 4 August 23, 2014 05:33
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 10:52
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


All times are GMT -4. The time now is 07:00.