
[Sponsors] 
May 3, 2005, 07:47 
Hello,
I am trying to simul

#1 
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 9 
Hello,
I am trying to simulate the entrance of a polymer into a cavity (mould). I have defined an inlet and outlet. I am using interFoam to calculate the gamma function. For now, I am considering two Newtonian fluids (polymer / air). My problem is that I don't know how to specify the BC at the inlet for the gamma variable. I would like to define a constant gamma value at the inlet (= 1.0, considering 1 polymer and 0 air). It is a constant source of gamma = 1.0. If I only specify the value at the inlet patch, the polymer is only dispersed in the cavity and this is not what I want. Can anyone give me suggestions on how to overcome this problem? Also if anyone is using OpenFOAM for similiar purposes, I would like to know. I can contribute with experimental validation and data. 

May 3, 2005, 07:54 
What do you mean "the polymer

#2 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13 
What do you mean "the polymer is only dispersed in the cavity"?
Gamma=1 at the inlet is normally a sufficient BC for the 2phase system. You have to be careful to keep a head of polymer at the inlet though. If the inlet runs "dry" (i.e. there is no polymer adjacent to the gamma=1.0 path) the solution may diverge. 

May 3, 2005, 07:54 
Why do you think it is a probl

#3 
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 14 
Why do you think it is a problem to specify gamma = 1.0 at the inlet? In principle that should be fine and the inlet flow you also specify should transport gamma into the domain.


May 3, 2005, 08:12 
Sorry,
I think I did not e

#4 
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 9 
Sorry,
I think I did not explain myself correctly.  Eugene: "What do you mean "the polymer is only dispersed in the cavity"?" What I mean is that I specify a value gamma = 1.0 at the inlet and I specify an inlet velocity (also of an outlet of course). The value of the rest of the cavity (mould) is set to 0.0 at time = 0 seconds since it is full with air. The solver runs and the results present a gamma between, for example, 0 and 0.25 for time = 1 second. I suppose 0.25 means that it has a 25% of polymer and 75% of air at that location. But this is not what I want. I want to simulate a constant entrance of polymer into the cavity. So gamma has to be constant and equal to 1.0 at the inlet at all times. Then I would track the interface (or flow front). I am using interFoam. Henry: How do I specify a transport gamma into the domain? This might be what I need to do. Thanks in advance. 

May 3, 2005, 08:19 
Specify a fixedValue BC for ga

#5 
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 14 
Specify a fixedValue BC for gamma at the inlet with a value of 1.


May 3, 2005, 08:40 
So after 1 second, the cells a

#6 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13 
So after 1 second, the cells adjacent to the inlet have a gamma value of 0.25 and the rest of the domain has a value of 0? (correct me if I am wrong)
This simply means you haven't let enough time pass for the polymer to fill the cells next to the inlet. Remember this is not a donoracceptor solver, there will always be a few cells with values between 0 and 1 at the surface of the polymer. You can track the front by looking at the isosurface of gamma=0.5. You mention an outlet boundary, I assume you have specified zeroGradient for gamma and U at this location? 

May 3, 2005, 10:01 
Hi, Billy,
Is this to simul

#7 
Senior Member
PeiYing Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 10 
Hi, Billy,
Is this to simulate injection molding process? If it is, I will be very interested in knowing how you solve this using OpenFOAM. From time to time, we have to look at injection molding problems, and I do not know how to apply OpenFOAM to this type of problem, ie, viscosity of polymer is temperature dependent and it must be very time consuming to solve this problem using the full NS equation with interfaces. Anyway, based on my experience with interFOAM, you have to initializ a couple of layers of cells near the entrace to gamma = 1. If you initialize the whole domain to gamma = 0, velocity = 0 and gamma = 1 "only" at the inlet, you generally run into problems. Pei 

May 4, 2005, 10:10 
"You mention an outlet boundar

#8 
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 9 
"You mention an outlet boundary, I assume you have specified zeroGradient for gamma and U at this location?"
Yes for U, for the gamma I am not sure. I will check my model. "Is this to simulate injection molding process?" Yes. I am trying with interFoam at the moment but I think I will have to create a new class (mouldFoam) to tackle the problem. 

September 30, 2006, 09:08 
hi i'm interested in using thi

#9 
New Member
sathya
Join Date: Mar 2009
Posts: 4
Rep Power: 9 
hi i'm interested in using this for injection molding.
please let me know about latest development and how i can help 

September 30, 2006, 10:43 
I think we have more people in

#10 
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 9 
I think we have more people interested in this application. Maybe we can start a group and develop a new Foam class to deal with this case.


June 18, 2007, 11:38 
I read that people are interes

#11 
New Member
Gunnar Vikberg
Join Date: Mar 2009
Location: WI, USA
Posts: 3
Rep Power: 9 
I read that people are interested in starting a moldFOAM class to develop OpenFOAM so that it can do injection molding calculations. I'm extremely interested in contributing to this project. Can anyone let me know if it have been started, and what the current status of the project is? Thank you in advance!


June 22, 2007, 05:56 
I started a moldFoam class. Ba

#12 
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 9 
I started a moldFoam class. Basically it is based on interFoam and I just added temperature transport to it. However, now I think it is better to reformulate it based on multiphaseInterFoam so it can simulate coinjection.
moldFoam.tgz 

January 15, 2008, 12:10 
Hi Billy,
I have downloade

#13 
Member
Francesco Boschetto
Join Date: Mar 2009
Location: Italy
Posts: 56
Rep Power: 9 
Hi Billy,
I have downloaded your moldFoam class, can you please post also a simple test case? I didn't understand how to treat the outflow BC in a case of polymer in a cavity, how to impose it? zeroGradient for U and gamma? How can I choose the outflow surface if the cavity is closed? (Am I missing something about it?) Sorry for the number of questions, I'm very interested in this application. Thank you in advance Francesco 

March 12, 2008, 11:08 
Hi Billy,
I've tried to com

#14 
Member
Francesco Boschetto
Join Date: Mar 2009
Location: Italy
Posts: 56
Rep Power: 9 
Hi Billy,
I've tried to compile your solver but I've got some errors, mainly due to the movingmesh part of the solver. Do you have built a version of the solver which works on OF 1.4.1? Are you still working on this subject? It would be interesting to hear, basing on your experience, if you think OF could be an adequate tool for molding and why. I'd like to hear also someone else opinion. Regards Francesco 

December 29, 2008, 07:57 
Hi Billy,
I'm interested in i

#15 
Member
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 9 
Hi Billy,
I'm interested in injection molding calculations too.I want to complile your moldFoam class which is based on interFoam.I have installed OpenFOAM 1.5.How can I add the moldFoam class to it? Thanks for your help. Best wishes. Liu Jitao 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
entrance length  snowshovel  Main CFD Forum  1  April 15, 2008 08:46 
Pressure Drop at entrance of a rotorstator.  Resnick  Main CFD Forum  0  November 20, 2007 15:50 
entrance of a flat plate  mc  Main CFD Forum  0  April 24, 2007 22:38 
Boundary layer thickness in pipe entrance  Bo Jensen  Main CFD Forum  2  April 6, 2007 22:53 
entrance and exit loss  Purushotham  FLUENT  1  August 10, 2006 05:54 