|
[Sponsors] |
July 12, 2013, 06:08 |
|
#21 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Have you sorted out your .stl file generation problem? I think you will need to get that out of the way before you proceed further. I have a python program which generates (x,y,z) data and then uses it to create an .stl file. I use it to make cylinders for shafts and cylindrical domains but you could rewrite it to put in your wing geometry and get a solid representation of it. Let me know if you want it.
Optionally, if you have access to Rhinoceros, you can put your set of points into it and then fit surfaces through the data which will also do the trick (I've done it a few times for ship hulls so I'm pretty sure it would work for your geometry too). Unfortunately I have no experience with flapping geometries or FSI so that's the only help I can offer I'm afraid. |
|
July 12, 2013, 15:26 |
|
#22 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Thanks artur for your kind information and coming forward, Exactly correct what you mentioned.
currently I am learning python software, I try to write script file for this, kindly send me your python program. I have no experience on Rhinoceros, anyhow i try to learn it. Many Thanks, david |
|
July 16, 2013, 14:20 |
|
#23 |
Senior Member
|
Hi David,
what software do you want to use for preprocessing? From your post I assume that you generate a STL-file from your video's with the help of matlab. But which software will generate the mesh? I can tell you that engrid should be capable to write out the File-structure needed for FSI (as Oliver Gloth implemeted "conjugate heat transfer" https://github.com/enGits/engrid/wik...heat-exchanger) but engrid has few documentation so far. I loaded the flapping console example into engrid (solid and fluid seperately) |
|
July 16, 2013, 17:48 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@David: If you're comfortable with Python and want to generate the geometry parametrically and/or with points, I suggest you give PythonOCC a try: http://www.pythonocc.org/ AFAIK, you can then export the resulting geometry to the format best suited to the mesh generator you choose. Best regards, Bruno
__________________
|
|
July 17, 2013, 03:58 |
|
#25 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
@ Good Day elvis, I have xyz coordinates of each frame,[Totally 10 frame]
I am not looking to create STL format, it doesn't make any sense because wing become rigid, for my case its flapping flexible wing. In case wing is rigid what ever you are telling is exactly correct, and I am not interest on that, because its a quasi steady analysis. You have to create STL format for each frame then you have to do analysis. Totally 10 STL geometry. First frame Image: (Totally six points) If I import these xyz coordinates I get my geometry, but wing become rigid if you write UDF for this its ok ( some people did in fluent for writing UDF their rigid wing: see this link: [ https://www.youtube.com/watch?v=s_gtukpyHXk ]. In this you tube video, I think they are using sinusoidal equation to flap the wing up & down, In that wing there is no flexibility its simply move down and change their orientation to 90 deg then move up. Kindly see this you tube link for difference between Flapping Flexible wing vs Flapping Rigid wing. Flapping Flexible wing -----> [ http://www.youtube.com/watch?v=-xU8p5gPfn8 ] Flapping Rigid wing---------> [ https://www.youtube.com/watch?v=s_gtukpyHXk ] & [ http://www.youtube.com/watch?v=t8m5ApeRbV8] please compare these two video, you can get better idea.I fabricate my wing with Mylar sheet its looking like a paper with negligible thickness, its has some flexible deformation. According to my knowldege its only way to write script file by using the xyz coordinates and see the mesh with similar to this video --->[ https://www.youtube.com/watch?v=s_gtukpyHXk ]. I plot my data in matlab, I go through engrid and Blender its really good, It seems I have to write script for this. Is there any possibility without writing script file to import the coordinates to do this work ? I hope you understand my problem.kindly secure and help me. Million Thanks, DAvid @GoodDay wyldckat, I hope PythonOCC to help my problem. I have very less experience in python. That why I plot my data in mat lab to incorporate with open foam and also see my flapping flexible wing in you tube ----> [ http://www.youtube.com/watch?v=VehX7Q1p6jY ] 1) Is there is any possibility to incorporate the mat lab script to Open Foam for meshing? 2) Is there is any possible to convert mat lab script to Python script then to go for openfoam /any other software for doing mesh? 3) Is there any possibility without writing script file to import the coordinates to this work ? 4) Other than 1 2,& 3 this there is any better idea according to you? PythonOCC seems to be helpful I think so. Kindly see the you tube link above for difference between Flapping Flexible wing vs Flapping Rigid wing I install PythonOCC, currently I am learning python, kindly secure and help me, what I have to do by using the xyz coordinates? how I can get moving mesh with similar to Flapping Rigid wing? Million Thanks, DAvid Last edited by psk; July 23, 2013 at 04:18. |
|
July 18, 2013, 23:18 |
|
#26 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day folks,
Kindly see my above post, its quite interesting & challenging task. Anybody have an idea and suggestion about my problem you are welcome.I am looking for guidance to travel in right path, before I start my problem. Million Thanks, David |
|
July 21, 2013, 16:10 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi David,
It took me a while to read through the whole thread and to have a look into the tutorials that people mentioned. Therefore, I'll sum up the conclusions I've gathered so far:
If you run the example case (it only moves the mesh) and see it in ParaView, you should be able to understand what I mean by this first step. In addition, if you look at the "constant/polyMesh/blockMeshDict" file, you should be able to see the 4 corner points of the box that you can change for the corresponding mesh side to one part of your wing. Best regards, Bruno
__________________
|
|
July 23, 2013, 07:51 |
|
#28 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day and many many thanks for kind reply and brief information wyldckat.
I hope "point 3.1" idea is more suitable for this problem. I already did small program in Matlab but i don't know how to generate blockMeshDict with Matlab. I go through mat lab & Google & other post in OF, but i didn't get any idea how to generate, kindly let me how to generate? In addition I am editing "constant/polyMesh/blockMeshDict" also.
__________________
Million Thanks, David "Small Dream is a Crime" |
|
July 23, 2013, 09:14 |
|
#29 |
Senior Member
|
Dear David,
I do not know how well this works (Matlab->Blender) http://blenderartists.org/forum/show...ort-in-Blender from Blender I have in mind that you can inport into a) Engrid => OF-mesh (my favorite way) keep in mind https://github.com/enGits/engrid/wik...heat-exchanger that is close to a "FSI OF-mesh" or b) at least use "SwiftBlock" http://openfoamwiki.net/index.php/Contrib/SwiftBlock a Blender->Blockmesh script or c) http://openfoamwiki.net/index.php/Contrib/SwiftSnap http://openfoam-extend.sourceforge.n...tadt/OFW7.html Blender 3D as a GUI for OpenFOAM's native mesh generation tools; K.-J. Nogenmyr unfortunately no slides from that presentation |
|
July 24, 2013, 15:40 |
|
#30 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
@Good Day Elvis,
Thanks for reply and kind information,currently i am learning blender, Engrid and python.I did small program in Matlab and I consider only 3 points for simplicity. kindly see the attached document. And also I make matlab to python script file(might be some mistake), then i import python script to blender through text editor once click the Run Script, it shows some error like python script fail, look in the console for now , i didn't understand what it mean I am new to blender, I hope from blender ---> to make blockMeshDict file is possible.Kindly help me how to make blockMeshDict file, I am struggling. Million Thanks, david @Good Day wyldckat, I go through gradually opening wall (thanks for uploading) & cylinder tutorial its really nice. And I did two types of edit at blockMeshDict file in cylinder, (I consider only 3 points for simplicity) please see attached csv file & edited blockMeshDictone & blockMeshDictsecond file, and I hope, I have to make some changes in that file, Kindly help me to make blockMeshDict file and also see my matlab & python script for your kind persual. Apart from this I am following your suggestion step by step, I am editing the blockMeshDict file(gradually opening wall case) I will upload very soon for your feedback
__________________
Million Thanks, David "Small Dream is a Crime" Last edited by psk; August 12, 2013 at 03:48. Reason: Forgot to mention -consider only 3 points |
|
August 18, 2013, 09:02 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@David: I've been very busy the past few weeks and didn't manage to even login here on the forum. And from what I've seen, you've been very busy trying to figure out how to solve the problem at hand. After pruning through all of your posts since the one above, here is a collection of the related threads that survived the pruning and that I'll try to answer to some of them in the next few hours:
Bruno
__________________
|
|
August 19, 2013, 05:29 |
|
#32 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day Bruno,
I hope you fine, Many Thanks for coming.
__________________
Million Thanks, David "Small Dream is a Crime" |
|
September 24, 2014, 16:09 |
|
#33 |
Member
Join Date: Jun 2011
Posts: 80
Rep Power: 15 |
Hi there!!
Could anyone share this paper? Lentink, D & Gerritsma, MI (2003). Influence of Airfoil Shape on Performance in Insect Flight (AIAA-2003-3447). In 33rd AIAA Fluid Dynamics Conference and Exhibit, Orlando, Florida (pp. 1-17). AIAA. Thank you very much! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM stress analysis results are showing 8-10% error with analytical solution. | Sargam05 | OpenFOAM | 3 | May 5, 2017 12:39 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
use of openfoam in attic analysis | kirankarki | OpenFOAM | 1 | September 12, 2010 22:02 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |