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

Running problem when simulating liquid drop.(InterFoam)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 26, 2012, 22:20
Default Running problem when simulating liquid drop.(InterFoam)
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
hi Foamers:

I want to simulate the liquid drop .So I mimic the damBreak in the tutorial , grid the mesh , set the fields, but when I'm running with interFoam. the error said:

--> FOAM FATAL IO ERROR:
Unable to set reference cell for field p
Please supply either pRefCell or pRefPoint


file: /home/cfd/OpenFOAM/cfd-2.1.1/run/tutorials/multiphase/interFoam/laminar/mybreak/system/fvSolution::PIMPLE from line 54 to line 59.

From function void Foam::setRefCell
(
const volScalarField&,
const volScalarField&,
const dictionary&,
label& scalar&,
bool
)
in file cfdTools/general/findRefCell/findRefCell.C at line 125.

FOAM exiting


I have uploaded my case below. Thanks very much.
Attached Files
File Type: gz myliqdrop.tar.gz (28.1 KB, 21 views)

Last edited by sharonyue; September 27, 2012 at 01:48.
sharonyue is offline   Reply With Quote

Old   September 28, 2012, 20:58
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
I ve handled it.....

by correct the boundary condition of inlet in the PRGH.
sharonyue is offline   Reply With Quote

Old   October 7, 2012, 20:26
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
another problem arised.

I find that the fluid field vary with the mesh resolution.

when the mesh is fine and close. the liquid could not drop even. when the mesh is coarse the liquid could drop which would be close to the reality I think.

my case has been attached. anyone help me? thanks alot.

mybreak1 is the coarse mesh
mybreak2 is the fine mesh
Attached Files
File Type: gz mybreak1.tar.gz (3.2 KB, 11 views)
File Type: gz mybreak2.tar.gz (3.2 KB, 5 views)
sharonyue is offline   Reply With Quote

Old   October 10, 2012, 02:29
Default
  #4
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
no boby here? im confused.
sharonyue is offline   Reply With Quote

Old   October 10, 2012, 05:03
Default
  #5
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 6
michielm is on a distinguished road
Hi Sharon,
I took a look at your case and it seems that you have only walls (fixedValue 0 in U) and 1 inlet with a non-zero velocity. This is only possible if your liquids are compressible and if that is the case you cannot use interFoam like in the dambreak case.

Could you explain a bit more what you are trying to model exactly?!

Cheers,

Michiel
michielm is offline   Reply With Quote

Old   October 10, 2012, 11:44
Default
  #6
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by michielm View Post
Hi Sharon,
I took a look at your case and it seems that you have only walls (fixedValue 0 in U) and 1 inlet with a non-zero velocity. This is only possible if your liquids are compressible and if that is the case you cannot use interFoam like in the dambreak case.

Could you explain a bit more what you are trying to model exactly?!

Cheers,

Michiel
hi Michiel
Thank you very much.


Do you mean if I only had walls and 1 inlet with a non-zero velocity,I should change another solver? But I dont know which solver is fit for this. Do u know?


otherwise, if I turned the upwall into atomsphere can I use the interFoam?


thank you very much for your warm-hearted
sharonyue is offline   Reply With Quote

Old   October 10, 2012, 14:23
Default
  #7
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 6
michielm is on a distinguished road
1) I asked what exactly you are trying to model to find out whether you are indeed working with a compressible flow or just have a wrong BC somewhere. So if you want my advice on a different solver you will have to explain what you are trying to model first.

2) Yes, opening the upwall and turning it into atmosphere (e.g. zeroGradient velocity) would solve the problem. This will allow as many volume of air to flow out as there is liquid coming in from the inlet.

Cheers,
michielm is offline   Reply With Quote

Old   October 11, 2012, 20:51
Smile
  #8
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 676
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by michielm View Post
1) I asked what exactly you are trying to model to find out whether you are indeed working with a compressible flow or just have a wrong BC somewhere. So if you want my advice on a different solver you will have to explain what you are trying to model first.

2) Yes, opening the upwall and turning it into atmosphere (e.g. zeroGradient velocity) would solve the problem. This will allow as many volume of air to flow out as there is liquid coming in from the inlet.

Cheers,
hi Michielm,

actually I am modeling the liquid droping from a pipe no matter the liquid droping space is close or open. because I think the size of drop is smaller than the droping space.

seems like I should turn the upwall into atmosphere.

but I'm also curious about if the liquid dropped into a close space.

Thanks you very much.
sharonyue is offline   Reply With Quote

Old   June 13, 2013, 01:54
Post
  #9
New Member
 
Join Date: Apr 2013
Posts: 24
Rep Power: 4
mebinitap is on a distinguished road
Dear all,
I want to see the deformations in a liquid droplet in presence of air flow. So I used a squared domain (in blockMeshDict file) and setFieldsDict for the droplet. I stated the boundaries as atmospheric and used the freeStream BC conditions for P and U. Problem is that droplet moves away leaving the domain if I put some value to velocity. Since I want to track the shape changes I have to move along with the droplet. Can anyone please give me a hint on that? Also are the BCs correct?
mebinitap is offline   Reply With Quote

Old   June 13, 2013, 05:51
Default
  #10
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 6
michielm is on a distinguished road
Hi mebinitap,
First a quick note: please make your own thread with a question instead of hijacking the post of someone else.

I have a few questions to understand what exactly you want to model. Could you please include those in a new thread of your own:

- do you want the deformation of a static or a moving droplet? in case of a static droplet you will need something more than just the standard interFoam solver (or some trick with the BC)
- is it 2D or 3D?
- are periodic boundaries an option or do you have something non-periodic in your system?
michielm is offline   Reply With Quote

Old   June 13, 2013, 08:51
Default
  #11
New Member
 
Join Date: Apr 2013
Posts: 24
Rep Power: 4
mebinitap is on a distinguished road
I am really sorry for the inconvenience caused. I posted my querries in the new thread:

Simulating liquid droplet deformation
mebinitap 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
RSH problem for parallel running in CFX Nicola CFX 5 June 18, 2012 18:31
Problem running a parallel fluent job on local machine via mpd highhopes FLUENT 0 March 3, 2011 06:07
Problem running parallel. Hernán STAR-CCM+ 1 December 23, 2009 13:04
paraFoam running problem Aleksey_R OpenFOAM 2 November 27, 2009 19:18
Problem simulating bubble formation in microchannels iitian2005 FLUENT 0 June 3, 2009 03:03


All times are GMT -4. The time now is 08:52.