|
[Sponsors] |
Sampling fields data from regions (cellZoneSet) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2012, 11:32 |
Sampling fields data from regions (cellZoneSet)
|
#1 |
New Member
caduqued
Join Date: Apr 2009
Location: UK
Posts: 16
Rep Power: 17 |
Hi OF comunity,
I am working with OF 2.1.1, and I need to extract values of fields (velocity, pressure, etc) from within regions previously defined. I have created cellZoneSet sets using topoSet, and I am able to visualize the fields values for those defined zones in paraFoam, however I was wondering if it was possible to get that data directly using some OF tool, like sample or something similar. Any help in this regard is very much appreciated. Cheers, |
|
September 12, 2012, 10:32 |
|
#2 |
New Member
Unnikrishnan Mohankumar
Join Date: Apr 2011
Posts: 29
Rep Power: 15 |
Hi
Did you find an answer for the SampleDict for Regions. I use chtMultiRegionSimpleFoam. so i have many regions. I tried to use the sample -region But it doesnt seem to work. my region name is Kuhlkoerper. Should i define the region name somewhere in the SampleDict File or is it only required while running from terminal... sample -Kuhlkoerper Kindly Help Thanks & Regards Unni |
|
November 16, 2012, 11:07 |
|
#3 |
New Member
Sebastian
Join Date: Feb 2010
Posts: 9
Rep Power: 16 |
hey guys,
you can create one sampleDict file for each Region and copy them into the folder "system/regionname/" After that you can run sample in each region by the command sample -region regionname for example sample -region fluid sample -region solid best regards Sebastian |
|
November 19, 2012, 02:26 |
|
#4 |
New Member
Unnikrishnan
Join Date: Nov 2012
Posts: 8
Rep Power: 14 |
Thanks Sebastian.
|
|
November 21, 2012, 07:27 |
sampleDict using cloud option along with data file...
|
#5 | |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 |
Hi
I have to use sampleDict file to sample field varialble T at a set of points in the simulation domain and I am using "cloud" option for Set. Now I am having a data file containing point coordinates, at which data is to be sampled. The problem is how i could specify that points data file in sampleDict file. Quote:
|
||
November 21, 2012, 15:31 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
November 22, 2012, 10:28 |
|
#7 |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 |
Hi
thanks for your response and I just have done that by writing some script and get a list of cell coordinates and then giving that list to sampleDict... |
|
Tags |
cellzoneset, openfoam 2.1.x, sampledict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sampling lagrangian data | farbfilm | OpenFOAM Post-Processing | 37 | June 26, 2020 11:09 |
export data at nodes | Meenu | FLUENT | 1 | December 30, 2011 02:24 |
Weak Coupling of Two Fluid Fields/ Regions | woody | OpenFOAM Running, Solving & CFD | 0 | November 16, 2009 11:08 |
Data conversion at each time step for specific fields | melanie | OpenFOAM Post-Processing | 10 | September 29, 2009 18:34 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 10:15 |