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

salome, openfoam and moving mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2009, 04:32
Default salome, openfoam and moving mesh
  #1
New Member
 
Vladimir Konrad
Join Date: Sep 2009
Posts: 5
Rep Power: 16
prhlava is on a distinguished road
Hello,

(all of this is from a beginner to OpenFOAM /and/ CFD)

First, thank you for making the OpenFOAM software available, this gives people like me a chance to start with CFD.

So far I have used simpleFoam to simulate not so simple flow in 3D (for learning purposes) and it works and the results look OK. The geometry was drawn in Salome (exported) and imported to OpenFOAM.

The /real/ problem I would like to simulate is a kind of pump which involves simulating a moving mesh. But at the moment I am really stuck with this. The geometry is not quite simple but I have managed to draw all of it in Salome - it is basically a pipe (1 mesh) with a "solid block" inside (2nd mesh, this one moves and the movement would be prescribed i.e. not dependent on the solution of CFD equations, only time dependent). The topology of the problem does not change.

I know enough (of Salome) to be able to create the pipe mesh, it's boundaries + internal mesh, and the moving mesh (and it's boundaries). What I cannot grok is how to create the case (for openFOAM) with the meshes exported from salome and make one move. Also, the solid block moves within the internal mesh of the pipe (where the flow is solved), how do I model this (obviously the flow should be calculated only outside of the solid block).

I looked at the movingCone example in tutorials, but I think it does not directly apply to Salome->moving-mesh->OpenFOAM kind of thing.

Any pointers gratefully appreciated, because at the moment I cannot move forward (do not even know how to start with this kind of simulation).

I am using OpenFOAM 1.6 and salome 5.1.2.

Kind regards, Vlad

Last edited by prhlava; September 25, 2009 at 04:54. Reason: forgot version numbers
prhlava is offline   Reply With Quote

Old   September 28, 2009, 12:52
Default
  #2
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17
chbenz is on a distinguished road
hi vladimir,

i think the tutorial case movingConde should be a good start, even if you excluded it.
What role plays the second mesh?

Christof
chbenz is offline   Reply With Quote

Old   September 29, 2009, 04:13
Default
  #3
New Member
 
Vladimir Konrad
Join Date: Sep 2009
Posts: 5
Rep Power: 16
prhlava is on a distinguished road
Hello Christof,

Thank you for replying, maybe I was too quick in dismissing the movingCone case. Looks like I will have to start learning the blockMesh method of doing geometry (and do away with salome for this kind of thing). (but if anyone knows how to do this with using salome, I would still like to know)

I am trying to research/design a way of pumping liquid/air which I have not seen yet, the 2nd mesh does the pumping (well, /if/ it works).

Kind regards,

Vlad
prhlava is offline   Reply With Quote

Old   September 29, 2009, 04:23
Default
  #4
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17
chbenz is on a distinguished road
Hi,

first have a look in the user guide. this is a good way to start with OF.
For your mesh: you only have to mesh the fluid volume. if your second "mesh" is a piston, that move through the fluid domain, you dont have to mesh it.

Christof
chbenz is offline   Reply With Quote

Old   September 29, 2009, 04:30
Default
  #5
New Member
 
Vladimir Konrad
Join Date: Sep 2009
Posts: 5
Rep Power: 16
prhlava is on a distinguished road
Quote:
Originally Posted by chbenz View Post
Hi,

first have a look in the user guide. this is a good way to start with OF.
For your mesh: you only have to mesh the fluid volume. if your second "mesh" is a piston, that move through the fluid domain, you dont have to mesh it.

Christof
Cheers, this pointer (not meshing the moving geometry) is really useful.

(me, going back to user guide).

Vlad
prhlava is offline   Reply With Quote

Old   November 6, 2009, 04:26
Default
  #6
New Member
 
Markus
Join Date: Sep 2009
Posts: 11
Rep Power: 16
navier-stokes is on a distinguished road
Hi Vlad!
For a first idea on how to make a moving mesh look at this post http://www.cfd-online.com/Forums/ope...erdymfoam.html.
If you like, I can send you my little "pump".
navier-stokes is offline   Reply With Quote

Old   November 7, 2009, 10:34
Default
  #7
Member
 
Paulo Alexandre Costa Rocha
Join Date: Mar 2009
Posts: 71
Rep Power: 17
paulo is on a distinguished road
Quote:
Originally Posted by prhlava View Post
Hello Christof,

Thank you for replying, maybe I was too quick in dismissing the movingCone case. Looks like I will have to start learning the blockMesh method of doing geometry (and do away with salome for this kind of thing). (but if anyone knows how to do this with using salome, I would still like to know)

I am trying to research/design a way of pumping liquid/air which I have not seen yet, the 2nd mesh does the pumping (well, /if/ it works).

Kind regards,

Vlad
Hello Vlad,

You don't have to give up Salome. To have your mesh read into OF, export it using the unv format and use the ideasUnvToFoam (i think this is the name) application. You wil have your mesh imported in a folder named by a number.

Remember to run the application inside the case folder (you can also place the unv file there). It will look for you controlDict.

Best Regards,

Paulo Rocha
paulo is offline   Reply With Quote

Old   November 9, 2009, 08:55
Default cheers!
  #8
New Member
 
Vladimir Konrad
Join Date: Sep 2009
Posts: 5
Rep Power: 16
prhlava is on a distinguished road
Quote:
Originally Posted by navier-stokes View Post
Hi Vlad!
For a first idea on how to make a moving mesh look at this post http://www.cfd-online.com/Forums/ope...erdymfoam.html.
If you like, I can send you my little "pump".
Just downloaded the case, I am about to try it out.

Kind regards,

Vladimir
prhlava is offline   Reply With Quote

Old   November 9, 2009, 08:59
Default
  #9
New Member
 
Vladimir Konrad
Join Date: Sep 2009
Posts: 5
Rep Power: 16
prhlava is on a distinguished road
Quote:
Originally Posted by paulo View Post
Hello Vlad,

You don't have to give up Salome. To have your mesh read into OF, export it using the unv format and use the ideasUnvToFoam (i think this is the name) application. You wil have your mesh imported in a folder named by a number.

Remember to run the application inside the case folder (you can also place the unv file there). It will look for you controlDict.

Best Regards,

Paulo Rocha
Thanks for the reply, I can sort of do static mesh using salome (e.g. joint pipes and such) and simulate that in open-foam, but have/had trouble making e.g. enclosed "box" with one object moving inside it.

Kind regards,

Vladimir
prhlava 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
Moving mesh problem OpenFoam 141 kassiotis OpenFOAM Running, Solving & CFD 30 April 14, 2015 23:10
Moving mesh part 2 lr103476 OpenFOAM Running, Solving & CFD 49 December 14, 2010 06:20
information about moving mesh in openfoam sambatra OpenFOAM Running, Solving & CFD 2 March 26, 2009 11:16
Moving unstructured mesh with changing topology meaton OpenFOAM Running, Solving & CFD 6 April 27, 2008 07:56
InterFoam and moving mesh guitton OpenFOAM Running, Solving & CFD 0 February 17, 2008 11:38


All times are GMT -4. The time now is 22:07.