|
[Sponsors] |
April 22, 2010, 09:47 |
BC for temperature added to interFoam
|
#1 |
New Member
Dan Gadensgaard
Join Date: Apr 2010
Posts: 13
Rep Power: 16 |
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 // Dan G |
|
April 22, 2010, 11:27 |
|
#2 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 18 |
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? |
|
April 22, 2010, 16:16 |
|
#3 |
New Member
Dan Gadensgaard
Join Date: Apr 2010
Posts: 13
Rep Power: 16 |
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 |
|
Tags |
boundary condition, interfoam, temperature |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 07:36 |
How can Temperature be added into interFoam | ttdtud | OpenFOAM Running, Solving & CFD | 14 | September 7, 2013 08:32 |
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 |