|
[Sponsors] |
The sampled data is not restricted to the defined zone in topoSetDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 13, 2018, 17:22 |
The sampled data is not restricted to the defined zone in topoSetDict
|
#1 |
New Member
Join Date: Nov 2015
Posts: 28
Rep Power: 11 |
Hi foamers
I defined a box zone in topoSetDict to restrict the sampled data in a plane. However, the sampled data is not confined to the defined box zone as illustrated in the following pictures, where fractions in the red rectangular only is the supposed part to be sampled. I have no idea how this happens... Can anyone help please? Thanks in advance! code in topoSetDict is as follows: Code:
FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name zone1; type cellSet; action new; source boxToCell; sourceInfo { box (-0.1125 -0.1125 -0.1125) (0.4125 0.1125 0.1125); } } { name zone1; type cellZoneSet; action new; source setToCellZone; sourceInfo { set zone1; } } ); // ************************************************************************* // Code:
sampled_surface { type surfaces; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 5; surfaceFormat raw; interpolationScheme cell; fields ( U p ); surfaces ( front { type plane; basePoint (-0.075 0 0); normalVector (1 0 0); //interpolate true; //traingulate false; zone zone1; } ); } |
|
August 14, 2018, 08:25 |
|
#2 |
New Member
Join Date: Nov 2015
Posts: 28
Rep Power: 11 |
Hi everyone, I find this problem only happens when sampling data at run-time. The zone woks fine when using sampleDict for post-processing. Any suggestion to improve the sampling code based in controlDict please, avoiding saving enormous data for post processing.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |
[Commercial meshers] TGridFluent mesh with internal by prism layer and internal face for diagnostic | sponiar | OpenFOAM Meshing & Mesh Conversion | 2 | March 30, 2009 16:02 |
Sliding mesh error | Karl Kevala | FLUENT | 4 | February 21, 2001 16:52 |