Personal tools
You are here: Home Forum Use Blades and turbine

Blades and turbine

Up to Use

Blades and turbine

Posted by stephane gad at September 27. 2012

Hi all,

I want to draw a turbine (blades + tree) using salomé,

I draw the first blade (with this coordinates):

(1,8.0,6); (2.1; 8.4, 0.4); (6.1, 7.9, 0.9);
(6.1, 6.5, 1.4); (2.1, 6, 2.2); (1, 6.4, 2)

Then I choise the "multi-rotation" (4 rotations)

THen I draw the "tree of turbine"

But when I get the "Fuse" operation of the blades "multi-rotation" with the "tree of turbine = cylinder" I get this error message :

BOOLEAN OPERATION WILL NOT BE PERFORMED, BECAUSE SHAPE IS NOT VALID

and don't understund this error, Do you have an idea please

THansk

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

Hi Stephane

Could you provide your Study or script to be able to evaluate your shapes.

St.Michael

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

I can't attached the ".hdf" file I get this message "Attachement is too large"!

 

 

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

Then dump your study in a python script

St.Michael

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Here is the cylinder ".brep" file

Attachments

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

And the is the blades 

 

Thanks

Attachments

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Thanks Micheal for this information

Here is the study in ".py" file

Attachments

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

Hey Stephane

I fixed your script. You did a common mistake of most beginners, you created a planar face on a non-planar wire.

St.Michael

Attachments

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Hi Michael,

 

Thanks for your help,Could you explain what you changed in the initial draw to make it work the "fuse". Because I want to drow other turbine with new coordinates.


How did you handle and Where.. You're right I biginners with salome :)


Thanks

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

When you create a face from edges, there is a check box "Try to create a planar face". In your case it should be switched off. In python, the last argument of geompy.MakeFaceWires() corresponds to this check box.

In your script:

Face_1 = geompy.MakeFaceWires([Line_1, Line_2, Line_3, Line_4, Line_5, Line_6], 1)

but it should be

Face_1 = geompy.MakeFaceWires([Line_1, Line_2, Line_3, Line_4, Line_5, Line_6], 0)

St.Michael

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Euuh yes thank you very much,

 I'm sorry, I will to ask other question, can I change this "1" by "0" on GUI mode? if yes, in wich "menu" please?

 

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

It's good I've found,  "try to create .." Thanks a lotttttttt :)



 

Previously stephane gad wrote:

Euuh yes thank you very much,

 I'm sorry, I will to ask other question, can I change this "1" by "0" on GUI mode? if yes, in wich "menu" please?

 

 

Re: Blades and turbine

Posted by Peter Rademacher at September 27. 2012

Hi, I'm a new one, and I read that thread very carefully.

I have a question about generation of blade. In that case stephane used similar faces to generate.

Does there other posibilities exits to generate the blade (radial impeller blade)?

In my case I have only cartesian coordinates (x,y), 21 points, so I can generate a curve/spline.

Now I can generate an extrusion of the spline, I get a "blade face" (the height of extrusion is currently unimportant).

 

How can I generate a thickness of that blade face and in result a solid blade now?

 

Thanks

radionline

 

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

Hi

As far as I see you get a "blade face" by extruding your blade profile (curve) and you want to get a solid instead of a face. You can first create a face from you blade profile, which should be closed, and then extrude this face into a solid.

St.Michael

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Hi ,

With my little knowledge on Salome, I confirm what was said Michael

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

Hello Michael,

In this exampl, I want to "fuse" multi-rotations" with "cylinder1" but I have this error:

Boolean operation aborted : non valid result

 

could you see this file please?

Thanks

Attachments

Re: Blades and turbine

Posted by Saint Michael at September 27. 2012

First, you again try to create planar faces :)

Second, try to deep the blades into the cylinder, because tangent interferences are difficult for boolean operations. See an image

St.Michael

Attachments

Re: Blades and turbine

Posted by stephane gad at September 27. 2012

normally I unchecked "try to create a planar face"! (it did not work then :))

I'll try again and I'll let you know


Thanks

Re: Blades and turbine

Posted by Peter Rademacher at September 27. 2012

Hi Michael,

thanks for your quick reply. Did Salome have a way to import points out of a data sheet like P1 (x1;y1;z1), P2 ...Pn?

Like *.txt or *.dat or similar...

Many Thanks

radionline

Re: Blades and turbine

Posted by Saint Michael at September 28. 2012

Hi Peter

There is no such a possibility but it easy to read point coordinates in a python script and add them to mesh.

St.Michael

 

Re: Blades and turbine

Posted by Peter Rademacher at September 28. 2012

Hi Michael,

I don't used python up to now.

Where could I find some information about?

Peter

Re: Blades and turbine

Posted by Saint Michael at October 01. 2012

You can do something in SALOME and then dump a Study into a Python script (menu File / Dump Study ) to see how to get the same thing in Python (switch off "Save GUI state" in order not to get too long script).

There are a lot of sample Python scripts provided with SALOME.

See also

http://docs.salome-platform.org/salome_6_5_0/gui/GEOM/geompy_page.html
http://docs.salome-platform.org/salome_6_5_0/gui/SMESH/smeshpy_interface_page.html

http://www.python.org/doc/

Powered by Ploneboard
Document Actions