|
[Sponsors] |
How to output the field value in a certain point? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 3, 2016, 03:06 |
How to output the field value in a certain point?
|
#1 |
New Member
Peter Hu
Join Date: Oct 2015
Posts: 16
Rep Power: 11 |
I know, I can set a function to get the slice date at a surface or point. But I don't know how to use it. So, where can I find the guider for this part.
|
|
November 3, 2016, 05:47 |
|
#2 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
Have a look at the probe or sample dictionaries, or using the probe function within the controlDict. Their are many examples on the forum and online.
|
|
November 4, 2016, 10:19 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Code:
functions { probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name T_probes; // Write at same frequency as fields writeControl adjustableRunTime; writeInterval 0.01; // Fields to be probed fields ( T TYS ); // Used in python functions nProbePoints=10; probeLocations ( ( 0.05 0.05 0.005 ) ( 0.05 0.05 0.005 ) ( 0.05 0.05 0.005 ) ( 0.06 0.05 0.005 ) ( 0.06 0.05 0.005 ) ( 0.07 0.05 0.005 ) ( 0.07 0.05 0.005 ) ( 0.08 0.05 0.005 ) ( 0.08 0.05 0.005 ) ( 0.08 0.05 0.005 ) ); } }
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
problem in toposet | Ahmed Khattab | OpenFOAM Pre-Processing | 27 | March 3, 2023 22:12 |
[snappyHexMesh] snappyHexMesh and cyclic boundaries | Ruli | OpenFOAM Meshing & Mesh Conversion | 2 | December 9, 2013 07:51 |
[Gmsh] Gmsh and samplesurface | touf | OpenFOAM Meshing & Mesh Conversion | 2 | December 10, 2007 03:27 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |