CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

BC for temperature added to interFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2010, 09:47
Exclamation BC for temperature added to interFoam
  #1
New Member
 
Dan Gadensgaard
Join Date: Apr 2010
Posts: 13
Rep Power: 6
dgadensg is on a distinguished road
Hi all.

I have, almost succesfully, implemented the temperature equation in the interFoam solver for simulationg the filling stage of injection moulding.

My problem is that the solver crashes when the mold is almost filled. as shown on the picture below:



The end patches left and right are defined as zeroGradient for both velocity U, temperature T, and volumefraction alpha. The pressure p is defined as fixedvalue 0.

The error message is shown below:
Code:
Courant Number mean: 0.00623793 max: 0.495492
deltaT = 9.80392e-05
Time = 0.6

MULES: Solving for alpha1

Opnået 0.962465/98 pct. fyldning.

DILUPBiCG:  Solving for T, Initial residual = 0.00029924, Final residual = 2.10118e-08, No Iterations 1
DICPCG:  Solving for p, Initial residual = 2.94435e-05, Final residual = 8.68614e-08, No Iterations 56
time step continuity errors : sum local = 1.39854e-09, global = -1.18444e-12, cumulative = -0.00169153
ExecutionTime = 709.3 s  ClockTime = 721 s

End

#0  Foam::error::printStack(Foam::Ostream&) in "/home/dang/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::sigSegv::sigSegvHandler(int) in "/home/dang/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#2  ?? in "/lib/libc.so.6"
#3  Foam::IOobject::~IOobject() in "/home/dang/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#4  Foam::regIOobject::~regIOobject() in "/home/dang/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#5  Foam::twoPhaseMixture::~twoPhaseMixture() in "/home/dang/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/interTempFoam"
#6  main in "/home/dang/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/interTempFoam"
#7  __libc_start_main in "/lib/libc.so.6"
#8  _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116
Segmentation fault
Hope someone can help me with an answer.

// Dan G
dgadensg is offline   Reply With Quote

Old   April 22, 2010, 11:27
Default
  #2
Senior Member
 
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 8
herbert is on a distinguished road
Hi Dan,

I'm a little bit confused about your error massage, because the error seems to happen after the simulation is finished (just because there is displayed "End" in front of the error message). Or did you add some code under this command?
herbert is offline   Reply With Quote

Old   April 22, 2010, 16:16
Default
  #3
New Member
 
Dan Gadensgaard
Join Date: Apr 2010
Posts: 13
Rep Power: 6
dgadensg is on a distinguished road
Hi herbert.

I do not know why it prints out "end", because the simulation is programmed to stop as soon as the mold is 98 percent filled.

I have tried to run the same case with the standard interFoam solver, and it works fine.

the problem is also occuring for other cases where as soon as the polymer phase reaches an outlet, the solver stops.

// Dan
dgadensg is offline   Reply With Quote

Reply

Tags
boundary condition, interfoam, temperature

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
How can Temperature be added into interFoam ttdtud OpenFOAM Running, Solving & CFD 14 September 7, 2013 08:32
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 8 July 31, 2013 03:29
Moving from simpleFoam to interFoam with alpha = 0 kjetil OpenFOAM Running, Solving & CFD 1 November 8, 2009 21:04
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58
Question on InterFoam moving mesh capabilities ziv OpenFOAM Running, Solving & CFD 0 April 23, 2008 10:11


All times are GMT -4. The time now is 23:18.