|November 18, 2009, 09:02||
Dimensionsproblems SLT-file and blockMesh
Join Date: Jun 2009
Posts: 38Rep Power: 9
Hi, I'm a little bit confused about this problem:
When I import a SLT-file (for example created by ProE) into paraView and additionally a blockMesh. The dimension of the STL-file is significantly greater than the blockMesh.
The size of the CAD-solid is about 40x40x40mm in ProE, the blockMesh is defined as about (0.1 0.4 0.6) and so on but converted in meter 1.
So actually it the slt-solid should be fit into the blockMesh-box but it doesnt.
To get the solid into the box I ve to increase the boxsize extrem:
convertToMeters 1; vertices ( (-50 0 -40) ( 50 0 -40) ( 50 40 -40) (-50 40 -40) (-50 0 40) ( 50 0 40) ( 50 40 40) (-50 40 40) );
Same problem occurse if i create with snappyhexmesh the new mesh of blockmesh and the stl-file.
I ve no clue.
|November 18, 2009, 09:16||
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693Rep Power: 21
I dont know what ProE does, but I use ANSA to deal with STL's and the default setting in ANSA is to use mm instead of meters.
So you can either make sure you export the stl in meters, or create your 50 m blockMesh and once
you are happy with your mesh, you do a
transformPoints -scale '(0.001 0.001 0.001)'
to transform it from mm to m.
|November 19, 2009, 04:00||
Join Date: Mar 2009
Posts: 780Rep Power: 19
There are a number of surface mesh utilities with OpenFOAM.
You can use 'surfaceCheck' to check your STL file and it also outputs the bounding box (in meters).
If you find that it is in millimeters, you can rescale it to meters with 'surfaceConvert -scale 0.001'. If you also need to move your surface about, the 'surfaceMeshConvert' utility allows rescaling (on input or output) as well as coordinate system transformations.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Pi symbol in blockMesh file||maka||OpenFOAM Native Meshers: blockMesh||15||December 18, 2010 08:45|
|BlockMesh FOAM warning||gaottino||OpenFOAM Native Meshers: blockMesh||7||July 19, 2010 14:11|
|blockMesh: block with 6 vertexes||dani||OpenFOAM||3||June 25, 2009 13:13|
|Kubuntu uses dash breaks All scripts in tutorials||platopus||OpenFOAM Bugs||8||April 15, 2008 07:52|
|Axisymmetrical mesh||Rasmus Gjesing (Gjesing)||OpenFOAM Native Meshers: blockMesh||10||April 2, 2007 14:00|