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

InterFoam problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2005, 20:22
Default interFoam has the ability to
  #1
Xiaofeng Liu (Liu)
Guest
 
Posts: n/a
interFoam has the ability to deal with moving boundary. I modified it to let one boundary move in a constant velocity(say 1cm/s). But the gamma equation seems don't like it. The gamma value at some point near the moving boundary becomes greater than one (like 1.6). That doesn't make any sense.

When I look at the code of interFoam, I didn't find any correction to gamma after the mesh is deformed. The change of control volume should affect the gamma values field. Maybe I am wrong.

Any suggestions?
  Reply With Quote

Old   March 5, 2005, 08:03
Default You need to be careful with t
  #2
Henry Weller (Henry)
Guest
 
Posts: n/a
You need to be careful with the velocity boundary type to get the correct behaviour from moving-mesh cases. gamma -> >1 indicates you are geting a continuity error. What BC on velocity are you using? If you are not already doing so try movingWallVelocity.

The differential operator in OpenFOAM include the effect of moving meshes so standard transport equations do not need any special correction terms.
  Reply With Quote

Old   March 9, 2005, 12:35
Default I used movingWallVelocity. But
  #3
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
I used movingWallVelocity. But still got problem.
The gamma value is great than one.

I copied the movingInkJetFvMesh class and modified it to let one boundary to have non-uniform deformation.

You can get the source file and test case from:
https://netfiles.uiuc.edu/liu19/OpenFoam/

The document said the interFoam has the ability to deal with moving mesh. Is there any example case to show that? I think the movingInkJetFvMesh and movingPinFvMesh must be used somewhere.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   March 9, 2005, 12:49
Default The deformation velocity on th
  #4
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
The deformation velocity on the bottom is sinusodal. The amplitude is 0.01m/s(That means the maximum deformation velocity on the bottom).
What even worse is that when I increase the amplitude to 0.05m/s, the motion solver said the solution is sigularity. But the interFoam is still running and the mesh seems still valid.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   August 27, 2005, 17:23
Default I have a problem running inter
  #5
New Member
 
Ales Alajbegovic
Join Date: Mar 2009
Posts: 3
Rep Power: 17
alajbegovic is on a distinguished road
I have a problem running interFoam and rasInterFoam after installing OpenFoam 1.2. When I run interFoam I get

Liquid phase volume fraction = 0 Min(gamma) = 0 Max(gamma) = 0

It appears that the liquid phase is initialized to zero everywhere. I am using default installation and no changes to the tutorial cases. All other cases I tried appear to be working well.
alajbegovic is offline   Reply With Quote

Old   August 27, 2005, 17:37
Default Hi Ales, Yes, you need to i
  #6
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Hi Ales,

Yes, you need to initialize the fields. Before starting interFoam, please run setFields on the case. In is controlled by the setFieldsDict in system.

Good luck,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 27, 2005, 19:32
Default Thanks Hrvoje, it worked.
  #7
New Member
 
Ales Alajbegovic
Join Date: Mar 2009
Posts: 3
Rep Power: 17
alajbegovic is on a distinguished road
Thanks Hrvoje, it worked.
alajbegovic is offline   Reply With Quote

Old   October 26, 2005, 22:33
Default I try to compile the moveTest.
  #8
kim
New Member
 
Hyung min Kim
Join Date: Mar 2009
Location: Suwon-shi, Kyonggi-Do, Korea
Posts: 14
Rep Power: 17
kim is on a distinguished road
I try to compile the moveTest.C file in OpenFoam1.2.
moveTest.C is nothing but movingPinFvMesh.C.

But I got an error of motionSolver.

Please tell me how to fix the error or
what the error mean.

moveTest/moveTest.H:56: error: cannot declare field 'Foam::moveTest::ms_' to be of abstract type 'Foam::motionSolver'
/home/pius/OpenFOAM/OpenFOAM-1.2/src/dynamicMesh/lnInclude/motionSolver.H:60: note: because the following virtual functions are pure within 'Foam::motionSolver':

pius
kim is offline   Reply With Quote

Old   October 26, 2005, 22:38
Default Hi, I cannot find the moveT
  #9
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Hi,

I cannot find the moveTest.H in the standard release - I suspect you got it from one of the packs.

In short, the motionSolver is now a virtual base class and there are 2 choices: laplace and pseudo-solid. Please have a look at the icoTopoFoam example to see how to modify the code.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
InterFoam floooo OpenFOAM Running, Solving & CFD 0 November 3, 2008 12:00
Problem with the pressure field using interFoam zoune OpenFOAM Running, Solving & CFD 20 February 4, 2008 19:42
Problem with InterFoam in_flu_ence OpenFOAM Running, Solving & CFD 4 October 26, 2007 09:39
InterFoam problem running parallel vatant OpenFOAM Running, Solving & CFD 0 April 28, 2006 20:22


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