phasicFlow
phasicFlow copied to clipboard
Import stl geometry by a given scale factor.
Hi,
Can we import stl geometry by a given scale factor in geometryDict?
Yes. It is a good option. Do we also need to define a transform vector to transform it if needed? For example, the dictionary can be changed in this way, and we make them optional, so, previous case setup files do not break.
body
{
type stlWall;
file body.stl;
material wallMat;
scale 0.1; // default is 1.0
// this transfers points 10 cm in positive x direction
transform (0.1 0 0 ); // default is (0 0 0)
motion rotAxis;
}
Good, we also need transform and scale
I guess we already covered all the parts. Please re-test this new part and see if actually works as expected and let me know. test all of scale, transform and scaleFirst.
Thanks, the scale, transform and scaleFirst features can use now.