|
[Sponsors] |
November 2, 2020, 05:17 |
toposet- cellSet has size 0
|
#1 |
New Member
David
Join Date: Oct 2020
Posts: 21
Rep Power: 6 |
Hi foamers
I want to include a stl file in my case so that I can use it as a porous media later on. However as soon as I run topoSet I get a cellSet with the size 0. The stl file should be ok and closed, so I don't know what I did wrong... Does anyone know what I have to change? When I run topoSet I get this output: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1806 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : v1806 Arch : "LSB;label=32;scalar=64" Exec : topoSet Date : Nov 02 2020 Time : 10:10:01 Host : "eu-login-13" PID : 12700 I/O : uncollated Case : /cluster/scratch/kaeserd/01.11/tree_in_buildings nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create polyMesh for time = 0 Reading topoSetDict Time = 0 mesh not changed. Created cellSet trees Applying source surfaceToCell Adding cells in relation to surface "constant/triSurface/trees.stl" ... Marked inside/outside using surface orientation in = 0.26 s cellSet trees now size 0 End Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name trees; type cellSet; action new; source surfaceToCell; sourceInfo { file "constant/triSurface/trees.stl"; useSurfaceOrientation true; // use closed surface inside/outside // test (ignores includeCut, // outsidePoints) outsidePoints ((-99 -99 -99)); // definition of outside includeCut false; // 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 -100; // cells within nearDistance // and near surf curvature // (set to -100 if not used) } } );
Many thanks already in advance for time and help. I hope this problem was not already discussed or if it was you could point me to he tread. Best David |
|
November 2, 2020, 07:53 |
|
#2 |
Member
Rohit George Sebastian
Join Date: May 2017
Posts: 42
Rep Power: 9 |
I think the problem here is that you are using an STL file. Doesn't OpenFOAM require meshes in it's own format?
|
|
November 2, 2020, 09:09 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
SurfaceToCell is indeed meant to be used with a STL file as a source. Here is the documentation for OpenFOAM-v2006 : https://www.openfoam.com/documentati...aceToCell.html I am not sure what is going on with fidu's error. topoSet gets the file and do the operation without any error so it seems there is no syntax error in topoSetDict. The workflow is fine too. What you can do :
Hope this helps, Yann |
|
November 2, 2020, 14:25 |
|
#4 | |
New Member
David
Join Date: Oct 2020
Posts: 21
Rep Power: 6 |
Quote:
Best fidu |
||
Tags |
cellset, cellzone, pre-proccessing, toposet, toposetdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
topoSet and splitMeshRegions | amod_kumar | OpenFOAM Pre-Processing | 0 | July 10, 2017 09:54 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
topoSet geometry than more than 1 box | Grimoli | OpenFOAM Pre-Processing | 1 | April 14, 2013 09:54 |
[ICEM] Help with fixing imported IGES model | siw | ANSYS Meshing & Geometry | 24 | August 24, 2010 12:22 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |