|
[Sponsors] |
June 30, 2017, 00:33 |
probeLocations, data of patch?point?cell?
|
#1 |
New Member
Xiaoxue Shen
Join Date: Aug 2016
Posts: 8
Rep Power: 10 |
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; |
|
Tags |
foam-extend 3.1, probelocatons |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 08:31 |
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam | MikeHersee | ParaView | 2 | January 6, 2015 09:27 |
Data Produced From Fine Marine Cant Match with The Experimental Data | PeiSan | Fidelity CFD | 4 | August 23, 2014 06:33 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |