CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Error: topoSet – create patch from .stl – searchableSurfaceToFaceZone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2020, 00:38
Default Error: topoSet – create patch from .stl – searchableSurfaceToFaceZone
  #1
New Member
 
Carl Reilly
Join Date: Aug 2010
Posts: 25
Rep Power: 15
carl_r is on a distinguished road
Error: topoSet – create patch from .stl – searchableSurfaceToFaceZone

Hi,
I’m relatively new to OF and am using OF foundation V7.

I have am trying to create a multi-region mesh for a chtMultiRegionFoam model.
I have:
  • created a blockMech background mesh
  • used snappyHexMesh to mesh my .stl files
  • splitMeshRegions
  • run topoSet to try and create the patches onto which I will specify a boundary condition.

When I run topoSet I get the following error:

Code:
Reading topoSetDict

Time = 0
    mesh not changed.
Created faceZoneSet SD_CC
    Applying source searchableSurfaceToFaceZone


--> FOAM FATAL ERROR:
Cannot find triSurfaceMesh starting from "/home/carl/OpenFOAM/carl-7/run/LPDCtest/geomTest1/constant/triSurface/geomTest1"

    From function static Foam::fileName Foam::triSurfaceMesh::checkFile(const Foam::regIOobject&, const Foam::dictionary&, bool)
    in file searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C at line 124.

FOAM exiting

The contents of topoSet file are:
Code:
actions
(
    // Select patch based on surface defined by .stl file. Orientation from normals on surface
    {
        name    SD_CC;
        type    faceZoneSet;
        action  new;
        source  searchableSurfaceToFaceZone;
        sourceInfo
        {
             surface triSurfaceMesh
            // name "SD_CC.stl";
             name "/home/carl/OpenFOAM/carl-7/run/LPDCtest/geomTest1/constant/triSurface/SD_CC.stl";
        }
    }

);
I'm stuck trying to resolve this error

I've tried defining the name variable as the full path, file name only, in quotations, out of quotations. The .stl is accessible.

Looking at the error I see that it is looking for a triSurfaceMesh, not a file, and it is "starting" from a directory that does not exist. I'm not sure why the model directory (geomTest1) is specified as the final directory (is this a bug?).

I am also not certain that my methodology is correct. Imagine I have 2 cubes with face to face contact, defined by .stl files. I previously made a simple model with heat transfer on the patch between the two cubes.

In this model I want to have the same heat transfer between the two, but also a heat source on a patch on a face of cube1. This patch is irregular shaped and so needs to be formed by and .stl file not another tool available in topoSet or setSet. This is a training exercise for me, my final geometry will be more complex, hence forming the cubes with stl files too.

Currently I mesh the cubes using sHM, then in topoSet specify the stl of the region for the heat source. Cube 1 has the edges for the region within the geometry so that the feature is captured in the sHM meshing. Is this correct or do I somehow need to define the region in the sHM process?

Any help would be appreciated
carl_r is offline   Reply With Quote

Old   November 18, 2022, 17:06
Default
  #2
New Member
 
Shuji Chang
Join Date: Apr 2022
Posts: 4
Rep Power: 4
shuji_type97 is on a distinguished road
try <name SD_CC.stl>
no quotation marks and path
shuji_type97 is offline   Reply With Quote

Reply

Tags
stl, toposet


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
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 12:23
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 08:02.