FSI with OpenFOAM and Code-Aster

  • Eugene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #6465 by Eugene
FSI with OpenFOAM and Code-Aster was created by Eugene
Hi everyone

I am interested in doing fluid structure interaction (FSI) with OpenFOAM and Code_Aster.
I am fine with the OpenFOAM part but new to Code_Aster.
I have a time varying pressure field from my CFD simulations that i would like to apply to my structure in Code_Aster.

My questions:
- How can I access the mesh information to get node locations and face areas etc?
- Ho can I assign a time-varying, nonuniform, distributed load to a structure in Code_Aster?

Is it, for example, possible to read in a series time files that conains a list of distributed forces/pressures for each time step?

I have searched various forums with no luck.

Some links:
www.caelinux.org/wiki/index.php/Contrib:KeesWouters/dynamicload
www.aero.polimi.it/freecase/?OpenFOAM_%2...References_and_links

Ay info would be very helpful.

Regards
E

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #6467 by CAVT
Replied by CAVT on topic Re: FSI with OpenFOAM and Code-Aster
I'm by no means expert in FSI, but instead of coupling OFoam with Code Aster, I think it will be easier for you to make the coupling inside Open Foam, as it has its own structural FEM solver besides CFD capacity. There are papers about this. I hope this info is useful for you.

Please Log in or Create an account to join the conversation.

  • Eugene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #6469 by Eugene
Replied by Eugene on topic Re: FSI with OpenFOAM and Code-Aster
Thank you for the reply.

I am aware of the structural solver in OpenFOAM but as far as I know it still a bit limited. As a last resort I may decide to go for OpenFOAM for the strucutre analysis but for the moment my supervisors would like me to stick with coupling OpenFOAM with an open source FEM code like code-aster.

So for now I am only interested in one way coupling which basically means I need to find a way to apply a non-uniform distributed load to my structure (3D beam) and the next step is to see if I can do a dynamic analysis by varying the load over time. I don't want to couple the beam deflection to the CFD angain.

Any ideas will be greatly appreciated.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago - 11 years 6 months ago #6471 by kwou
Replied by kwou on topic Re: FSI with OpenFOAM and Code-Aster
Hoi E,


Using python you can apply any distributed load to your surface/line elements of a mesh.
In eg.
www.caelinux.org/wiki/index.php/Contrib:...ters/plate/thickness
I varied the thickness of a plate depending on the position of the shell.
I have never used OF myself, so I donot know how you can extract surface loads from there.
I eg you have x,y,z position and a pressure you could apply them to a node/element in a
C-Aster mesh by a python script.

On the C-Aster site see eg:
www.code-aster.org/forum2/viewtopic.php?id=13692 and
www.code-aster.org/forum2/viewtopic.php?pid=25803
for examples on how to use Python within C-A.

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)

--
kind regards - kees
Last edit: 11 years 6 months ago by kwou.

Please Log in or Create an account to join the conversation.

  • Eugene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #6477 by Eugene
Replied by Eugene on topic Re: FSI with OpenFOAM and Code-Aster
Hi K

Everything on the OpenFOAM side is okay.
I can extract force data and end up with a list of x,y,z coordinates and forces (or pressures with areas).

Thank you for the advice and links.
Looks like python can do what I need.
I will look at the links you posted.

Here is another link that was also helpful to me so far.
"Applying nodal forces node by node"
www.code-aster.org/forum2/viewtopic.php?id=14348

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #6485 by kwou
Replied by kwou on topic Re: FSI with OpenFOAM and Code-Aster
Hoi E

Indeed, mr Bracchesimo gave an nice overview of the Python possibilities. I tried to find that link also, because I used his examples a lot.
Not being able to remember his name, we all grow old, too fast.

If you are able to apply the pressures to the surface by using Python, I still am interesting on how you managed it.
Mabye a nice contribution here (although the wiki not being editable is annoying at the least).

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)

--
kind regards - kees

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.141 seconds
Powered by Kunena Forum