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

pimpleDyMFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2009, 10:34
Default pimpleDyMFoam
  #1
New Member
 
Stefan Arsovski
Join Date: Jul 2009
Location: Skopje, Macedonia
Posts: 6
Rep Power: 7
Stefan Arsovski is on a distinguished road
Hello,

I'm new openFoam user. I choose to do CFD simulations with dynamic mesh for my thesis work. I've some experience with fluent/gambit. OpenFoam left a big impression on me after the few classes with prof. Hrvoje Jasak at my university. So now I decide to use it.

I'm using the movingCone tutorial as my guide, because it is very similar. Here are my problems:

blockMeshDict - I changed the geometry and the mesh. In paraFoam it looks fine. Patch left is wall, yes? I need it to become atmosphere, how to fix it?

dynamicMeshDict - Don't understand this part “diffusivity directional ( 1 200 0 )”. Its smth with the cone distance/speed? The cone distance travel should be 40 mm, with constant speed of 0.002 m/s.

controlDict - endTime I should put here the time, that the cone is moving? (20 sec)
deltaT I calculate it for Co=1. (2.5e-05)
maxCo In the tutorial its Co=0.2. Should I put here “Co=1”, because deltaT is calculated for Co=1?

Where I can put the wall roughness or material?


Thanks,
Stefan

Last edited by Stefan Arsovski; November 6, 2009 at 10:50.
Stefan Arsovski is offline   Reply With Quote

Old   November 7, 2009, 07:11
Default
  #2
New Member
 
Markus
Join Date: Sep 2009
Posts: 11
Rep Power: 6
navier-stokes is on a distinguished road
Hi Stefan!
The movement of the boundary points is propagated into the other/interior points by diffusion. “diffusivity directional ( 1 200 0 )” defines the diffusion coefficients for the three directions (x, y, z). Try for example “diffusivity directional ( 1 1 0 )” and observe the moving mesh.

I'm not sure about the settings for deltaT end maxCo. The actual Co number depends on the meshsize and the actual speed of characteristics. If you fix deltaT you should take care of the resulting Co number: It must not exceed 1 during the whole simulation. I assume that OpenFOAM will control deltaT (when adjustTimeStep yes; in the controlDict) such that the maximum Co number will be smaller than maxCo.

Concerning your blockMeshDict: What exactly means "I need it to become atmosphere"? In the case directory you can modify boundary conditions for each patch. Just edit the approriate files 0/U 0/p and so on.
navier-stokes is offline   Reply With Quote

Old   November 7, 2009, 17:54
Default
  #3
New Member
 
Stefan Arsovski
Join Date: Jul 2009
Location: Skopje, Macedonia
Posts: 6
Rep Power: 7
Stefan Arsovski is on a distinguished road
Hi Markus

1. I just run the movingCone tutorial, with different set up in dynamicMeshDict.
-
diffusivity directional ( 1 200 0 ) => default
- diffusivity directional ( 1 1 0 ) => bad mesh
- diffusivity directional ( 200 1 0 ) => worse than (1 1 0)
- diffusivity directional ( 1 400 0) => the mash is same as (1 200 0) but the results are different
How U know the proper set up? Can U calculate the numbers, U know by experience, or it's trial and error?

2. blockMeshDict. Patch left, should be open to the atmosphere (1 bar).

3. controlDict. I'm positive that my problem is here. When run pimpleDyMFoam, Co is higher than 1. The thing is that the gap is just 0.04 mm, so there is big difference in the speed between the cells. But I calculate the deltaT, for Co=1 in the smallest cell with max speed. Don't know where is my mistake.

Maybe I ask dump questions but U'll forgive me, I'm new here

Thanks,
Stefan
Stefan Arsovski is offline   Reply With Quote

Old   November 8, 2009, 04:00
Default request for dynamic mesh help
  #4
New Member
 
Join Date: Jul 2009
Posts: 6
Rep Power: 7
sharifi.fatemeh is on a distinguished road
hi
I have to model a cavity (which upper vortex(the lid of it) oscillate vertically) with dynamic mesh modeling in fluent
i don't know how to create mesh, define moving zone in fluent and i don't know hot to model a very simple dynamic mesh problem in fluent
can any body help me?
could you send me some guide lines or some tutorials about it?
i need the tutorial that model cylinder-piston with dynamic mesh.
my email is :sharifi.fatemeh@gmail.com


please answer me
i need it very urgently

thank you very much
sharifi.fatemeh is offline   Reply With Quote

Old   November 8, 2009, 09:04
Default
  #5
New Member
 
Markus
Join Date: Sep 2009
Posts: 11
Rep Power: 6
navier-stokes is on a distinguished road
Hi!
Tomorrow I'll load up a simple case: pump with moving piston and put a link in compressibleInterDyMFoam
navier-stokes is offline   Reply With Quote

Reply

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
pimpleDyMFoam with rotating wall tikulju OpenFOAM 0 October 19, 2009 05:37
sliding mesh using pimpleDyMFoam shyam OpenFOAM Running, Solving & CFD 0 October 5, 2009 03:39
mixerFvMesh + pimpleDyMFoam shyam OpenFOAM Running, Solving & CFD 0 September 4, 2009 06:48


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