diff --git a/utilities/Utilities/geometryPhasicFlow/stlWall/stlWall.cpp b/utilities/Utilities/geometryPhasicFlow/stlWall/stlWall.cpp index cc561f3f..d1958988 100755 --- a/utilities/Utilities/geometryPhasicFlow/stlWall/stlWall.cpp +++ b/utilities/Utilities/geometryPhasicFlow/stlWall/stlWall.cpp @@ -26,32 +26,62 @@ Licence: bool pFlow::stlWall::readSTLWall ( - const dictionary& dict + const dictionary& dict ) { - auto fileName = dict.getVal("file"); + auto fileName = dict.getVal("file"); - - fileSystem file("./stl",fileName); + real scale = dict.getValOrSet("scale", static_cast(1.0)); - stlFile stl(file); - if(!stl.read()) - { - fatalErrorInFunction << - " error in reading stl file "<< file <("transform", realx3(0)); - for(uint64 i=0; i