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

use of surfaceToCell utility

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2017, 07:26
Default use of surfaceToCell utility
  #1
ptr
New Member
 
rakesh
Join Date: Mar 2013
Posts: 3
Rep Power: 13
ptr is on a distinguished road
Hi,

Does anybody know how to use SurfaceToCell utility for an irregularly shaped surface. The main problem comes in the definition of outside points. I have an .stl file with tree height information. How to map this using surfacetocell utility. The clarity the syntax of the surface to cell is posted below. Please help!!!

actions
(
{
name porosity1;
type cellSet;
action new;
source surfaceToCell;
sourceInfo
{
file "constant/triSurface/tree.stl";
useSurfaceOrientation false;
outsidePoints ((1000 1200 1000)); // definition of outside ! How to specify this ??
includeCut true; // cells cut by surface
includeInside true; // cells not on outside of surf
includeOutside false; // cells on outside of surf
nearDistance -1; // cells with centre near surf
// (set to -1 if not used)
curvature -1; // cells within nearDistance
// and near surf curvature
// (set to -100 if not used)
}
}
);
ptr 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Noise postprocessing utility setup RFlamm OpenFOAM Post-Processing 5 July 30, 2018 10:06
wallHeatFlux Calculation wrt utility version ahmet OpenFOAM Post-Processing 1 December 18, 2016 19:45
[mesh manipulation] mirrorMesh utility preserving regions zfaraday OpenFOAM Meshing & Mesh Conversion 1 November 7, 2016 21:51
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 16:47


All times are GMT -4. The time now is 13:22.