|
[Sponsors] |
June 9, 2014, 09:48 |
get values of p at some points
|
#1 |
Member
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 13 |
hi,
I am tring to get how the value of p changes over time at some points(votecies of the cell) ! the mesh is moving(without topology change) ,so I couldn't use "probes" which is stationary . but I know we could use "sets" in controlDict for example Code:
functions { somePoints { type sets; functionObjectLibs ("libsampling.so"); outputControl timeStep; outputInterval 1; setFormat raw; interpolationScheme cellPointFace; fields ( p ); sets ( movingpoints { type curve; axis xyz; points ( ( 0 0 0 ) ( 0 35 0 ) ( 0 70 0 ) ( -8 -0 0 ) ( -8 35 0 ) ( -8 70 0 ) ); } ); } } but what I really want is a file which we often get when using probes in controlDict . for example Code:
# x -10 # y 0 # z 0 # Time 0.01 8.55623 0.02 26.1144 0.03 44.2005 0.04 62.3417 0.05 80.3637 0.06 98.1519 0.07 115.613 0.08 132.664 0.09 149.228 0.1 165.235 0.11 180.616 0.12 195.308 0.13 209.251 0.14 222.387 0.15 234.663 0.16 246.031 0.17 256.444 0.18 265.862 0.19 274.246 0.2 281.562 0.21 287.783 0.22 292.883 0.23 296.841 0.24 299.643 0.25 301.275 0.26 301.735 ...... do you have any sugest ? thanks xuhe |
|
Tags |
sample |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 07:34 |
[DesignModeler] DM's JScript: FPoint()'s GetPoint(i) function picks points backwards? | ANT | ANSYS Meshing & Geometry | 2 | July 23, 2012 15:25 |
Numerical errors in nested domain with pre-calculated boundary values | Arnoldinho | OpenFOAM Running, Solving & CFD | 3 | April 4, 2012 10:31 |
Interpolation values in nodes and cells | mrestrepo30 | FLUENT | 0 | April 27, 2010 09:20 |
exact face values | RubenG | Main CFD Forum | 0 | June 22, 2009 11:09 |