CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

multiple embedded AMI patches?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 4, 2015, 17:41
Default multiple embedded AMI patches?
  #1
New Member
 
Aljoscha Sander
Join Date: Jul 2013
Location: Bremen, Germany
Posts: 6
Rep Power: 4
k323r is on a distinguished road
Dear FOAMers,

I've been working on dynamic meshes for quite a while now, trying to implement insect wing movement. Sucess is rather limited so far. First i tried for quite a while by using dynamicTopoFvMesh; while the library is a neat little tool, mesh quality is rather a bummer. So now i'm trying to implement the movement by embedding three AMI cylinders into each other (one for each rotational axis), though that's not really working either.

So has anyone in the community ever tried such a (probably stupid) thing? The problem is that, while all the normal patches get dragged along, the slave-patches (containing the acutal wing) stay put behind (see screenshot in the appendix, the third cylinder, rotating around the z axis is not shown).

I'd be super grateful for any input or ideas on the matter. Basically what i'm trying to accomplish is the rotation of a patch around all three axis with quite large amplitudes.

Thanks in advance,

Josch
Attached Images
File Type: jpg x_axis.jpg (58.3 KB, 10 views)
File Type: jpg y_axis.jpg (91.8 KB, 11 views)
File Type: jpg z_axis.jpg (71.5 KB, 10 views)
k323r is offline   Reply With Quote

Old   June 8, 2015, 00:00
Default
  #2
Member
 
Michael Page
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 36
Rep Power: 8
micpage18 is on a distinguished road
Hi Josch,

What you need is to have access to immersed boundary condition. Official OpenFoam doesn't support this feature actually. However, a toolkit can be used with the Extended version.

https://openfoamwiki.net/index.php/E...mersedBoundary

Keep us informed if you try it.

Good luck
__________________
Michael Page
michael.page@simu-k.com
Simu-K inc.
www.simu-k.com
micpage18 is offline   Reply With Quote

Old   June 8, 2015, 09:01
Default
  #3
New Member
 
Aljoscha Sander
Join Date: Jul 2013
Location: Bremen, Germany
Posts: 6
Rep Power: 4
k323r is on a distinguished road
Hi Michael,

thanks for your reply! i'll try it right away - at the moment i'm running into a few compilation errors, but i'll keep you posted. As to the wing motion problem: i realised, that the simplest way to model the movement is by embedding the wing model in a sphere and describe the rotation by the wings surface normal vector - so at the moment that seems to be another approach to the problem.

again, thank you for your help.

cheers,

josch
k323r is offline   Reply With Quote

Old   June 12, 2015, 06:44
Default
  #4
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Québec, QC, Canada
Posts: 221
Rep Power: 9
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi Josch,

If you're looking for an implementation for an embed AMI interface you could start from my code: Dynamic mesh within a dynamic mesh

You would have to adapt it to include a third level AMI and modify the normal vectors of the outer rotations because my rotations were all in the same plane.

-Louis
louisgag is offline   Reply With Quote

Old   June 12, 2015, 07:27
Default
  #5
New Member
 
Aljoscha Sander
Join Date: Jul 2013
Location: Bremen, Germany
Posts: 6
Rep Power: 4
k323r is on a distinguished road
Hi Louis,

neat code! just briefly went through it, looks good thanks for the hint! i'll test it, compilation worked like a charme! I assumed by 'in the same place' your rotations all had the same centre of origin?
k323r is offline   Reply With Quote

Old   June 12, 2015, 07:47
Default
  #6
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Québec, QC, Canada
Posts: 221
Rep Power: 9
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi Josch,
Glad it can be useful.
I wrote in the same plane because all my rotating zones have their rotation axis normal to the x-y plane)
I think the modifications required should not be that complicated.
Let me know about it!
-Louis
louisgag is offline   Reply With Quote

Reply

Tags
ami, dynamictopofvmesh, embedded ami, insect wing, wing flapping

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 59 February 8, 2016 20:18
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 17 October 25, 2013 03:59
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44


All times are GMT -4. The time now is 16:14.