|
[Sponsors] |
[Salome] How can I read and treat .stl files of Salome? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 23, 2020, 13:51 |
How can I read and treat .stl files of Salome?
|
#1 |
New Member
david
Join Date: Apr 2020
Posts: 2
Rep Power: 0 |
When I try to convert my .stl files of Salome to .obj files, I have this error
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 7-1ff648926f77 Exec : surfaceConvert -clean Inlet1.stl Inlet1.obj Date : Apr 23 2020 Time : 18:45:55 Host : "francisc-VirtualBox" PID : 4913 I/O : uncollated Case : /home/franciscoboira/pipe nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Reading : "Inlet1.stl" --> FOAM FATAL ERROR: Cannot read "Inlet1.stl" From function bool Foam::triSurface::read(const Foam::fileName&, const Foam::word&, bool) in file triSurface/triSurface.C at line 304. FOAM exiting I don't know why. I cannot combine this kind of files neither, with $ surfaceAdd Inlet1.obj Inlet2.stl pipe.stl The same error its appeared. However, if I do paraview, I can see the geometry, but I need to do the above actions but I have the error. Thanks for your patience |
|
April 24, 2020, 04:24 |
|
#2 |
Member
Join Date: Jun 2011
Location: Germany
Posts: 59
Rep Power: 15 |
I'm putting the stl files in the constant directory and an geometry entry like
Code:
mesh1 { name "mesh1"; type triSurfaceMesh; file "./constant/mesh.stl"; regions { Inlet_1 // Named region in the STL file { name Inlet1; // User-defined patch name } // otherwise given mesh.stl_Inlet_1 |
|
Tags |
salome, snappy hex mesh |
|
|