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

sample a 3D sub-domain with boundary point data

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By yongxiang

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2016, 07:00
Default sample a 3D sub-domain with boundary point data
  #1
Member
 
Join Date: Sep 2014
Posts: 32
Rep Power: 11
yongxiang is on a distinguished road
Hi OpenFOAMER,
I want to sample data from a 3D box out of the original full domain. I tried the sample array of the sample utility, here comes the input in sampleDict:

sets
(

arrayA1
{
// Sample 'pointsDensity' points in a box with origin at 'origin'
// plus the vector 'spanBox'
type array;
axis xyz;
coordinateSystem
{
e1 (1 0 0);
e2 (0 1 0);
origin ( 0 0 0 );
}

origin ( 0 0 0 );
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);

}

pointsDensity (40 100 10);
spanBox (0.1 0.1 0.01);

}
);

The problems is that, I can get the intended 3D box data, but without the data at the boundary I specified. So my question is if any one hows how to sample the 3D-box data with also with the boundary point? Or if any have any better idea of sampling a 3D-box data with boundary point data?

Thanks very much
mgg likes this.
yongxiang is offline   Reply With Quote

Reply


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 04:59
Radiation interface hinca CFX 15 January 26, 2014 17:11
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 23:26.