|
[Sponsors] |
'functionObjects' or 'sample' on a mesh pointSet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 15, 2016, 10:28 |
'functionObjects' or 'sample' on a mesh pointSet
|
#1 |
New Member
Lukáš Hurda
Join Date: Oct 2015
Posts: 5
Rep Power: 10 |
Hello FOAMers!
Does anyone know if there is a possibility to sample data with controlDict.functionObjects or the sample utility USING THE pointSet CREATED WITH topoSet OR setSet? I am doing an LES on a turbine blade cascade (spanwise and transverse periodic domain with one blade and two halves of interblade channel). I wonder if I can make my sampling better. I want to evaluate wallShearStress acting on the blade in the spanwise midplane only, because for proper LES, the domain is large in terms of spanwise points, so the runtime sampling of whole patch is consuming too much storage. I am using an unstructured mesh fully made of wedges - extruded from 2D triangle mesh. That means the mesh is uniform in z-spanwise direction and I can be sure, that when I have even number of cell layers spanwise, I have mesh points right on the midplane. Now I'm probing with Code:
ptsClouds { type sets; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 10; interpolationScheme cellPoint; setFormat raw; fields ( U p grad(U) magGrad_U wallShearStress ); sets ( cloudSucPre { type cloud; axis xyz; points ( ( 0.0011459 0.0038368 1 ) ... ) } ) } Code:
actions ( { name wallCenterPts; type pointSet; action new; source boxToPoint; sourceInfo { box (-0.1 -1 0.995) (1 1 1.015); } } { name wallFaces; type faceSet; action new; source patchToFace; sourceInfo { name "WALL_BL"; } } { name wallCenterPts; type pointSet; action subset; source faceToPoint; sourceInfo { set wallFaces; option all; } } { name wallFaces; type faceSet; action delete; source faceToFace; sourceInfo { set wallFaces; option all; } } ); Thank you very much in advance! |
|
Tags |
functionobjects, sample, setset, toposet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] problems generating clean mesh | Christian_tt | OpenFOAM Meshing & Mesh Conversion | 2 | June 20, 2019 05:39 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 06:21 |
[ICEM] Mirror Mesh | Delete duplicate mesh | pythag0ra5 | ANSYS Meshing & Geometry | 6 | November 19, 2013 07:35 |
why does 'sample' do this? wallShearStress question | CHARLES | OpenFOAM Post-Processing | 0 | August 7, 2013 19:30 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |