CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   mat lab script in swak4Foam Help Plz (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/122368-mat-lab-script-swak4foam-help-plz.html)

psk August 7, 2013 07:23

mat lab script in swak4Foam Help Plz
 
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?

gschaider August 7, 2013 11:38

Quote:

Originally Posted by psk (Post 444338)
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)

psk August 7, 2013 13:36

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.

gschaider August 7, 2013 14:20

Quote:

Originally Posted by psk (Post 444425)
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)

wyldckat August 18, 2013 09:34

Quick tie-in of threads on this topic by David:


All times are GMT -4. The time now is 15:32.