CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] mat lab script in swak4Foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2013, 08:23
Default mat lab script in swak4Foam
  #1
psk
Member
 
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12
psk is an unknown quantity at this point
Good Day Folks,

I have my flapping wing geometry with set of xyz data in csv file ie.(8 row X 9 column).By using this, I did small script in mat lab to replicate my wing.

kindly let me know how to use mat lab script in swak4Foam for creating blockMeshDict. Is its possible in swak4Foam?
__________________
Million Thanks,
David

"Small Dream is a Crime"
psk is offline   Reply With Quote

Old   August 7, 2013, 12:38
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by psk View Post
Good Day Folks,

I have my flapping wing geometry with set of xyz data in csv file ie.(8 row X 9 column).By using this, I did small script in mat lab to replicate my wing.

kindly let me know how to use mat lab script in swak4Foam for creating blockMeshDict. Is its possible in swak4Foam?
This can't be done in swak4Foam (I don't actually understand what you're trying to do, but creating blockMeshDict is nothing that is done anywhere in swak)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   August 7, 2013, 14:36
Default
  #3
psk
Member
 
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12
psk is an unknown quantity at this point
Thanks for reply gschaider,

I am trying to do flapping wing analysis in open Foam, by using camera we capture the wing motion by frame by frame and extract the xyz coordinates of wing by frame by frame. Finally I have my flapping wing geometry with set of xyz data in csv file ie.(8 row X 9 column). By using this, I did small script in mat lab to replicate my wing. Initially I am looking for only meshing (ie) moving mesh/dynamic mesh/ALE mesh or whatever is suitable for this case.

Some our Open Foam friends, tell me few suggestion & feedback -->Try to write script in python(I am new to python) by using these coordinates to create blockMeshDict, but still I can't move forward for my case. please help me for meshing.
__________________
Million Thanks,
David

"Small Dream is a Crime"
psk is offline   Reply With Quote

Old   August 7, 2013, 15:20
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by psk View Post
Thanks for reply gschaider,

I am trying to do flapping wing analysis in open Foam, by using camera we capture the wing motion by frame by frame and extract the xyz coordinates of wing by frame by frame. Finally I have my flapping wing geometry with set of xyz data in csv file ie.(8 row X 9 column). By using this, I did small script in mat lab to replicate my wing. Initially I am looking for only meshing (ie) moving mesh/dynamic mesh/ALE mesh or whatever is suitable for this case.

Some our Open Foam friends, tell me few suggestion & feedback -->Try to write script in python(I am new to python) by using these coordinates to create blockMeshDict, but still I can't move forward for my case. please help me for meshing.
In the spirit of http://openfoamwiki.net/index.php/Ho..._Message_Board I'd propose that you start a new thread with this question. It definitely has got nothing to do with the topic of the thread and I'm still not sure what you're trying to do (which solver you're using, why you want to use blockMesh, etc)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   August 18, 2013, 10:34
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick tie-in of threads on this topic by David:
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 08:45
[swak4Foam] and twoPhaseEulerFoam mnikku OpenFOAM Community Contributions 1 February 19, 2016 06:21
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 09:38
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 14:00
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 10:36


All times are GMT -4. The time now is 00:51.